/* Belleza — shared shell UX */
.belleza-brand-link {
  display: inline-flex;
  align-items: center;
}

.belleza-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 45;
}

.belleza-nav-overlay.is-open {
  display: block;
}

body.belleza-nav-locked {
  overflow: hidden;
}

html.belleza-auth-pending body {
  visibility: hidden;
}

html.belleza-auth-pending body.belleza-auth-ready {
  visibility: visible;
}

.belleza-nav-active {
  background: rgba(0, 106, 98, 0.1) !important;
  color: #006a62 !important;
  font-weight: 700 !important;
  border-left: 3px solid #006a62 !important;
}

.belleza-link-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.belleza-btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.belleza-top-nav-link {
  white-space: nowrap;
}

#login-error {
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ffdad6;
  background: #ffdad6;
  color: #93000a;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

#login-error[hidden] {
  display: none;
}

@keyframes belleza-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: belleza-spin 1s linear infinite;
}

@media (max-width: 767px) {
  .belleza-mobile-nav-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
  }

  aside {
    display: none !important;
  }

  aside.belleza-sidebar-open {
    display: flex !important;
    position: fixed;
    left: 0;
    top: 5rem;
    bottom: 0;
    z-index: 50;
    width: min(280px, 85vw);
    max-width: 280px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  header h1,
  header .font-display-lg {
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }

  .belleza-live-pill,
  header .font-label-caps {
    display: none;
  }

  main.h-\[calc\(100vh-100px\)\] {
    height: auto !important;
    min-height: calc(100vh - 100px);
  }
}

@media (min-width: 768px) {
  .belleza-mobile-nav-btn {
    display: none !important;
  }
}
