/* /Layout/MainLayout.razor.rz.scp.css */
/*page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
  main {
  flex: 1;
}*/
/*
.sidebar {
  background-image: linear-gradient(180deg, rgb(66, 72, 81) 50%, #b30000 70%);
}*/

/*.top-row {
  background-color: #f7f7f7;
  border-bottom: 1px solid #d6d5d5;
  justify-content: flex-end;
  height: 3.5rem;
  display: flex;
  align-items: center;
}

  .top-row ::deep a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
  }

  .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

@media (max-width: 640.98px) {
  .top-row:not(.auth) {
    display: none;
  }

  .top-row.auth {
    justify-content: space-between;
  }

  .top-row a, .top-row .btn-link {
    margin-left: 0;
  }
}
*/
/*@media (min-width: 641px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .top-row {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .top-row, article {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
  }
}
*/

/*.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 20px;*/ /* Reduce vertical spacing */
  /*align-items: safe center;*/ /* Push content to the left */
  /*padding-left: 1.5rem;*/ /* Adjust as needed */
/*}

.content {
  width: 100%;*/
  /*max-width: 95vw;*/ /* Optional: constrain width if needed */
  /*padding: 0;*/ /* Remove extra padding */
/*}
@media (max-width: 768px) {
  .main-content {
    margin-top: 50px;*/ /* Smaller margin on mobile */
  /*}
}*/
/* /Layout/NavMenu.razor.rz.scp.css */
/* Navigation Component Styles */

.top-nav-container[b-h8cdu80q5e] {
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand-container[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  min-height: 60px;
  background: linear-gradient(135deg, #dc2626 0%, #6b7280 50%, #dc2626 100%);
  background-size: 200% 200%;
  animation: gradientShift-b-h8cdu80q5e 4s ease-in-out infinite;
}

.navbar-brand[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  transition: opacity 0.2s ease;
}

  .navbar-brand:hover[b-h8cdu80q5e] {
    opacity: 0.8;
  }

.brand-logo[b-h8cdu80q5e] {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.user-info[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.welcome-text[b-h8cdu80q5e] {
  color: white;
  font-size: 0.9rem;
  white-space: nowrap;
}

.logout-btn[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

  .logout-btn:hover[b-h8cdu80q5e] {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
  }

  .logout-btn:focus[b-h8cdu80q5e] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

.logout-icon[b-h8cdu80q5e] {
  font-size: 1rem;
}

.auth-links[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-link[b-h8cdu80q5e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

  .login-link:hover[b-h8cdu80q5e] {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
  }

  .login-link:focus[b-h8cdu80q5e] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

.login-icon[b-h8cdu80q5e] {
  font-size: 1rem;
}

.top-menu-container[b-h8cdu80q5e] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient animation for the brand container */
@keyframes gradientShift-b-h8cdu80q5e {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.main-menu[b-h8cdu80q5e] {
  padding: 0 1.5rem;
}

.unauthenticated[b-h8cdu80q5e] {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-brand-container[b-h8cdu80q5e] {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .user-info[b-h8cdu80q5e] {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .welcome-text[b-h8cdu80q5e] {
    font-size: 0.8rem;
  }

  .logout-btn[b-h8cdu80q5e],
  .login-link[b-h8cdu80q5e] {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .top-menu-container[b-h8cdu80q5e] {
    padding: 0 1rem;
  }

  .main-menu[b-h8cdu80q5e] {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo[b-h8cdu80q5e] {
    height: 30px;
  }

  .navbar-brand[b-h8cdu80q5e] {
    font-size: 1.2rem;
  }

  .navbar-brand-container[b-h8cdu80q5e] {
    padding: 0.5rem 1rem;
    min-height: 50px;
  }

  .user-info[b-h8cdu80q5e] {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .welcome-text[b-h8cdu80q5e] {
    text-align: center;
    font-size: 0.75rem;
  }

  .logout-btn[b-h8cdu80q5e],
  .login-link[b-h8cdu80q5e] {
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .navbar-brand-container[b-h8cdu80q5e] {
    background: linear-gradient(135deg, #b91c1c 0%, #4b5563 50%, #b91c1c 100%);
  }

  .top-menu-container[b-h8cdu80q5e] {
    background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%);
  }

  .unauthenticated[b-h8cdu80q5e] {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .logout-btn[b-h8cdu80q5e],
  .login-link[b-h8cdu80q5e] {
    border-width: 2px;
    border-color: white;
  }

    .logout-btn:hover[b-h8cdu80q5e],
    .login-link:hover[b-h8cdu80q5e] {
      background: white;
      color: #4c51bf;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .navbar-brand[b-h8cdu80q5e],
  .logout-btn[b-h8cdu80q5e],
  .login-link[b-h8cdu80q5e] {
    transition: none;
  }

    .logout-btn:hover[b-h8cdu80q5e],
    .login-link:hover[b-h8cdu80q5e] {
      transform: none;
    }

  .navbar-brand-container[b-h8cdu80q5e] {
    animation: none;
    background: linear-gradient(135deg, #dc2626 0%, #6b7280 100%);
  }
}
