* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2d3748 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .navbar-brand:hover {
        color: #4a5568 !important;
    }

.brand-icon {
    background: linear-gradient(45deg, #4a6cf7, #6a5acd);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(74, 108, 247, 0.2);
}

.navbar-nav.center-nav {
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

    .navbar-nav.center-nav .nav-link {
        color: #4a5568 !important;
        font-weight: 500;
        padding: 0.75rem 1.25rem !important;
        margin: 0;
        border-radius: 8px;
        transition: all 0.2s ease;
        position: relative;
        background: transparent;
        border: none;
        font-size: 0.9rem;
        letter-spacing: 0.2px;
    }

        .navbar-nav.center-nav .nav-link:hover,
        .navbar-nav.center-nav .nav-link:focus {
            color: #4a6cf7 !important;
            background: rgba(74, 108, 247, 0.05);
            transform: none;
        }

        .navbar-nav.center-nav .nav-link.active {
            color: #4a6cf7 !important;
            font-weight: 600;
            background: transparent;
        }

            .navbar-nav.center-nav .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 1.25rem;
                right: 1.25rem;
                height: 2px;
                background: #4a6cf7;
                border-radius: 2px;
            }

        .navbar-nav.center-nav .nav-link i {
            margin-right: 6px;
            font-size: 0.9rem;
            opacity: 0.8;
        }

.navbar-nav.user-nav .nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
}

    .navbar-nav.user-nav .nav-link:hover {
        color: #4a6cf7 !important;
        background: rgba(74, 108, 247, 0.05);
    }

.navbar-nav.user-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
    min-width: 200px;
}

.navbar-nav.user-nav .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 0.15rem 0.5rem;
}

    .navbar-nav.user-nav .dropdown-item:hover {
        background: rgba(74, 108, 247, 0.08);
        color: #4a6cf7;
        transform: none;
        border-radius: 4px;
    }

    .navbar-nav.user-nav .dropdown-item i {
        margin-right: 8px;
        width: 16px;
        text-align: center;
        color: #718096;
    }

.btn-login {
    background: linear-gradient(45deg, #4a6cf7, #6a5acd);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: white !important;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(74, 108, 247, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
    }

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(74, 108, 247, 0.05);
    transition: all 0.2s ease;
}

    .navbar-toggler:hover {
        background: rgba(74, 108, 247, 0.1);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    }

.navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2874, 108, 247, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-nav.center-nav {
        margin: 1rem 0;
        flex-direction: column;
        gap: 0.25rem;
    }

        .navbar-nav.center-nav .nav-link {
            padding: 0.6rem 1rem !important;
        }

    .navbar-nav.user-nav {
        margin-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 1rem;
    }
}

.main-content {
    flex: 1;
    padding: 0;
    background: transparent;
}

.container-fluid {
    padding: 0;
}

.site-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
        pointer-events: none;
    }

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

    .footer-brand i {
        background: linear-gradient(45deg, #4a6cf7, #6a5acd);
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

.footer-section h5 {
    color: #4a6cf7;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-section p, .footer-section li {
    color: #a0aec0;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

    .footer-section ul li {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
    }

        .footer-section ul li i {
            color: #4a6cf7;
            margin-right: 8px;
            width: 16px;
        }

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 108, 247, 0.3), transparent);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: linear-gradient(45deg, #4a6cf7, #6a5acd);
        color: white;
        transform: translateY(-3px);
    }

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.logout-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.logout-modal .modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #4a6cf7 0%, #6a5acd 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.logout-modal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.logout-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

    .logout-modal .btn-close:hover {
        opacity: 1;
    }

.logout-modal .modal-body {
    padding: 2rem;
    text-align: center;
}

.logout-modal .logout-icon {
    font-size: 4rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.logout-modal .modal-body p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.logout-modal .modal-footer {
    border-top: none;
    padding: 0 2rem 2rem;
    justify-content: center;
    gap: 1rem;
}

.logout-modal .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 120px;
    transition: all 0.3s ease;
}

.logout-modal .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

    .logout-modal .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    }

.logout-modal .btn-secondary {
    background: #6c757d;
    border: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

    .logout-modal .btn-secondary:hover {
        background: #5a6268;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    }

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}









.exit-confirmation-dialog {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

    .exit-confirmation-dialog .dialog-header {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: white;
        padding: 1.5rem 2rem;
        border-bottom: none;
        position: relative;
    }

        .exit-confirmation-dialog .dialog-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #ec4899, #f43f5e);
        }

    .exit-confirmation-dialog .dialog-title {
        font-weight: 700;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .exit-confirmation-dialog .dialog-title i {
            font-size: 1.6rem;
        }

    .exit-confirmation-dialog .btn-close {
        filter: brightness(0) invert(1);
        opacity: 0.8;
        transition: all 0.2s ease;
    }

        .exit-confirmation-dialog .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

    .exit-confirmation-dialog .dialog-body {
        padding: 2.5rem 2rem;
        text-align: center;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%234f46e5" opacity="0.05" d="M30,50 Q50,30 70,50 Q50,70 30,50"/></svg>') no-repeat center;
    }

    .exit-confirmation-dialog .confirmation-icon {
        font-size: 4.5rem;
        color: #f43f5e;
        margin-bottom: 1.5rem;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.exit-confirmation-dialog .confirmation-message {
    font-size: 1.15rem;
    color: #374151;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 500;
}

.exit-confirmation-dialog .dialog-footer {
    border-top: none;
    padding: 1.5rem 2rem;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.exit-confirmation-dialog .action-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.exit-confirmation-dialog .cancel-btn {
    background: white;
    color: #4f46e5;
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .exit-confirmation-dialog .cancel-btn:hover {
        background: #f3f4f6;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    }

.exit-confirmation-dialog .confirm-btn {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.2);
}

    .exit-confirmation-dialog .confirm-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.3);
    }

    .exit-confirmation-dialog .confirm-btn .spinner {
        display: none;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    .exit-confirmation-dialog .confirm-btn.loading .spinner {
        display: inline-block;
    }

    .exit-confirmation-dialog .confirm-btn.loading .btn-text {
        display: none;
    }

.exit-confirmation-overlayy {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exit-confirmation-dialog {
    animation: fadeIn 0.3s ease-out forwards;
}