/* styles.css */

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    z-index: 1000; /* Ensure it's above other content */
    text-align: center;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite; /* CSS animation for spinning */
    margin-top: 20%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f5efe7; 
    color: black;
  }
  
.navbar {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    position: relative;
}
  
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.logo {
    height: 2rem;
}
  
.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}
  
.nav-links a {
    text-decoration: none;
    color: #00416b;
    padding: 0.5rem;
    border-radius: 0.25rem;
}
  
.nav-links a:hover, .nav-links .active {
    background-color: #cfdff8;
    color: #00416b;
}
  
.notification-btn {
    background: none;
    border: none;
    color: #d1d5db;
    font-size: 1.2rem;
    cursor: pointer;
}
  
.profile-btn {
    border: none;
    background: none;
    cursor: pointer;
}
  
.avatar {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
}
  
.profile-dropdown {
    position: relative;
    display: inline-block;
}
  
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 2.5rem;
    background: white;
    color: black;
    border-radius: 0.25rem;
    min-width: 10rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}
  
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: black;
}
  
.dropdown-menu a:hover {
    background-color: #f3f4f6;
}
  
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #00416b;
    cursor: pointer;
}
  
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
}
  
.mobile-menu a {
    text-decoration: none;
    color: white;
    background-color: #00416b;
    padding: 0.5rem;
    border-radius: 0.25rem;
}
  
  /* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}
  