/* Navbar Styles */
.navbar {
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: #333;
    margin-right: 2rem;
}
.navbar-brand:hover{
    color: #009688;
}
.navbar-nav .nav-link {
    color: #333;
    margin: 0 0.8rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #009688;
}

/* Fix for nav icons alignment */
.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons a, 
.nav-icons .dropdown,
.nav-icons .search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    position: relative;
}

.nav-icons a:hover {
    color: #009688;
    transform: scale(1.1);
}

/* Fix for search container in header */
.navbar .search-container {
    margin-right: 0;
}

.navbar .search-container #search-icon {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    width: 0;
    opacity: 0;
    transition: all 0.4s ease;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.search-container.active .search-input {
    width: 180px;
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .nav-icons {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .search-container {
        position: relative;
    }
    
    .search-input {
        position: relative;
        right: auto;
        transform: none;
    }
}

/* User dropdown styles */
.dropdown-menu {
    
    min-width: 10rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0rem 5rem;
    font-weight: 500;
    color: #333;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #009688;
}

.dropdown-divider {
    margin: 0.25rem 0;
}