/* Enterprise Header Styling - Gold & Blue Theme */

:root {
    --header-gradient-start: #111518;
    --header-gradient-end: #2a2e33;
    --gold-primary: #b49044;
    --gold-bright: #f7b500;
    --header-shadow: rgba(180, 144, 68, 0.15);
    --text-primary: #111518;
    --text-secondary: #687279;
}

/* Main Navigation */
.enterprise-navbar {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Brand Styling */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 1050;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--gold-bright) !important;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(180, 144, 68, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Navigation Links */
.enterprise-navbar .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enterprise-navbar .nav-link:hover {
    background: rgba(180, 144, 68, 0.15);
    color: var(--gold-primary) !important;
    transform: translateY(-2px);
}

.enterprise-navbar .nav-link i {
    font-size: 1.1rem;
}

/* User Dropdown */
.user-dropdown-toggle {
    background: rgba(180, 144, 68, 0.1) !important;
    border: 1px solid rgba(180, 144, 68, 0.3) !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.25rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-dropdown-toggle:hover {
    background: rgba(180, 144, 68, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(180, 144, 68, 0.2);
}

.user-dropdown-toggle::after {
    margin-left: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-bright) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    border: 2px solid var(--gold-bright);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.75rem;
    opacity: 0.7;
    color: var(--text-secondary);
}

/* User Badge */
.enterprise-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gold-primary);
    color: var(--text-primary);
}

/* Dropdown Menu */
.enterprise-dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 260px;
    background: #ffffff;
}

.enterprise-dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.enterprise-dropdown-menu .dropdown-item i {
    width: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.enterprise-dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(180, 144, 68, 0.1) 0%, rgba(247, 181, 0, 0.1) 100%);
    color: var(--gold-primary);
    transform: translateX(4px);
}

.enterprise-dropdown-menu .dropdown-item:hover i {
    color: var(--gold-primary);
}

.enterprise-dropdown-menu .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* Dashboard Quick Access */
.dashboard-link {
    background: linear-gradient(135deg, rgba(180, 144, 68, 0.1) 0%, rgba(247, 181, 0, 0.1) 100%);
    border-left: 3px solid var(--gold-primary);
}

/* Logout Button */
.logout-item {
    color: #e53e3e !important;
}

.logout-item:hover {
    background: rgba(229, 62, 62, 0.1) !important;
    color: #c53030 !important;
}

.logout-item:hover i {
    color: #c53030 !important;
}

/* Auth Buttons (Login/Register) */
.btn-auth-login {
    color: var(--gold-bright) !important;
    background: rgba(180, 144, 68, 0.2);
    border: 1px solid rgba(180, 144, 68, 0.5);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-auth-login:hover {
    background: rgba(247, 181, 0, 0.3);
    transform: translateY(-2px);
    border-color: var(--gold-bright);
}

.btn-auth-register {
    background: var(--gold-primary) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(180, 144, 68, 0.3);
}

.btn-auth-register:hover {
    background: var(--gold-bright) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(247, 181, 0, 0.4);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .user-info {
        display: none;
    }

    .enterprise-navbar .navbar-collapse {
        background: rgba(180, 144, 68, 0.1);
        backdrop-filter: blur(10px);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .user-dropdown-toggle {
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-auth-register {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(180, 144, 68, 0.5);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(180, 144, 68, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(180, 144, 68, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e53e3e;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

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

.enterprise-navbar {
    animation: fadeIn 0.5s ease;
}

/* Sidebar styling with blue gradient theme */
.sidebar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-right: 2px solid var(--gold-primary);
}

.sidebar-menu-link {
    color: rgba(237, 239, 242, 0.9);
}

.sidebar-menu-link:hover {
    background: linear-gradient(90deg, rgba(247, 181, 0, 0.3) 0%, rgba(180, 144, 68, 0.25) 100%);
    color: var(--gold-bright);
    border-left: 3px solid var(--gold-bright);
    transform: translateX(4px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(247, 181, 0, 0.2);
}

.sidebar-menu-link.active {
    background: rgba(180, 144, 68, 0.3);
    color: var(--gold-bright);
    border-left: 3px solid var(--gold-bright);
}
