/* Local layer for fixes that should sit above the site export. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.full-bleed-band {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.reveal,
.mask-reveal {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

.max-w-\[1480px\] {
  max-width: 1480px !important;
}

.max-w-\[1560px\] {
  max-width: 1560px !important;
}

.max-w-7xl {
  max-width: 80rem !important;
}

.max-w-\[1440px\] {
  max-width: 1440px !important;
}

.cobrait-wide-page .max-w-\[1440px\] {
  max-width: 1560px !important;
}


[data-form-status] {
  min-height: 1.25rem;
}

[data-form-status][data-state="success"] {
  color: #86efac;
}

[data-form-status][data-state="error"] {
  color: #fca5a5;
}

.nebula-lang-shell {
  position: relative;
}

.nebula-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 80;
  min-width: 9.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(10, 10, 18, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nebula-lang-shell[data-open="true"] .nebula-lang-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nebula-lang-shell[data-open="true"] button[aria-label="Idioma"] .lucide-chevron-down {
  transform: rotate(180deg);
}

.nebula-lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  padding: 0.55rem 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.nebula-lang-option:hover,
.nebula-lang-option.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
}

.nebula-lang-option__flag {
  display: inline-flex;
  width: 1.25rem;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
}

.nebula-lang-option__code {
  font-size: 0.75rem;
  font-weight: 700;
}

.nebula-lang-option__name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767.98px) {
  .nebula-lang-menu {
    display: none !important;
  }
}
