/* _content/NuvaHub.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Layout Shell ────────────────────────────────────────────── */
.layout[b-8atd1129ne] {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar[b-8atd1129ne] {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand[b-8atd1129ne] {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--sidebar-divider);
  flex-shrink: 0;
}

.sidebar-logo[b-8atd1129ne] {
  height: 32px;
  width: auto;
}

/* ── Sidebar Footer ─────────────────────────────────────────── */
.sidebar-footer[b-8atd1129ne] {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--sidebar-divider);
  flex-shrink: 0;
}

.sidebar-user[b-8atd1129ne] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sidebar-user-avatar[b-8atd1129ne] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sidebar-active);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-user-name[b-8atd1129ne] {
  color: var(--sidebar-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.sidebar-logout[b-8atd1129ne] {
  margin-left: auto;
  color: var(--sidebar-text);
  font-size: 0.75rem;
  opacity: 0.75;
  text-decoration: none;
}

.sidebar-logout:hover[b-8atd1129ne] {
  opacity: 1;
}

/* ── Content Area ────────────────────────────────────────────── */
.content[b-8atd1129ne] {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  padding: 2rem;
}

/* ── Blazor Error UI (preserved, adapted to new tokens) ─────── */
#blazor-error-ui[b-8atd1129ne] {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss[b-8atd1129ne] {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* ── Aviso de configuración (SMTP) ─────────────────────────── */
.smtp-banner[b-8atd1129ne] {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.smtp-banner code[b-8atd1129ne] {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}
/* _content/NuvaHub.Web/Components/Layout/PortalLayout.razor.rz.scp.css */
/* ── Portal Layout ──────────────────────────────────────────── */
.portal-layout[b-12kkcoiqok] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--page-bg);
}

/* ── Portal Header ──────────────────────────────────────────── */
.portal-header[b-12kkcoiqok] {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.portal-header[b-12kkcoiqok]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #E3B66B 50%, var(--accent) 100%);
}

.portal-logo[b-12kkcoiqok] {
  height: 36px;
  width: auto;
}

/* ── Portal Main ────────────────────────────────────────────── */
.portal-main[b-12kkcoiqok] {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 2rem 3rem;
}

/* ── Portal Footer ──────────────────────────────────────────── */
.portal-footer[b-12kkcoiqok] {
  text-align: center;
  padding: 1.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  border-top: 1px solid var(--border-light);
  background: var(--card-bg);
  flex-shrink: 0;
}

.portal-footer-brand[b-12kkcoiqok] {
  color: var(--text-primary);
  font-weight: 600;
}

.portal-footer-separator[b-12kkcoiqok] {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* ── Portal responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
  .portal-header[b-12kkcoiqok] {
    padding: 1rem 1.25rem;
  }

  .portal-logo[b-12kkcoiqok] {
    height: 28px;
  }

  .portal-main[b-12kkcoiqok] {
    padding: 1.5rem 1rem 2rem;
  }

  .portal-footer[b-12kkcoiqok] {
    padding: 1rem;
    font-size: 0.75rem;
  }
}
