.navbar {
    padding: 0.8rem 1rem;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    height: 70px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50 !important;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: #3498db;
}

.navbar-brand:hover {
    color: #3498db !important;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-profile:hover, .user-profile:focus {
    background-color: rgba(52, 152, 219, 0.1);
    text-decoration: none;
}

.user-profile i {
    font-size: 1.2rem;
    color: #3498db;
}

.user-profile span {
    color: #2c3e50;
    font-weight: 500;
}

.role-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background-color: #e9f2ff;
    color: #3498db;
    border-radius: 4px;
    font-weight: 500;
}

.dropdown-menu {
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: #34495e;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item i {
    font-size: 1.1rem;
    color: #6c757d;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.dropdown-item:hover i {
    color: #3498db;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #f8f9fa;
}

/* Login button styles */
.login-link {
    color: #ffffff !important;
    background-color: #3498db;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.login-link:hover {
    background-color: #2980b9;
    text-decoration: none;
}

.login-link i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .user-profile span:not(.role-badge) {
        display: none;
    }

    .role-badge {
        margin-left: 0;
    }
} 