/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header styles */
.header {
  background-color: #2d1a45;
  color: white;
  padding: 0.75rem 1.5rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.social-icons {
  display: none;
}

.social-icons a {
  color: white;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.time-display {
  text-align: center;
  font-size: 0.9rem;
}

.time-label {
  font-size: 0.85rem;
}

/* Navbar styles */
.navbar {
  background-color: #e9d5f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 5rem;
  gap: 1rem;
  position: relative;
  padding: 0 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-self: start;
}

.logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid #7e22ce;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.barangay-name {
  color: #581c87;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
  white-space: nowrap;
}

.city-name {
  color: #7e22ce;
  font-size: 1rem;
}

.desktop-menu {
  display: none;
  justify-self: center;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  color: #7e22ce;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: #d8b4fe;
  color: #581c87;
}

/* Auth Section - Container for both logged in and logged out states */
.auth-section {
  display: flex;
  align-items: center;
  justify-self: end;
}

/* Auth buttons - Logged Out State */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1.5rem;
}

/* Logged Out - Desktop Menu Centering */
.navbar-content.logged-out .desktop-menu {
  justify-self: center;
  position: static;
  transform: none;
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}

.btn-login {
  color: #581c87;
}

.btn-login:hover {
  background-color: #d8b4fe;
}

.btn-register {
  background-color: #7e22ce;
  color: white;
}

.btn-register:hover {
  background-color: #581c87;
}

/* User menu styles - Logged In State */
.user-menu {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1000;
  visibility: visible !important;
  opacity: 1 !important;
  padding-left: 1.5rem;
}

/* Logged In - Ensure proper spacing */
.navbar-content.logged-in {
  grid-template-columns: 1fr auto 1fr;
  gap: 3.5rem;
}

/* Logged In - Notification Bell */
.notification-bell {
  position: relative;
  cursor: pointer;
  color: #7e22ce;
  font-size: 1.5rem;
  transition: all 0.2s ease;
  padding: 0.5rem;
  z-index: 1001;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  visibility: visible !important;
  opacity: 1 !important;
}

.notification-bell:hover {
  color: #581c87;
  background-color: #d8b4fe;
  transform: scale(1.1);
}

.notification-bell:active {
  transform: scale(0.95);
}

.notification-count {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background-color: #ef4444;
  color: white;
  font-size: 0.65rem;
  padding: 0.15rem 0.35rem;
  border-radius: 9999px;
  min-width: 1.25rem;
  text-align: center;
  font-weight: 600;
  border: 1.5px solid #e9d5f5;
}

.user-icon {
  cursor: pointer;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

.user-icon:hover {
  transform: scale(1.05);
}

.user-icon:active {
  transform: scale(0.95);
}

/* Logged In - User Avatar */
.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #7e22ce;
  transition: border-color 0.2s;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.user-icon:hover .user-avatar {
  border-color: #581c87;
}

/* Dropdown Menu Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }
}

/* Dropdown menus - separate rules for better specificity */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: -1rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 50;
  min-width: 250px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  will-change: transform, opacity, visibility;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

.notification-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear;
}

.notification-dropdown.hide {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

/* User dropdown menu specific styles */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: -1rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 50;
  min-width: 200px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  will-change: transform, opacity, visibility;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu.hide {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

.dropdown-menu::before,
.notification-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 2.0rem;
  width: 12px;
  height: 12px;
  background-color: white;
  transform: rotate(45deg);
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f3e8ff;
  color: #7e22ce;
}

/* Mobile menu button */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: #7e22ce;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.75rem;
  justify-self: end;
  margin-right: 0.5rem;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.open {
  right: 0;
}

/* Hide hamburger button when mobile menu is open */
.mobile-menu.open~.navbar .mobile-menu-button {
  display: none !important;
}

/* Alternative approach - hide hamburger when body has menu-open class */
body.menu-open .mobile-menu-button {
  display: none !important;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #d8b4fe;
  background-color: #e9d5f5;
  position: relative;
  gap: 10px;
}

.mobile-auth-buttons {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.close-menu-button {
  background: none;
  border: none;
  color: #7e22ce;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
}

.close-menu-button:hover {
  color: #581c87;
  background-color: rgba(216, 180, 254, 0.3);
}

.close-menu-button:active {
  transform: scale(0.95);
}

.mobile-menu-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-nav-link {
  color: #7e22ce;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

.mobile-nav-link:hover {
  background-color: #d8b4fe;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Add this new class to be added to body when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Media queries */
@media (max-width: 899px) {
  .header-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .header-title {
    text-align: center !important;
    font-size: 1rem !important;
    width: 100% !important;
  }

  .header-right {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .time-display {
    text-align: center !important;
    font-size: 0.85rem !important;
    min-width: 380px !important;
    white-space: nowrap !important;
  }

  #datetime {
    display: inline-block !important;
    min-width: 380px !important;
    text-align: center !important;
  }

  .time-label {
    font-size: 0.8rem !important;
  }
}

@media (min-width: 480px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    margin-right: 2rem;
  }

  .header-right {
    flex-direction: row;
    align-items: center;
  }

  .time-display {
    text-align: right;
  }
}

/* Tablet header adjustments */
@media (min-width: 1100px) and (max-width: 1200px) {
  .header-title {
    text-align: left;
  }

  .time-display {
    text-align: right;
  }

  .header-right {
    align-items: flex-end;
  }
}

/* Tablet styles - Only for very large tablets */
@media (min-width: 1100px) and (max-width: 1200px) {
  .desktop-menu {
    display: flex;
    align-items: center;
  }

  .mobile-menu-button {
    display: none;
  }

  .social-icons {
    display: flex;
    align-items: center;
  }

  .header-title {
    font-size: 1.2rem;
  }

  .time-display {
    font-size: 0.95rem;
  }

  /* Adjust navbar for tablet */
  .navbar-content {
    grid-template-columns: auto 1fr auto;
    padding: 0 1rem;
    gap: 1rem;
  }

  /* Smaller navigation links for tablet */
  .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
  }

  /* Adjust auth buttons for tablet */
  .navbar-content.logged-out .auth-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }

  /* Adjust user menu for tablet */
  .navbar-content.logged-in .user-menu {
    gap: 1rem;
  }

  .notification-bell {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.3rem;
  }

  .user-avatar,
  .user-avatar-initials {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* Adjust logo for tablet */
  .logo {
    width: 3.25rem;
    height: 3.25rem;
  }

  .barangay-name {
    font-size: 1.4rem;
  }

  .city-name {
    font-size: 0.95rem;
  }
}

/* Desktop styles */
@media (min-width: 1201px) {
  .desktop-menu {
    display: flex;
    align-items: center;
  }

  .mobile-menu-button {
    display: none;
  }

  .social-icons {
    display: flex;
    align-items: center;
  }

  .header-title {
    font-size: 1.25rem;
  }

  .time-display {
    font-size: 1rem;
  }

  /* Desktop auth section already handled above */
}

@media (max-width: 1200px) {
  .mobile-menu-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 1rem;
    justify-self: end;
  }

  .desktop-menu {
    display: none !important;
  }

  .user-menu {
    display: flex !important;
    gap: 1.25rem;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .notification-bell {
    display: flex !important;
    font-size: 1.5rem;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .user-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .user-avatar {
    width: 2.75rem;
    height: 2.75rem;
  }

  .logo {
    width: 4rem;
    height: 4rem;
    border-width: 3px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  }

  .barangay-name {
    font-size: 1.3rem;
  }

  .city-name {
    font-size: 0.9rem;
  }

  /* Center header title on mobile */
  .header-title {
    text-align: center;
  }

  /* Adjust navbar grid for mobile - when logged in, show logo, user menu, and hamburger */
  .navbar-content.logged-in {
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
  }

  /* When logged out, show logo and hamburger */
  .navbar-content.logged-out {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .navbar-content {
    padding: 0 0.5rem;
  }

}

/* Specific styles for landscape devices like Nest Hub */
@media (max-width: 1200px) and (orientation: landscape) {
  .mobile-menu-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001;
  }

  .desktop-menu {
    display: none !important;
  }

  .navbar-content {
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .user-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Notification dropdown styles */
.notification-dropdown {
  right: 2.0rem;
  min-width: 320px;
  z-index: 1001;
}

.notification-dropdown::before {
  right: 3.5rem;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.notification-header h3 {
  color: #374151;
  font-size: 1.1rem;
  font-weight: 600;
}

.mark-all-btn {
  color: #7e22ce;
  font-size: 0.875rem;
  font-weight: 500;
}

.mark-all-btn:hover {
  color: #581c87;
  text-decoration: underline;
}

.mark-all-btn.success {
  color: #4CAF50 !important;
}

.mark-all-btn.success:hover {
  color: #388E3C !important;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: #f3e8ff;
}

.notification-content {
  margin-bottom: 0.5rem;
}

.notification-content a {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.notification-content a:hover {
  color: #7e22ce;
}

.notification-time {
  color: #6b7280;
  font-size: 0.75rem;
}

.notification-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.notification-footer a {
  color: #7e22ce;
  font-size: 0.875rem;
  font-weight: 500;
}

.notification-footer a:hover {
  color: #581c87;
  text-decoration: underline;
}

.mobile-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-login {
  color: #581c87;
}

.mobile-login:hover {
  background-color: #d8b4fe;
}

.mobile-register {
  background-color: #7e22ce;
  color: white;
}

.mobile-register:hover {
  background-color: #581c87;
}

.mobile-btn i {
  font-size: 14px;
}

/* Mobile User Info Styles */
.mobile-user-info {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  margin: 0;
  width: 100%;
  border: 1px solid #d8b4fe;
  min-width: 0;
}

.mobile-user-profile-link {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
  border-radius: 6px;
  padding: 2px;
}

.mobile-user-profile-link:hover {
  background-color: rgba(126, 34, 206, 0.1);
}

.mobile-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.mobile-profile-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #7e22ce;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.mobile-user-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.mobile-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #581c87;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-user-email {
  font-size: 12px;
  color: #7e22ce;
  margin: 2px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-logout-button {
  padding: 8px;
  color: #dc3545;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.mobile-logout-button:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

.mobile-menu-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-notification-bell {
  position: relative;
  cursor: pointer;
  padding: 8px;
  color: #333;
  font-size: 1.2rem;
}

.mobile-notification-bell:hover {
  color: #007bff;
}

.mobile-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
  min-width: 18px;
  text-align: center;
}


/* User Avatar Initials */
/* Logged In - User Avatar Initials */
.user-avatar-initials {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid #7e22ce;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.mobile-profile-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

/* Make notification items clickable */
.notification-item[data-link] {
  cursor: pointer;
  transition: background-color 0.2s;
}

.notification-item[data-link]:hover {
  background-color: #f8f9fa;
}

.notification-item[data-link] .notification-content {
  cursor: pointer;
}

/* Mobile User Avatar Initials */
.mobile-user-avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

/* ===== STATE-SPECIFIC STYLES ===== */

/* When user is logged out - show auth buttons with divider, hide user menu */
.navbar-content.logged-out .auth-buttons {
  display: flex !important;
  border-left: 1px solid #d8b4fe;
  padding-left: 1.5rem;
}

.navbar-content.logged-out .user-menu {
  display: none !important;
}

/* When user is logged in - hide auth buttons, show user menu with divider */
.navbar-content.logged-in .auth-buttons {
  display: none !important;
}

.navbar-content.logged-in .user-menu {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-left: 1px solid #d8b4fe;
  padding-left: 1.5rem;
}

/* Force visibility of user menu components when logged in */
.navbar-content.logged-in .notification-bell,
.navbar-content.logged-in .user-icon {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure user avatar and initials are visible */
.navbar-content.logged-in .user-avatar,
.navbar-content.logged-in .user-avatar-initials {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===== RESPONSIVE DIVIDER STYLES ===== */

/* Desktop divider styles */
@media (min-width: 1025px) {
  .navbar-content.logged-out .auth-buttons {
    border-left: 1px solid #d8b4fe;
    padding-left: 1.5rem;
    margin-left: 0.5rem;
  }

  .navbar-content.logged-in .user-menu {
    border-left: 1px solid #d8b4fe;
    padding-left: 1.5rem;
    margin-left: 0.5rem;
  }
}

/* Tablet divider styles */
@media (min-width: 1100px) and (max-width: 1200px) {
  .navbar-content.logged-out .auth-buttons {
    border-left: 1px solid #d8b4fe;
    padding-left: 1rem;
    margin-left: 2.5rem;
    margin-right: 1rem;
  }

  .navbar-content.logged-in .user-menu {
    border-left: 1px solid #d8b4fe;
    padding-left: 1rem;
    margin-left: 0.5rem;
    margin-right: 2rem;
  }
}

/* Mobile - no divider needed */
@media (max-width: 1200px) {

  .navbar-content.logged-out .auth-buttons,
  .navbar-content.logged-in .user-menu {
    border-left: none;
    padding-left: 0;
  }

  .navbar-content.logged-in .user-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-self: end;
    gap: 1rem;
  }

  .navbar-content.logged-in .notification-bell,
  .navbar-content.logged-in .user-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure hamburger button is positioned at the end */
  .navbar-content.logged-in .mobile-menu-button {
    justify-self: end;
    grid-column: 3;
  }

  .navbar-content.logged-out .mobile-menu-button {
    justify-self: end;
    grid-column: 2;
  }
}

/* Heade
r notification message styles */
.header-notification-message {
  position: fixed;
  top: 50px;
  right: 20px;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
  color: white;
}

.header-notification-message.success {
  background: #4CAF50;
}

.header-notification-message.error {
  background: #f44336;
}

.header-notification-message.warning {
  background: #FF9800;
}

.header-notification-message.info {
  background: #4CAF50;
}

.header-notification-message.slide-out {
  animation: slideOutRight 0.3s ease-in;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}