/* Arka plan derinliği ve font */
body {
    background: radial-gradient(circle at top right, #111827, #000000);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Bootstrap kartlarına ekstra modern dokunuş */
.custom-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

    .custom-card:hover {
        border-color: rgba(13, 110, 253, 0.5) !important;
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.15);
    }

/* Form geçişleri */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Sayfa açılış animasyonu */
.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dark-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.4);
    transition: transform .3s ease;
}

    .dark-card:hover {
        transform: translateY(-5px);
    }

body {
    background: radial-gradient(circle at top, #0d1b2a, #000814);
    color: #ffffff;
    min-height: 100vh;
}


.dark-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.dark-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,.6);
    }
  .dark-card .card-title,
  .dark-card .card-text {
        color: #ffffff !important;
    }

/* ===== IDENTITY DARK MODE FIX ===== */

/* Genel yazılar */
body,
.card,
.card label,
.card p,
.card span,
.card a {
    color: #ffffff !important;
}

/* Form label'ları */
.form-label {
    color: #ffffff !important;
}

/* Input placeholder */
.form-control::placeholder {
    color: #bbbbbb;
}

/* Identity sayfalarındaki linkler (Forgot password vs) */
a {
    color: #0d6efd;
}

    a:hover {
        color: #66b2ff;
    }

/* Validation (hata mesajları) */
.text-danger {
    color: #ff6b6b !important;
}

/* Identity default gri yazılar */
.text-secondary {
    color: #ffffff !important;
}

.dashboard-card {
    background: #1e1e1e;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: 0.3s;
    min-height: 260px;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        background: #2a2a2a;
    }

/* Auth Sayfaları Genel Arka Plan */
body.auth-bg {
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1b 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Glassmorphism Giriş Kartı */
.login-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

    /* Input Alanları */
    .login-card .form-control {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        border-radius: 10px;
        padding: 12px;
    }

        .login-card .form-control:focus {
            background: rgba(255, 255, 255, 0.1);
            border-color: #007bff;
            color: #fff;
            box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        }

/* Buton Tasarımı */
.btn-auth-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

    .btn-auth-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
        color: white;
    }

/* Yardımcı Sınıflar */
.text-primary-light {
    color: #4dabff !important;
}

.register-link {
    color: #adb5bd;
    transition: color 0.3s;
}

    .register-link:hover {
        color: #fff;
    }

.nav-link {
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .nav-link:hover {
        color: #007bff !important;
        border-bottom: 2px solid #007bff;
    }

.dropdown-item:hover {
    background-color: #007bff;
    color: white;
}

/* ===== EK MODERN DOKUNUŞLAR ===== */

/* Tablo Tasarımı - Karanlık Mod Uyumu */
.table {
    color: #e5e7eb !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle;
}

    .table thead th {
        background-color: rgba(255, 255, 255, 0.03);
        color: #4dabff !important;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 1px;
        border-top: none;
        padding: 15px;
    }

    .table tbody tr {
        transition: background-color 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: rgba(255, 255, 255, 0.02) !important;
        }

/* Custom Checkbox & Radio - Accent Color */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

    .form-check-input:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

/* Badge (Rozet) Tasarımları */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 500;
}

/* Scrollbar Özelleştirme (Modern Tarayıcılar İçin) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f1b;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4dabff;
    }

/* Input Group İkon Uyumu */
.input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #4dabff;
}

/* SweetAlert veya Modal Arka Plan Uyumu */
.modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
}

/* Sayfa geçişlerinde içeriklerin yumuşak gelmesi için */
.container {
    animation: fadeInPage 0.8s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}