/* ============================================================
   Arslan Ticaret Finans — Neon Mor → Mavi/Siyan Degrade Tema
   Logo: #a855f7 → #3b82f6 → #06b6d4
   ============================================================ */

:root {
    --primary: #a855f7;
    --primary-dim: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-primary-hover: linear-gradient(135deg, #9333ea 0%, #2563eb 50%, #0891b2 100%);
    --gradient-primary-active: linear-gradient(135deg, #7c3aed 0%, #1d4ed8 50%, #0e7490 100%);
    --gradient-primary-soft: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(59,130,246,0.1), rgba(6,182,212,0.08));
    --glow-purple: rgba(168, 85, 247, 0.5);
    --glow-blue: rgba(59, 130, 246, 0.4);
    --glow-cyan: rgba(6, 182, 212, 0.3);
    --neon-golge: 0 0 15px rgba(168, 85, 247, 0.4), 0 0 35px rgba(59, 130, 246, 0.25);
    --card-glow: 0 0 20px rgba(168, 85, 247, 0.2), 0 0 40px rgba(59, 130, 246, 0.12);
    --snr-radius: 1rem;
}

/* Bootstrap değişkenleri: her bileşen zeminini buradan alır */
[data-bs-theme="dark"] {
    --bs-body-bg: #06070a;
    --bs-body-color: #f1f5f9;
    --bs-emphasis-color: #ffffff;
    --bs-secondary-bg: #0b0d14;
    --bs-secondary-color: #c7d2fe;
    --bs-tertiary-bg: #0a0c12;
    --bs-tertiary-color: #a5b4fc;
    --bs-border-color: #1e1f2e;
    --bs-border-color-translucent: rgba(168, 85, 247, 0.2);
    --bs-heading-color: #ffffff;
    --bs-link-color: var(--primary-dim);
    --bs-link-hover-color: var(--primary-cyan);
}

body {
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 70%),
        #06070a !important;
    color: #f1f5f9;
    display: flex;
    flex-direction: column;
}
body > main { flex: 1 0 auto; }

.modal-backdrop {
    z-index: 1050 !important;
}
.modal {
    z-index: 1055 !important;
}
#page-loader {
    z-index: 9999 !important;
}

a { color: var(--primary-dim); }
a:hover { color: var(--primary-cyan); }

/* Footer her zaman en altta - RUSH DEVELOPMENT RAINBOW KORUNMALI */
.app-footer {
    flex-shrink: 0;
    padding: 1.1rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(168, 85, 247, 0.18);
    background: #050308;
    color: #9d92b8 !important;
}

/* ============================================================
   KARTLAR - Mor/Mavi degrade üst çizgi + neon glow
   ============================================================ */
.card {
    --bs-card-bg: #0b0d14;
    --bs-card-cap-bg: #0a0c12;
    --bs-card-color: #f1f5f9;
    border: 1px solid #1e1f2e;
    border-radius: var(--snr-radius);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    position: relative;
    overflow: hidden;
}
/* Üst kenarlık: Mor → Mavi → Siyan degrade */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-top-left-radius: var(--snr-radius);
    border-top-right-radius: var(--snr-radius);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 20px rgba(59, 130, 246, 0.3);
    pointer-events: none;
}
.card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: var(--card-glow);
    transform: translateY(-2px);
}
.ozet-kart { transition: transform .16s ease, box-shadow .16s ease, border-color .2s ease; }
.ozet-kart:hover {
    box-shadow: var(--neon-golge);
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.5);
}
.card-header,
.card-header.bg-white {
    background: #0a0c12 !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #1e1f2e;
    border-radius: var(--snr-radius) var(--snr-radius) 0 0 !important;
    font-weight: 600;
}
.border-start-danger { border-left: 4px solid #ef4444 !important; }

/* ============================================================
   TABLOLAR
   ============================================================ */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: #f1f5f9;
    --bs-table-border-color: #1e1f2e;
    --bs-table-hover-bg: var(--gradient-primary-soft);
    --bs-table-hover-color: #fff;
}
.table-light,
.table > thead.table-light > tr > th {
    --bs-table-bg: #0a0c12;
    background: #0a0c12;
    color: #c7d2fe;
    border-color: #1e1f2e;
}
.table > :not(caption) > * > * { padding: .7rem .9rem; }

/* ============================================================
   MODALLAR - Mor/Mavi neon glow
   ============================================================ */
.modal-content {
    --bs-modal-bg: #0a0c12;
    background: #0a0c12;
    color: #f1f5f9;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: var(--neon-golge);
}
.modal-header, .modal-footer { border-color: #1e1f2e; }
.btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* Modal z-index fix - ensure modal is above page loader */
.modal {
    z-index: 1055 !important;
}
.modal-backdrop {
    z-index: 1050 !important;
}
.modal.show .modal-dialog {
    transform: none;
}

/* ============================================================
   FORMLAR - Mor/Mavi focus glow
   ============================================================ */
.form-control, .form-select, textarea.form-control {
    background: #0a0c12;
    border-color: #1e1f2e;
    color: #f1f5f9;
}
.form-control::placeholder { color: #7d7396; }
.form-control:focus, .form-select:focus {
    background: #0d0f17;
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .25), 0 0 15px rgba(168, 85, 247, .2);
}
.input-group-text {
    background: #0d0f17;
    border-color: #1e1f2e;
    color: #a5b4fc;
}
.form-check-input { background-color: #0a0c12; border-color: #1e1f2e; }
.form-check-input:checked { background-color: var(--primary-blue); border-color: var(--primary-blue); }
.form-text { color: #9d92b8; }

.alert-light {
    background: #0a0c12;
    color: #f1f5f9;
    border-color: #1e1f2e !important;
}

/* ============================================================
   DROPDOWN - Mor/Mavi glow
   ============================================================ */
.dropdown-menu {
    --bs-dropdown-bg: #0a0c12;
    --bs-dropdown-color: #f1f5f9;
    --bs-dropdown-link-color: #f1f5f9;
    --bs-dropdown-link-hover-bg: var(--gradient-primary-soft);
    --bs-dropdown-link-hover-color: #fff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.1);
}
.dropdown-divider { border-color: #1e1f2e; }

.kategori-secim {
    gap: 0.5rem;
}
.kategori-secim .btn {
    min-width: 10rem;
}
@media (max-width: 575.98px) {
    .kategori-secim {
        flex-direction: column;
    }
    .kategori-secim .btn {
        width: 100%;
    }
}

/* ============================================================
   BUTONLAR — Mor→Mavi degrade primary
   ============================================================ */
.btn-primary {
    --bs-btn-bg: var(--gradient-primary);
    --bs-btn-border-color: transparent;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--gradient-primary-hover);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--gradient-primary-active);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover {
    box-shadow: var(--neon-golge);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    --bs-btn-bg: #1e1f2e;
    --bs-btn-border-color: rgba(168, 85, 247, 0.3);
    --bs-btn-color: #c7d2fe;
    --bs-btn-hover-bg: rgba(168, 85, 247, 0.2);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    font-weight: 600;
}
.btn-secondary:hover { box-shadow: var(--neon-golge); }

.btn-success {
    --bs-btn-bg: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    --bs-btn-border-color: transparent;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}
.btn-success:hover { 
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(6, 182, 212, 0.2);
    transform: translateY(-1px);
}

/* Çerçeveli butonlar */
.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--gradient-primary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--primary-blue);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-color: #fff;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}
.btn-outline-primary:hover {
    box-shadow: var(--neon-golge);
    transform: translateY(-1px);
}
.btn-outline-secondary {
    --bs-btn-color: #c7d2fe;
    --bs-btn-border-color: rgba(168, 85, 247, 0.35);
    --bs-btn-hover-bg: var(--gradient-primary-soft);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: rgba(168, 85, 247, 0.25);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-active-color: #fff;
    font-weight: 600;
}
.btn-outline-danger {
    --bs-btn-color: #f87171;
    --bs-btn-border-color: rgba(248, 113, 113, .55);
    --bs-btn-hover-bg: #ef4444;
    --bs-btn-hover-border-color: #ef4444;
    --bs-btn-hover-color: #ffffff;
}
.btn-outline-success {
    --bs-btn-color: #34d399;
    --bs-btn-border-color: rgba(52, 211, 153, .55);
    --bs-btn-hover-bg: linear-gradient(135deg, #059669, #0d9488);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-color: #fff;
}
.btn-danger {
    --bs-btn-bg: #dc2626;
    --bs-btn-border-color: #dc2626;
    --bs-btn-hover-bg: #ef4444;
    --bs-btn-hover-border-color: #ef4444;
}
.btn-check:checked + .btn {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* ============================================================
   METİN / ROZET
   ============================================================ */
.text-muted { color: #9d92b8 !important; }
hr { border-color: #1e1f2e; opacity: 1; }
.text-success { color: #34d399 !important; text-shadow: 0 0 12px rgba(52, 211, 153, .35); }
.text-danger { color: #f87171 !important; text-shadow: 0 0 12px rgba(248, 113, 113, .35); }
.text-primary { color: var(--primary-dim) !important; }
.badge { font-weight: 600; }
.badge.bg-success { background: #059669 !important; color: #fff; box-shadow: 0 0 10px rgba(16, 185, 129, .45); }
.badge.bg-danger { background: #dc2626 !important; color: #fff; box-shadow: 0 0 10px rgba(239, 68, 68, .45); }
.badge.bg-primary { background: var(--gradient-primary) !important; color: #fff; }
.bg-danger-subtle { background-color: rgba(239, 68, 68, .16) !important; }
.bg-success-subtle { background-color: rgba(34, 197, 94, .16) !important; }
.bg-primary-subtle { background: var(--gradient-primary-soft) !important; }
.badge.bg-light { background: #fff !important; color: #000 !important; }
.bg-white { background-color: #0a0c12 !important; }
.bg-light { background-color: #0b0d14 !important; }

.musteri-no {
    background: var(--gradient-primary-soft);
    color: var(--primary-dim);
    border: 1px solid rgba(168, 85, 247, .35);
    font-variant-numeric: tabular-nums;
}
.logo-onizleme { background: rgba(255,255,255,0.03); border-radius: .45rem; padding: .5rem; }

/* ============================================================
   NAVBAR — siyah + mor/mavi neon glow
   ============================================================ */
.app-navbar {
    background: #050308;
    border-bottom: 1px solid rgba(168, 85, 247, .35);
    box-shadow: 0 4px 24px rgba(124, 58, 237, .25), 0 0 40px rgba(168, 85, 247, 0.1);
}

/* Logo */
.site-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent;
    border-radius: .35rem;
    padding: 4px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2), 0 0 30px rgba(59, 130, 246, 0.1);
}
.marka-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--neon-golge);
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { box-shadow: var(--neon-golge); }
    50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.7), 0 0 50px rgba(59, 130, 246, 0.5); }
}

/* Marka yazısı: gradient effect (rainbow sadece ayarlarda açılır) */
.navbar-brand .marka-yazi {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700;
}

/* Kullanıcı etiketi ve footer yazımcısı: RAINBOW KORUNMALI */
.app-navbar .kullanici-etiket,
.app-footer .footer-yapimci {
    display: inline-block;
    background-image: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899);
    background-repeat: no-repeat;
    background-size: 200% auto;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700;
    animation: rainbow-move 6s linear infinite;
}

@keyframes rainbow-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Nav Hap (Menü Butonları) */
.nav-hap {
    gap: .25rem;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 2rem;
    padding: .25rem;
}
.nav-hap .nav-link {
    color: rgba(241, 245, 249, 0.85);
    border-radius: 2rem;
    padding: .45rem 1.05rem;
    transition: all .18s ease;
    display: flex;
    align-items: center;
    gap: .45rem;
    line-height: 1;
}
.nav-hap .nav-link i { font-size: 1rem; }
.nav-hap .nav-link:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.15);
}
/* Aktif menü: Mor→Mavi degrade + neon glow */
.nav-hap .nav-link.active {
    color: #fff;
    font-weight: 600;
    background: var(--gradient-primary);
    box-shadow: var(--neon-golge);
}

.kullanici-etiket { font-size: .9rem; }

.cikis-btn {
    color: #ffb4b4;
    border: 1px solid rgba(239, 68, 68, .5);
    border-radius: 2rem;
    padding: .4rem .95rem;
    transition: all .2s ease;
}
.cikis-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    box-shadow: 0 0 14px rgba(239, 68, 68, .5);
}

/* Mobilde hap menü düz listeye dönsün */
@media (max-width: 991.98px) {
    .nav-hap {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: .5rem 0;
    }
    .nav-hap .nav-link { border-radius: .6rem; }
    .app-navbar .d-flex.align-items-center.gap-2 { padding-bottom: .75rem; }
}

@media (max-width: 767.98px) {
    body { overflow-x: hidden; }
    .app-navbar .navbar-brand {
        flex-wrap: wrap;
        justify-content: center;
        gap: .5rem;
    }
    .app-navbar .navbar-collapse { margin-top: .5rem; }
    .app-navbar .d-flex.align-items-center.gap-2 {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: .5rem;
    }
    .cikis-btn { width: 100%; justify-content: center; }
    .nav-hap .nav-link { white-space: normal; }
    .card { min-width: 0; word-break: break-word; }
    .table-responsive { overflow-x: auto; }
    .card-body { padding: 1rem; }
    .giris-kutu { max-width: 100%; padding: 1.5rem; }
}

/* ============================================================
   GİRİŞ & KURULUM — Derin koyu + Mor/Mavi/Siyan neon glow
   ============================================================ */
.giris-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at 50% 10%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 30%),
        #06070a;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}
.giris-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    filter: blur(18px);
    opacity: 0.6;
}
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}
.giris-body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.7;
}
.giris-kutu {
    position: relative;
    background: rgba(10, 13, 20, 0.96);
    color: #f1f5f9;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: var(--neon-golge), 0 0 60px rgba(168, 85, 247, 0.15);
    margin: auto;
    text-align: center;
}
.giris-kutu .form-label {
    display: block;
    width: 100%;
    text-align: left;
}
.giris-kutu .text-center {
    width: 100%;
    text-align: center;
}
.giris-kutu .mb-4 {
    margin-bottom: 1.5rem !important;
}
.giris-kutu .form-control {
    background: #0a0c12;
    border-color: #1e1f2e;
    color: #f1f5f9;
}
.giris-kutu .form-control:focus { background: #0d0f17; color: #fff; }
.giris-kutu .input-group-text {
    background: #0d0f17;
    border-color: #1e1f2e;
    color: #a5b4fc;
}
.giris-kutu .form-control.rainbow-input {
    border: 1px solid transparent;
    background-clip: padding-box;
    background-image: linear-gradient(#0a0c12, #0a0c12), linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899);
    background-origin: padding-box;
    background-clip: padding-box, border-box;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    transition: box-shadow .25s ease, transform .25s ease.
}
.giris-kutu .form-control.rainbow-input:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .22), inset 0 0 0 1px rgba(255,255,255,.14).
    border-color: transparent.
    outline: none.
}
.giris-kutu .form-control.rainbow-input::placeholder {
    color: rgba(255,255,255,.55).
}
.giris-kutu .input-group.rainbow-group {
    display: flex.
    align-items: center.
    width: 100%.
    border-radius: .8rem.
    padding: 2px.
    box-sizing: border-box.
    background: #0a0c12.
    border: 1px solid rgba(255,255,255,.12).
    transition: border .25s ease, box-shadow .25s ease, background .25s ease.
}
.giris-kutu .input-group.rainbow-group:focus-within {
    border: 1px solid transparent.
    border-image: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899) 1.
    box-shadow: 0 0 0 2px rgba(99, 102, 241, .16).
}
.giris-kutu .input-group.rainbow-group .form-control,
.giris-kutu .input-group.rainbow-group .input-group-text {
    background: #0a0c12.
    border: none.
    color: #fff.
    box-sizing: border-box.
    min-height: 3rem.
    height: 3rem.
}
.giris-kutu .input-group.rainbow-group .form-control {
    border-radius: 0 .65rem .65rem 0.
    padding: 0 1rem.
}
.giris-kutu .input-group.rainbow-group .input-group-text {
    border-radius: .65rem 0 0 .65rem.
    border: none.
    display: flex.
    align-items: center.
    justify-content: center.
    padding: 0 1rem.
}
.giris-kutu .form-control.rainbow-input {
    text-align: left.
}
.giris-kutu .form-control.rainbow-input::placeholder {
    text-align: left.
}
.giris-body .giris-logo img {
    animation: none.
    transform-origin: center center.
}
.giris-body .giris-logo {
    background: transparent !important.
    border-radius: .75rem.
    padding: 8px 14px.
    display: inline-block.
    margin: 0 auto 1rem.
}
.rainbow-heading,
.rainbow-site-yapimci {
    display: inline-block.
    background-image: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899) !important.
    background-size: 200% auto !important.
    background-clip: text !important.
    -webkit-background-clip: text !important.
    color: transparent !important.
    -webkit-text-fill-color: transparent !important.
    font-weight: 700.
    animation: rainbow-move 6s linear infinite !important.
}
.rainbow-input {
    background: #0a0c12.
    border: 1px solid transparent.
    border-image: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899) 1.
    color: #fff !important.
    animation: none.
}
.rainbow-input::placeholder {
    color: #7d7396.
}
@keyframes rainbow-move {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.rain-container {
    pointer-events: none.
    position: fixed.
    inset: 0.
    overflow: hidden.
    z-index: 999.
}
.rain-drop {
    position: absolute.
    top: -4rem.
    width: 2px.
    height: 1.4rem.
    background: rgba(173, 216, 230, 0.72).
    border-radius: 50%.
    box-shadow: 0 0 12px rgba(173, 216, 230, 0.45).
    opacity: 0.8.
    animation: rain-fall linear infinite.
}
@keyframes rain-fall {
    0% {
        transform: translateY(-10px) translateX(0) scaleY(0.9).
        opacity: 0.
    }
    10% {
        opacity: 0.7.
    }
    100% {
        transform: translateY(120vh) translateX(30px) scaleY(1.4).
        opacity: 0.
    }
}
.rain-drop {
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.4).
}

.ban-card,
.lock-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 18, 0.95);
    padding: 2rem;
    box-shadow: 0 0 60px rgba(14, 16, 44, 0.55);
    color: #f8fafc;
}
.ban-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #f87171;
}
.ban-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}
.ban-details dt { color: #a1a1aa; }
.ban-details dd { margin-bottom: 0.75rem; }

.idle-warning-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}
.idle-warning-card {
    text-align: center;
    padding: 2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    background: rgba(8, 8, 12, 0.96);
    box-shadow: 0 0 60px rgba(248, 113, 113, 0.25);
}
.idle-warning-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background-image: linear-gradient(90deg, #ef4444, #f59e0b, #84cc16, #14b8a6, #38bdf8, #8b5cf6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: rainbow-move 4s linear infinite;
}
.idle-warning-subtitle {
    font-size: 1.05rem;
    color: #e5e7eb;
    opacity: 0.9;
    max-width: 42rem;
    margin: 0 auto;
}
.giris-kutu .text-muted { color: #9d92b8 !important; }
.giris-kutu .form-label { color: #fff; }
.giris-kutu .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #000;
    font-weight: 600;
}
.giris-kutu .btn-primary:hover {
    background: var(--gradient-primary-hover);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--neon-golge);
}
.giris-body .giris-logo {
    background: transparent !important;
    border-radius: .75rem;
    padding: 8px 14px;
    display: inline-block;
    margin: 0 auto 1rem;
}
.giris-body .giris-logo img {
    max-height: 140px !important;
    max-width: 320px !important;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, .28));
}

/* ============================================================
   SAYFA GEÇİŞ EFEKTİ (Dark Mode Neon Mor)
   ============================================================ */

.app-navbar.nav-pulse {
    animation: navPulse 300ms ease;
}
@keyframes navPulse {
    0% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25); border-color: rgba(168, 85, 247, 0.35); }
    50% { box-shadow: 0 8px 40px rgba(168, 85, 247, 0.6), 0 0 60px rgba(168, 85, 247, 0.4); border-color: #a855f7; }
    100% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25); border-color: rgba(168, 85, 247, 0.35); }
}

.page-transition-wave {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 250ms ease;
}
.page-transition-wave.active { opacity: 1; }
.page-transition-wave::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.08), transparent);
    animation: waveSweep 250ms ease-out;
}
@keyframes waveSweep {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Kartlar ve butonlar için pulse efekti */
.card, .btn-primary, .btn-outline-primary {
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

/* ============================================================
   GRAFİK RENKLERİ - Mor/Mavi/Siyan tema
   ============================================================ */
:root {
    --chart-color-1: #a855f7;
    --chart-color-2: #3b82f6;
    --chart-color-3: #06b6d4;
    --chart-color-4: #f59e0b;
    --chart-color-5: #ef4444;
}