/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8b0000 100%) !important;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.navbar-brand {
    font-family: "Times New Roman", serif;
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-light) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    margin-right: 15px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--primary-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 5px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav.align-right {
    margin-left: auto;
}


/* Divider Styling */
.nav-item.separator {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Divider: taller for desktop */
.desktop-nav-separator {
    display: block;
    height: 100%; /* Adjust height for desktop */
    width: 1px;
    margin-right: 10px;
    margin-left: 10px;
    background-color: #ccc;  /* Set a color for the divider */
}

/* Mobile Divider: shorter for mobile */
.mobile-nav-separator {
    display: block;
    height: 1px; /* Adjust height for mobile */
    width: 95%;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #ccc;  /* Set a color for the divider */
}

/* Profile dropdown styling */
.profile-dropdown {
    display: flex !important;
    align-items: center;
    padding: 0.4rem 1rem !important; /* Slightly reduced padding */
}

.username-text {
    color: var(--primary-light);
    margin-right: 0.25rem;
}

.dropdown-menu {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background: var(--primary-red);
    color: white;
}

.dropdown-divider {
    border-top: 1px solid #eee;
    margin: 0.5rem 0;
}

/* Make selector more specific if needed */
.navbar .navbar-nav .profile-dropdown .navbar-profile-img {
    width: 24px;  /* Reduced from 30px */
    height: 24px; /* Reduced from 30px */
    border-radius: 50%;
    margin-right: 0.5rem;
    border: 1px solid var(--primary-light); /* Reduced border from 2px */
    object-fit: cover;
}

.navbar-profile-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--primary-light);
}
