/* ===================================
   SoruPortal1 - Modern Compact Design
   Primary Color: #0159a0
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #0159a0;
    --primary-dark: #014580;
    --primary-light: #0173cc;

    /* Semantic Colors */
    --success-color: #10b981;
    --success-dark: #059669;
    --success-light: #34d399;
    --danger-color: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #f87171;
    --warning-color: #f59e0b;
    --warning-dark: #d97706;
    --warning-light: #fbbf24;
    --info-color: #06b6d4;
    --info-dark: #0891b2;

    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

main {
    padding-top: 60px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILITY CLASSES ===== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== NAVBAR ===== */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar-modern.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--gray-700);
    background: transparent;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

/* Brand Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Mobile için logo boyutu */
@media (max-width: 768px) {
    .brand-logo {
        height: 32px;
    }
}

/* Eski icon ve text stilleri - artık kullanılmıyor ama uyumluluk için bırakıldı */
.brand-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.125rem;
}

.brand-text {
    font-weight: 500;
    letter-spacing: -0.025em;
}

.brand-text strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.nav-link i {
    font-size: 0.875rem;
}

/* Dropdown */
.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.dropdown-toggle i.fa-chevron-down {
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
}

.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.dropdown-item-custom:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.dropdown-item-custom i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

/* Desktop Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gray-100);
    border-radius: var(--radius);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.btn-icon:hover::before {
    transform: scale(1);
}

.btn-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.btn-icon:hover i {
    transform: scale(1.1);
}

.btn-user {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius);
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(1, 89, 160, 0.3);
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 9px;
    padding: 0 4px;
    border: 2px solid var(--white);
    animation: notifPulse 2s ease-in-out infinite;
}

@keyframes notifPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-ghost {
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: 1px solid transparent;
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Bootstrap Dropdown Animations */
.dropdown-menu {
    animation: dropdownFadeIn 0.15s ease-out;
    transform-origin: top right;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.dropdown-menu.show {
    animation: dropdownFadeIn 0.15s ease-out;
}

/* Notification Dropdown */
.notif-dropdown {
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    transform-origin: top right;
}

.notif-dropdown .dropdown-header {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
}

.notif-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.notif-dropdown .dropdown-footer {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    border-top: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.notif-dropdown .dropdown-footer:hover {
    background: var(--gray-50);
    color: var(--primary-dark);
}

/* User Dropdown */
.user-dropdown {
    min-width: 240px;
    transform-origin: top right;
}

.dropdown-user-info {
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, rgba(1, 89, 160, 0.05), transparent);
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.user-email {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.5rem 0;
}

.dropdown-item-custom.text-danger {
    color: var(--danger-color);
}

.dropdown-item-custom.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-dark);
}

/* Mobile Actions */
.mobile-actions {
    display: none;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1100;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-close-btn:hover {
    color: var(--danger-color);
    background: var(--gray-100);
}

.mobile-sidebar-body {
    padding: 1rem;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 0.25rem;
}

.sidebar-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.sidebar-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-link-admin {
    color: var(--primary-color);
}

.sidebar-link-admin:hover {
    background: rgba(1, 89, 160, 0.1);
}

.sidebar-link-logout {
    color: var(--danger-color);
}

.sidebar-link-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.sidebar-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 1rem 0;
}

.sidebar-auth-actions {
    padding: 0.5rem;
}

.btn-ghost-mobile,
.btn-primary-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-ghost-mobile {
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    background: var(--white);
}

.btn-primary-mobile {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
}

/* Mobile Backdrop */
.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ===== FOOTER ===== */
.footer-modern {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 2.5rem 0 1rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .navbar-brand {
    color: var(--white);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.625rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
    padding-left: 0.25rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.625rem;
}

.footer-contact i {
    width: 16px;
    text-align: center;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom strong {
    color: var(--white);
}

/* ===== UTILITY CLASSES ===== */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-spacing {
    padding: 3rem 0;
}

.card-modern {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-modern:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
    }

    main {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        padding: 0 0.75rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-modern {
        padding: 2rem 0 1rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ===== ADMIN COMMON STYLES ===== */
/* Genel Admin Sayfa Stilleri - Tüm admin sayfalarında kullanılır */

/* Admin Buttons */
.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-admin-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-admin-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-admin-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-admin-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-admin-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-admin-danger:hover {
    background: var(--danger-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-admin-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-admin-success:hover {
    background: var(--success-dark);
    transform: translateY(-1px);
}

.btn-admin-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-admin-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Admin Tables */
.admin-table-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table thead {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.admin-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.admin-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-800);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: var(--gray-50);
}

.admin-table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Admin Cards */
.admin-card-list {
    display: grid;
    gap: 0.875rem;
}

.admin-card-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: var(--transition);
}

.admin-card-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Admin Badges */
.badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-admin-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.badge-admin-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.badge-admin-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge-admin-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
}

.badge-admin-gray {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Admin Search & Filter Bar */
.admin-filter-bar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.admin-search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
}

.admin-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 89, 160, 0.1);
}

.admin-select {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.admin-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Admin Empty State */
.admin-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-500);
}

.admin-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-400);
    border-radius: var(--radius-lg);
    font-size: 2rem;
}

.admin-empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.admin-empty-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Admin Modal Overrides */
.modal-admin .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-admin .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.modal-admin .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-admin .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-admin .btn-close:hover {
    opacity: 1;
}

.modal-admin .modal-body {
    padding: 1.5rem;
}

.modal-admin .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* Admin Form Elements */
.admin-form-group {
    margin-bottom: 1rem;
}

.admin-form-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.admin-form-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.admin-form-input,
.admin-form-textarea,
.admin-form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
}

.admin-form-input:focus,
.admin-form-textarea:focus,
.admin-form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 89, 160, 0.1);
}

.admin-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.admin-form-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.admin-form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    margin: 0;
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.admin-pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.admin-pagination-btn:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.admin-pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-color: var(--primary-color);
}

.admin-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Admin Breadcrumb */
.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.admin-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.admin-breadcrumb-item:hover {
    color: var(--primary-color);
}

.admin-breadcrumb-item.active {
    color: var(--gray-900);
    font-weight: 500;
}

.admin-breadcrumb-separator {
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* Compact Spacing Utilities */
.compact-mb-1 {
    margin-bottom: 0.5rem;
}

.compact-mb-2 {
    margin-bottom: 1rem;
}

.compact-mb-3 {
    margin-bottom: 1.5rem;
}

.compact-mt-1 {
    margin-top: 0.5rem;
}

.compact-mt-2 {
    margin-top: 1rem;
}

.compact-mt-3 {
    margin-top: 1.5rem;
}

/* ===== AUTH PAGES (LOGIN/REGISTER) ===== */
.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-container {
    animation: fadeIn 0.4s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
    border: 1px solid;
}

.alert i {
    font-size: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Form Elements */
.form-group {
    margin-bottom: 0.875rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-label i {
    font-size: 0.8125rem;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 89, 160, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input.is-invalid {
    border-color: var(--danger-color);
}

.text-danger {
    display: block;
    font-size: 0.8125rem;
    color: var(--danger-color);
    margin-top: 0.375rem;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    margin: 0;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    white-space: nowrap;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.divider hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 0;
}

.divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Google Button */
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    box-shadow: var(--shadow-sm);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.auth-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 0.25rem;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Register Specific Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 0.875rem;
}

.checkbox-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.checkbox-item-content {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    margin-top: 0.1875rem;
    flex-shrink: 0;
}

.checkbox-item label {
    font-size: 0.75rem;
    color: var(--gray-700);
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
}

.checkbox-item label a {
    color: var(--primary-color);
    font-weight: 500;
}

.checkbox-item label a:hover {
    text-decoration: underline;
}

.checkbox-item .text-danger {
    font-size: 0.6875rem;
    color: var(--danger-color);
    margin: 0;
    padding-left: 1.5rem;
}

.checkbox-group hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 0.375rem 0;
}

/* Password Strength Indicator */
.password-strength-wrapper {
    margin-top: 0.375rem;
}

.password-strength-bar {
    height: 2px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.25rem;
}

.password-strength-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    transition: var(--transition);
}

.password-strength-bar.weak::after {
    width: 33%;
    background: var(--danger-color);
}

.password-strength-bar.medium::after {
    width: 66%;
    background: var(--warning-color);
}

.password-strength-bar.strong::after {
    width: 100%;
    background: var(--success-color);
}

.password-strength-text {
    font-size: 0.6875rem;
    font-weight: 500;
}

.password-strength-text.weak {
    color: var(--danger-color);
}

.password-strength-text.medium {
    color: var(--warning-color);
}

.password-strength-text.strong {
    color: var(--success-color);
}

/* Responsive Auth Pages */
@media (max-width: 640px) {
    .auth-page {
        padding: 0.75rem 0;
    }

    .auth-wrapper {
        padding: 0 0.625rem;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .auth-title {
        font-size: 1.375rem;
    }

    .auth-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
