/* Modal scroll lock */
body.vpanel-modal-open {
    overflow: hidden !important;
    overflow-y: hidden !important;
}

/* CSS Custom Properties for Theme Colors */
:root {
    --primary-color: #0738a7;
    --primary-color-50: #e6edf9;
    --primary-color-100: #ccdcf3;
    --primary-color-200: #99b8e7;
    --primary-color-300: #6695db;
    --primary-color-400: #3471cf;
    --primary-color-500: #0738a7;
    --primary-color-600: #062d86;
    --primary-color-700: #052264;
    --primary-color-800: #031643;
    --primary-color-900: #020b21;
}

/* Dark mode - Parlak canlı mavi renk (eski maviye yakın) */
.dark {
    --primary-color: #3b9bf5;
    --primary-color-50: #020b21;
    --primary-color-100: #031643;
    --primary-color-200: #052264;
    --primary-color-300: #062d86;
    --primary-color-400: #0738a7;
    --primary-color-500: #3b9bf5;
    --primary-color-600: #5aadff;
    --primary-color-700: #7fbfff;
    --primary-color-800: #a8d4ff;
    --primary-color-900: #d6ebff;
}

/* Global Scroll Fix - Ensure scroll is always available */
html {
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: auto !important;
    scroll-padding-top: 0;
}

body {
    min-height: 100vh;
    min-height: 100%;
    /* body scroll-container DEĞİL — tek scroll container html (overflow-y:scroll). Çift-container
       belirsizliği "scroll kilitlenmesi/jiggle" jankına yol açıyordu; visible ile giderildi. */
    overflow-y: visible;
    position: relative;
    scroll-behavior: auto !important;
    /* Sticky footer'ı Tailwind Play CDN'den (async) bağımsız garanti et:
       CDN geç yüklenince 'flex flex-col' gecikip footer içerik altına düşüyor,
       body min-height:100vh yüzünden footer altında büyük gri boşluk kalıyordu. */
    display: flex;
    flex-direction: column;
}

/* Footer'ı her zaman en dibe sabitle (flex-col body'de son çocuk).
   flex-1 içerik sarmalayıcı CDN sınıfına bağımlı olmadan da çalışır. */
body > footer {
    margin-top: auto;
}

/* Prevent scroll when modal/sidebar is open */
body.overflow-hidden {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* Prevent scroll flash on initial load */
body:not(.loaded) {
    overflow: hidden;
}

body.loaded {
    overflow-y: visible;
}

/* Remove number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Login form: input-group (floating label) */
.auth-form .input-group {
    position: relative;
    margin: 10px 0;
}
.auth-form .input-group-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--input-group-accent, #0738a7);
    pointer-events: none;
    z-index: 1;
    transition: color 0.5s;
}
.dark .auth-form .input-group-icon {
    color: #fff;
}
.auth-form .input-group label {
    position: absolute;
    top: 50%;
    left: 42px;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--input-group-accent, #0738a7);
    padding: 0 5px;
    pointer-events: none;
    transition: transform 0.3s ease-out;
    background: transparent;
}
.auth-form .input-group input {
    width: 100%;
    height: 48px;
    font-size: 16px;
    color: #1f2937;
    padding: 0 15px 0 42px;
    background: transparent;
    border: 1.2px solid var(--input-group-accent, #0738a7);
    outline: none;
    border-radius: 5px;
}
.auth-form .input-group input:focus {
    border-color: var(--input-group-accent, #0738a7);
}
.auth-form .input-group input:focus ~ label,
.auth-form .input-group input:valid ~ label,
.auth-form .input-group input.has-value ~ label {
    font-size: 14px;
    background: var(--input-group-label-bg, #ffffff);
    color: var(--input-group-accent, #0738a7);
    transform: translateY(calc(-50% - 24px));
}
.auth-form .input-group input:-webkit-autofill ~ label {
    font-size: 14px;
    background: var(--input-group-label-bg, #ffffff);
    color: var(--input-group-accent, #0738a7);
    transform: translateY(calc(-50% - 24px));
}
.dark .auth-form .input-group label {
    color: #fff !important;
}
.dark .auth-form label {
    color: #fff !important;
}
.dark .auth-form .input-group input {
    color: #fff;
    border: 1.2px solid #374151; /* gray-700 */
    background: transparent;
}
.dark .auth-form .input-group input:hover {
    border-color: #3b9bf5; /* primary */
}
.dark .auth-form .input-group input:focus {
    border-color: #3b9bf5; /* primary */
}
.dark .auth-form .input-group input:focus ~ label,
.dark .auth-form .input-group input:valid ~ label,
.dark .auth-form .input-group input.has-value ~ label {
    background: rgb(28 30 33);
    color: #fff;
    transform: translateY(calc(-50% - 24px));
}
.dark .auth-form .input-group input:-webkit-autofill ~ label {
    font-size: 14px;
    background: rgb(28 30 33);
    color: #fff;
    transform: translateY(calc(-50% - 24px));
}
.dark .auth-form .input-group input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.dark .auth-form .input-group input:-webkit-autofill,
.dark .auth-form .input-group input:-webkit-autofill:hover,
.dark .auth-form .input-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px rgb(15 18 20) inset;
    caret-color: #fff;
}
.auth-form .input-group-password input {
    padding-right: 70px;
}
.auth-form .input-group-password.has-generate input {
    padding-right: 120px;
}
.auth-form .input-group-generate {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 14px;
    color: var(--input-group-accent, #0738a7);
    cursor: pointer;
    padding: 4px 6px;
    z-index: 2;
    transition: opacity 0.2s;
}
.dark .auth-form .input-group-generate {
    color: #fff;
}
.auth-form .input-group-generate:hover {
    opacity: 0.75;
}
.auth-form .input-group-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 14px;
    color: var(--input-group-accent, #0738a7);
    cursor: pointer;
    padding: 4px 8px;
    z-index: 2;
}
.dark .auth-form .input-group-toggle {
    color: #fff;
}
.auth-form .input-group-toggle:hover {
    opacity: 0.9;
}

/* Auth form: daha az dikey boşluk */
.auth-form .form-grid {
    margin-bottom: 12px !important;
    row-gap: 12px !important;
}
.auth-form .input-group.mb-4,
.auth-form .input-group.mb-6 {
    margin-bottom: 10px !important;
}

/* Auth form: phone row (input-group next to prefix) - full width, yan yana */
.auth-form .auth-phone-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px 0;
    box-sizing: border-box;
}
.auth-form .auth-phone-wrap > .flex,
.auth-form .auth-phone-wrap > .auth-phone-row {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    min-width: 0;
    box-sizing: border-box;
}
/* Telefon satırında input-group margin sıfır - +90 ile hiza ve tam genişlik için */
.auth-form .auth-phone-wrap .input-group-phone {
    margin: 0;
    flex: 1 1 0%;
    min-width: 0;
    width: 0; /* flex grow ile genişlesin */
    box-sizing: border-box;
}
.auth-form .auth-phone-prefix {
    height: 48px;
    min-height: 48px;
    padding: 0 12px 0 14px;
    display: flex;
    align-items: center;
    border: 1.2px solid var(--input-group-accent, #0738a7);
    border-right: none;
    border-radius: 5px 0 0 5px;
    background: #f3f4f6;
    color: var(--input-group-accent, #0738a7);
    font-size: 15px;
}
.dark .auth-form .auth-phone-prefix {
    border-color: #374151;
    background: #374151;
    color: rgba(255, 255, 255, 0.9);
}
.auth-form .auth-phone-wrap:focus-within .auth-phone-prefix {
    border-color: var(--input-group-accent, #0738a7);
}
.dark .auth-form .auth-phone-wrap:focus-within .auth-phone-prefix {
    border-color: #3b9bf5;
}
.auth-form .input-group-phone,
.auth-form .input-group-phone input {
    border-radius: 0 5px 5px 0;
}
.auth-form .input-group-phone input {
    border-left: none;
}
.dark .auth-form .input-group-phone input {
    border-left-width: 0;
}

/* Font Weight Improvements for Better Readability */
.text-xs, .text-sm, .text-base, p {
    font-weight: 500 !important;
}

/* Dark Mode Primary Color Override - Parlak canlı mavi */
.dark .text-primary { color: #3b9bf5 !important; }
/*.dark .bg-primary { background-color: #1B1E21 !important; } */
.dark .border-primary { border-color: #3b9bf5 !important; }
.dark .hover\:text-primary:hover { color: #3b9bf5 !important; }
.dark .hover\:bg-primary:hover { background-color: #2A2D30 !important; }
.dark .hover\:border-primary:hover { border-color: #3b9bf5 !important; }

.dark .bg-primary-600 { background-color: #5aadff !important; }
.dark .hover\:bg-primary-600:hover { background-color: #5aadff !important; }
.dark .from-primary { --tw-gradient-from: #3b9bf5 !important; }
.dark .to-primary-600 { --tw-gradient-to: #5aadff !important; }
.dark .hover\:from-primary-600:hover { --tw-gradient-from: #5aadff !important; }
.dark .hover\:to-primary-700:hover { --tw-gradient-to: #7fbfff !important; }

.dark .ring-primary { --tw-ring-color: #3b9bf5 !important; }
.dark .focus\:ring-primary:focus { --tw-ring-color: #3b9bf5 !important; }
.dark .focus\:border-primary:focus { border-color: #3b9bf5 !important; }

/* Primary opacity variants for dark mode */
.dark .bg-primary\/5 { background-color: rgba(59, 155, 245, 0.05) !important; }
.dark .bg-primary\/10 { background-color: rgba(59, 155, 245, 0.1) !important; }
.dark .bg-primary\/20 { background-color: rgba(59, 155, 245, 0.2) !important; }
.dark .border-primary\/20 { border-color: rgba(59, 155, 245, 0.2) !important; }
.dark .border-primary\/30 { border-color: rgba(59, 155, 245, 0.3) !important; }
.dark .border-t-primary\/90 { border-top-color: rgba(59, 155, 245, 0.9) !important; }
.dark .border-t-primary\/70 { border-top-color: rgba(59, 155, 245, 0.7) !important; }

/* Dark mode için primary-700, primary-800 gibi tonları da override et */
.dark .bg-primary-700 { background-color: #7fbfff !important; }
.dark .bg-primary-800 { background-color: #a8d4ff !important; }
.dark .text-primary-600 { color: #5aadff !important; }
.dark .text-primary-700 { color: #7fbfff !important; }
.dark .hover\:bg-primary-700:hover { background-color: #7fbfff !important; }
.dark .hover\:bg-primary-800:hover { background-color: #a8d4ff !important; }

/* Dark mode için group-hover primary renkleri */
.dark .group:hover .group-hover\:text-primary { color: #3b9bf5 !important; }
.dark .group\/item:hover .group-hover\/item\:text-primary { color: #3b9bf5 !important; }

/* Dark mode için blue renklerini daha uyumlu tonlara ayarla */
.dark .bg-blue-50 { background-color: rgba(59, 155, 245, 0.08) !important; }
.dark .bg-blue-100 { background-color: rgba(59, 155, 245, 0.12) !important; }
.dark .hover\:bg-blue-100:hover { background-color: rgba(59, 155, 245, 0.16) !important; }
.dark .bg-blue-900\/10 { background-color: rgba(59, 155, 245, 0.06) !important; }
.dark .bg-blue-900\/20 { background-color: rgba(59, 155, 245, 0.1) !important; }
.dark .bg-blue-900\/30 { background-color: rgba(59, 155, 245, 0.13) !important; }
.dark .hover\:bg-blue-900\/50:hover { background-color: rgba(59, 155, 245, 0.18) !important; }
.dark .bg-blue-50\/50 { background-color: rgba(59, 155, 245, 0.05) !important; }

.dark .text-blue-400 { color: #60a5fa !important; }
.dark .text-blue-500 { color: #3b9bf5 !important; }
.dark .text-blue-600 { color: #3b9bf5 !important; }
.dark .text-blue-700 { color: #60a5fa !important; }

.dark .border-blue-100 { border-color: rgba(59, 155, 245, 0.15) !important; }
.dark .border-blue-200 { border-color: rgba(59, 155, 245, 0.2) !important; }
.dark .border-blue-800 { border-color: rgba(59, 155, 245, 0.18) !important; }
.dark .border-blue-800\/30 { border-color: rgba(59, 155, 245, 0.12) !important; }
.dark .border-blue-800\/50 { border-color: rgba(59, 155, 245, 0.15) !important; }

/* FontAwesome 7 Pro: font-family/weight FA'nın kendi CSS değişkenleri ile yönetiliyor — override etme.
   Sadece kullanılan brands rengini düzeltmek için font-weight'ı doğru tut. */
.fab, i.fab {
    font-weight: 400 !important;
}

.far, i.far {
    font-weight: 400 !important;
}

/* Font Awesome Duotone Icons - Beautiful Two-Tone Colors */
.fad {
    --fa-primary-color: #0738a7;
    --fa-secondary-color: #062d86;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.4;
}

/* Duotone with text color classes */
.fad.text-primary,
.fad.text-primary-500 {
    --fa-primary-color: #0738a7;
    --fa-secondary-color: #062d86;
}

.fad.text-blue-500 {
    --fa-primary-color: #3b82f6;
    --fa-secondary-color: #2563eb;
}

.fad.text-green-500 {
    --fa-primary-color: #10b981;
    --fa-secondary-color: #059669;
}

.fad.text-orange-500 {
    --fa-primary-color: #f97316;
    --fa-secondary-color: #ea580c;
}

.fad.text-red-500,
.fad.text-red-600 {
    --fa-primary-color: #ef4444;
    --fa-secondary-color: #dc2626;
}

.fad.text-yellow-500 {
    --fa-primary-color: #eab308;
    --fa-secondary-color: #ca8a04;
}

.fad.text-gray-700 {
    --fa-primary-color: rgb(55, 65, 81);
    --fa-secondary-color: rgb(75, 85, 99);
    --fa-secondary-opacity: 0.3;
}

.fad.text-gray-600,
.fad.text-gray-400 {
    --fa-primary-color: #4b5563;
    --fa-secondary-color: #6b7280;
    --fa-secondary-opacity: 0.3;
}

.fad.text-white {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: #f3f4f6;
    --fa-secondary-opacity: 0.5;
}

/* Dark mode duotone adjustments */
.dark .fad {
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.5;
}

.dark .fad.text-gray-600,
.dark .fad.text-gray-400 {
    --fa-primary-color: #d1d5db;
    --fa-secondary-color: #9ca3af;
    --fa-secondary-opacity: 0.4;
}

/* ------------------------------------------------------------------ */
/* Dark mode arka plan koyu tonu standardizasyonu                     */
/* Tüm bg-gray-800 ve bg-gray-800/50 varyantlarını #0F1214'e çek      */
/* ------------------------------------------------------------------ */
:root {
    --dark-black-900: #0F1214;
}

/* Tailwind utility override: dark:bg-gray-800 */
.dark .bg-gray-800,
.dark .hover\:bg-gray-800:hover {
    background-color: var(--dark-black-900) !important;
}

/* Tailwind utility override: dark:bg-gray-800/50 */
.dark .bg-gray-800\/50,
.dark\:bg-gray-800\/50:is(.dark *) {
    background-color: rgba(15, 18, 20, 0.5) !important; /* #0F1214 @ 0.5 */
}

/* Group hover support for duotone icons in dropdown menus */
.group:hover .fad.text-gray-700,
.group:hover .fad.text-gray-600,
.group:hover .fad.text-gray-400 {
    --fa-primary-color: #0738a7 !important;
    --fa-secondary-color: #062d86 !important;
}

/* Dark mode group hover */
.dark .group:hover .fad.text-gray-700,
.dark .group:hover .fad.text-gray-600,
.dark .group:hover .fad.text-gray-400 {
    --fa-primary-color: #3b9bf5 !important;
    --fa-secondary-color: #5aadff !important;
}

.dark .fad.text-gray-700 {
    --fa-primary-color: #d1d5db;
    --fa-secondary-color: #9ca3af;
    --fa-secondary-opacity: 0.4;
}

/* Enhanced Toast Notification System - Top Center */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999; /* modal/overlay'lerin (z-[9999]) ÜSTÜNDE — toast'lar her zaman en önde */
    pointer-events: none;
    width: 100%;
    max-width: 420px;
    padding: 0 16px;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 12px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    transform: translateY(-100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast.removing {
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.toast-dark {
    background: rgba(33, 33, 33, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-success {
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.toast-error {
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.toast-warning {
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.toast-info {
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.toast-content {
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    position: relative;
}

.toast-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.toast-icon.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.toast-text {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.3;
}

.toast-message {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.toast-dark .toast-title {
    color: #f9fafb;
}

.toast-dark .toast-message {
    color: #d1d5db;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 12px;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #374151;
}

.toast-dark .toast-close {
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

.toast-dark .toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #f9fafb;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 12px 12px;
    transition: width 0.1s linear;
}

.toast-progress.success {
    background: linear-gradient(90deg, #10b981, #059669);
}

.toast-progress.error {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.toast-progress.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.toast-progress.info {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.toast-icon-animate {
    animation: toastIconScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-icon-animate i {
    animation: checkmarkDraw 0.8s ease-in-out;
}

@keyframes toastIconScale {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    25% {
        opacity: 0.3;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.6);
    }
    75% {
        opacity: 0.8;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Success check animation - drawing effect */
.toast-icon.success i.fa-check {
    animation: successCheckDraw 0.6s ease-in-out;
}

@keyframes successCheckDraw {
    0% {
        opacity: 0;
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
    25% {
        opacity: 1;
        clip-path: polygon(0% 0%, 20% 0%, 20% 100%, 0% 100%);
    }
    50% {
        clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
    }
    75% {
        clip-path: polygon(0% 0%, 80% 0%, 80% 100%, 0% 100%);
    }
    100% {
        opacity: 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

/* Error X animation - drawing effect */
.toast-icon.error i.fa-times {
    animation: errorXDraw 0.5s ease-in-out;
}

@keyframes errorXDraw {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.7) rotate(45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Warning exclamation animation */
.toast-icon.warning i.fa-exclamation {
    animation: warningPulse 0.6s ease-in-out;
}

@keyframes warningPulse {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Info icon animation */
.toast-icon.info i.fa-info {
    animation: infoSlide 0.5s ease-out;
}

@keyframes infoSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .toast-container {
        padding: 0 12px;
        max-width: calc(100% - 24px);
    }
    
    .toast-content {
        padding: 14px 16px;
    }
    
    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}



  /* Timeline styles */
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 24px;
            top: 60px;
            width: 2px;
            height: calc(100% - 60px);
            background: linear-gradient(to bottom, #e5e7eb, transparent);
        }
        
        .dark .timeline-item::before {
            background: linear-gradient(to bottom, #374151, transparent);
        }
        
        .timeline-item:last-child::before {
            display: none;
        }

  /* Transfer adımları zaman çizelgesi — ticket timeline ile aynı: alta doğru şeffaflaşan (fade) ince çizgi */
        .transfer-step::before {
            content: '';
            position: absolute;
            left: 19px;                 /* w-10 (40px) dairenin merkezi */
            top: 48px;                  /* dairenin hemen altından başla */
            width: 2px;
            height: calc(100% - 40px);
            background: linear-gradient(to bottom, #e5e7eb, transparent);
        }
        .dark .transfer-step::before {
            background: linear-gradient(to bottom, #374151, transparent);
        }
        .transfer-step[data-status="completed"]::before {
            background: linear-gradient(to bottom, #86efac, transparent);   /* tamamlanan yol: soluk yeşil */
        }
        .dark .transfer-step[data-status="completed"]::before {
            background: linear-gradient(to bottom, #15803d, transparent);
        }
        .transfer-step:last-child::before {
            display: none;
        }

/* Preload spinner (Kaydet ve Kullan, Sipariş Oluştur) */
.domain-check-spinner {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: domain-check-spin 0.6s linear infinite;
    opacity: 0.9;
    vertical-align: middle;
}
@keyframes domain-check-spin {
    to { transform: rotate(360deg); }
}

/* Buton spinner - FA bağımsız */
.btn-loading-spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2.5px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: domain-check-spin 0.6s linear infinite;
    vertical-align: middle;
}

/* Notification dropdown scroll — scrollbar gizli */
.notif-scroll::-webkit-scrollbar {
    width: 0px;
}
.notif-scroll {
    scrollbar-width: none;
}

/* Spotlight indirimsiz (çizili) fiyat — frontend ile birebir */
.line-through-diagonal {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: rgb(156 163 175);
}
.line-through-diagonal::before {
    content: '';
    position: absolute;
    left: -12px; right: -12px;
    top: 50%;
    height: 2px;
    background: rgba(225,29,42,.55);
    transform: rotate(7deg);
}
