/* Navigation Bar Styles */
.nav-bar {
    background-color: #cf1e87; 
    padding: .4rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}
.site-title {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.nav-links a:hover {
    background-color: #667eea; /* Lighter purple on hover */
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.hamburger {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.nav-container {
    flex-wrap: wrap;
    justify-content: center;
}
.site-title {
    width: 100%;
    text-align: left;
}
.menu-toggle {
    display: flex; /* Show hamburger on mobile */
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}
.nav-links {
    flex-direction: column;
    width: 100%;
    display: none; /* Hidden by default on mobile */
    text-align: center;
}
.nav-links.active {
    display: flex; /* Show when active */
}
.nav-links a {
    width: 100%;
    padding: 0.8rem 0;
}


/* Notification Bell */
.notification-bell {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem; /* Adjust as needed */
}
.notification-bell a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.notification-bell a:hover {
    background-color: #667eea;
}
.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444; /* Red for unread */
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}
.notification-list {
    margin-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}
.notification-item {
    background-color: #f0f4f8;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.notification-item.unread {
    background-color: #e6f0ff; /* Lighter blue for unread */
    border: 1px solid #a7c8f0;
    font-weight: 600;
}
.notification-item .icon {
    font-size: 1.5rem;
    color: #cf1e87;
}
.notification-item .content {
    flex-grow: 1;
}
.notification-item .timestamp {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}
.notification-item .mark-read-btn {
    background-color: #a0aec0;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.notification-item .mark-read-btn:hover {
    background-color: #718096;
}
.notification-item .delete-btn {
    background-color: #ef4444;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.notification-item .delete-btn:hover {
    background-color: #dc2626;
}
.collapsible-content {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 250px; /* Default height for ~3-4 items */
}
.collapsible-content.expanded {
    max-height: 2000px; /* Sufficiently large to show all content */
}