html,
body::-webkit-scrollbar {
    -ms-overflow-style: none;
    /* Internet Explorer için kaydırma çubuğunu gizle */
    scrollbar-width: none;
}

@keyframes opacity-animation {
    0% {
        opacity: 0
    }
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: .8
    }

    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3)
    }

    to {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0
    }

}

.pulse:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #f9e9a2;
    border-radius: 100%;
    opacity: .5;
    transform: translate(-50%, -50%) scale(3);
    animation: pulse-animation 3s infinite;
}

.pulse {
    position: relative;
    display: inline-block;
    vertical-align: 1px;
    width: 8px;
    height: 8px;
    margin: 0 6px;
    background: #ffdd40;
    color: transparent;
    border-radius: 100%;
    flex: 0 0 auto;
    animation: opacity-animation 1s linear;

    &.red {
        background: #e60000;
    }

    &.orange {
        background: #ff9900;
    }

    &.green {
        background: #00e600;
    }
}

/* Varsayılan stilleri sıfırlayalım */
select {
    appearance: none;
    -webkit-appearance: none;
    /* Safari ve iOS */
    -moz-appearance: none;
    /* Firefox */
    background-color: transparent;
    background-image: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color, #d1d5db);
    /* Varsayılan border */
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-color, #111827);
    outline: none;
    cursor: pointer;
}

/* Koyu Tema */
.dark select {
    border-color: #4b5563;
    /* Dark mode için border */
    color: #f9fafb;
    /* Text rengi */
    background-color: #1f2937;
    /* Dark mode arkaplan */
}

/* Hover ve Focus */
select:hover,
select:focus {
    border-color: var(--primary-color, #3b82f6);
    /* Primary renge uygun border */
    box-shadow: 0 0 0 2px var(--primary-color-light, rgba(59, 130, 246, 0.5));
}

select {
    background-color: var(--tw-bg-opacity);
    color: var(--tw-text-opacity);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0.375rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: display 0.3s ease;
}

.loading-overlay.hidden {
    display: none;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Light Theme Scrollbar */
html {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #cbd5e1 #f1f5f9;
    /* Track and thumb colors */
}

html::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html::-webkit-scrollbar-track {
    background: #f1f5f9;
    /* Light theme track color */
    border-radius: 8px;
}

html::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Light theme thumb color */
    border-radius: 8px;
    border: 2px solid #f1f5f9;
    /* Padding around thumb */
}

html:hover::-webkit-scrollbar-thumb {
    background: #94a3b8;
    /* Darker on hover */
}

/* Dark Theme Scrollbar */
.dark {
    scrollbar-color: #475569 #1e293b;
    /* Track and thumb colors */
}

.dark::-webkit-scrollbar-track {
    background: #1e293b;
    /* Dark theme track color */
    border-radius: 8px;
}

.dark::-webkit-scrollbar-thumb {
    background: #475569;
    /* Dark theme thumb color */
    border-radius: 8px;
    border: 2px solid #1e293b;
    /* Padding around thumb */
}

.dark:hover::-webkit-scrollbar-thumb {
    background: #64748b;
    /* Lighter on hover */
}

#sortable-header th {
    cursor: grab;
    user-select: none;
}

#sortable-header th.dragging {
    background-color: #e2e8f0;
}

.multiple-select-box {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.multiple-select-toggle {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.multiple-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: 200px;
    padding: 10px;
}

.multiple-select-options.hidden {
    display: none;
}

.multiple-select-options label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}

.multiple-select-options input[type="checkbox"] {
    margin-right: 5px;
}

.options-container {
    max-height: 250px;
    overflow-y: auto;
}

.dragging {
    opacity: 0.5;
}

.drag-over {
    background-color: #f3f4f6;
    border: 2px dashed #3b82f6;
}

@keyframes notification-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.notification-pulse {
    animation: notification-pulse 2s infinite;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.step {
    flex: none !important;
    padding: 0 !important;
}