/* Gestionar reserva / Check-in — paridad vuela-facil-clic */

.aether-gestion-stepper {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
}

.aether-gestion-stepper__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.75rem;
}

.aether-gestion-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted));
}

.aether-gestion-step.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-gestion-step.is-done {
  background: hsl(var(--success) / 0.15);
  color: hsl(var(--success));
}

.aether-gestion-step__num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  background: hsl(0 0% 100% / 0.25);
}

.aether-gestion-step.is-active .aether-gestion-step__num,
.aether-gestion-step.is-done .aether-gestion-step__num {
  background: hsl(0 0% 100% / 0.3);
}

.aether-gestion-chevron {
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
}

.aether-gr-reserva-card {
  margin-bottom: 0;
  width: 100%;
}

.aether-exchange-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px dashed hsl(var(--border));
  background: hsl(var(--muted) / 0.35);
}

.aether-exchange-empty__icon {
  font-size: 2rem;
  line-height: 1;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  #gestionar-reserva .aether-gr-reserva-card,
  #gestionar-reserva .clic-card {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
  #gestionar-reserva .aether-gr-tab-grid {
    gap: 1rem;
  }
  #gestionar-reserva .aether-gr-panel[data-gr-panel="cambiar"] .clic-card {
    max-width: none;
  }
}

.aether-gr-tab-grid--spaced {
  margin-top: 1.25rem;
}

.aether-gr-pnr {
  font-family: var(--font-display, 'Unbounded', system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: hsl(var(--primary));
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.aether-gr-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .aether-gr-tab-grid {
    gap: 0.75rem;
  }
}

.aether-gr-tab {
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  text-align: left;
  background: hsl(var(--surface));
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}

.aether-gr-tab:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.aether-gr-tab.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
  box-shadow: var(--shadow-soft);
}

.aether-gr-tab__icon {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.aether-gr-tab.is-active .aether-gr-tab__icon {
  color: hsl(var(--primary));
}

.aether-gr-tab__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.aether-gr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--surface));
  cursor: pointer;
  transition: all 0.15s;
}

.aether-gr-pill.is-on {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-gr-owned {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.06);
  border: 1px solid hsl(var(--primary) / 0.18);
}

.aether-gr-owned-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.55rem;
}

.aether-gr-owned-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid hsl(var(--primary) / 0.28);
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.aether-gr-owned-chip .bi {
  color: hsl(var(--primary));
}

.aether-gr-owned-pax {
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
}

.aether-gr-owned-emd {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: hsl(var(--primary));
}

.aether-gr-aviso {
  background: #fff5f7;
  border: 1px solid rgba(228, 0, 70, 0.22);
  border-left: 4px solid #E40046;
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.05rem;
  color: hsl(var(--foreground));
}

.aether-gr-aviso__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #E40046;
  margin-bottom: 0.35rem;
}

.aether-gr-aviso__lead {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.aether-gr-aviso__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 1.25rem;
}

.aether-gr-aviso__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E40046;
  margin-bottom: 0.15rem;
}

.aether-gr-aviso__phone {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: #E40046;
  text-decoration: none;
}

.aether-gr-aviso__phone:hover {
  text-decoration: underline;
}

.aether-gr-aviso__hours {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.aether-gr-aviso__hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.aether-gr-aviso__hours span {
  color: hsl(var(--muted-foreground));
}

.aether-gr-extra-card {
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  text-align: left;
  background: hsl(var(--surface));
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.aether-gr-extra-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.aether-gr-extra-card.is-on {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.aether-checkin-hero-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  background-image: var(--gradient-brand);
  color: #fff;
}

.aether-checkin-hero-icon .bi {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.aether-gr-seg-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  padding: 0.65rem 0.85rem;
  background: hsl(var(--muted) / 0.35);
}

.aether-gr-seg-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.35rem;
}

.aether-gr-seg-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.aether-gr-seg-end {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.aether-gr-seg-end--orig {
  align-items: flex-start;
}

.aether-gr-seg-end--dest {
  align-items: flex-end;
  text-align: right;
}

.aether-gr-plane {
  font-size: 0.8rem;
  color: hsl(var(--primary));
  transform: rotate(-45deg);
  line-height: 1;
  margin-bottom: 0.1rem;
}

.aether-gr-plane--mid {
  font-size: 1rem;
  transform: rotate(90deg);
  margin-bottom: 0;
  opacity: 0.95;
}
.aether-gr-plane.aether-atr-icon,
.aether-gr-plane--mid.aether-atr-icon {
  width: var(--aether-atr-size, 2.75rem);
  height: var(--aether-atr-size, 2.75rem);
  font-size: unset;
  line-height: 0;
  margin-bottom: 0;
  transform: rotate(var(--aether-atr-rotate, 42deg));
}

.aether-gr-seg-arrow {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.aether-gr-seg-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex-shrink: 0;
  min-width: 2.75rem;
  padding: 0 0.2rem;
}

.aether-gr-duracion {
  font-size: 0.65rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.aether-gr-seg-card .aether-gr-iata {
  font-family: var(--font-display, 'Unbounded', system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  color: hsl(var(--primary));
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  max-width: 11rem;
  overflow-wrap: anywhere;
}

.aether-gr-seg-card .aether-gr-datetime {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.05rem;
}
.aether-irop-swap .aether-gr-datetime,
.aether-irop-leg .aether-gr-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-family: Inter, system-ui, sans-serif;
  margin-top: 0.12rem;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  max-width: none;
}
.aether-gr-seg-end--dest .aether-gr-datetime {
  align-items: flex-end;
}
.aether-irop-swap .aether-gr-date,
.aether-irop-leg .aether-gr-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  line-height: 1.2;
}
.aether-irop-swap .aether-gr-time,
.aether-irop-leg .aether-gr-time {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: hsl(var(--foreground));
}
.aether-irop-swap .aether-gr-seg-card--new .aether-gr-time {
  font-size: 1rem;
  color: hsl(var(--primary));
}

.aether-gr-extra-price {
  font-weight: 700;
  color: hsl(var(--primary));
}

#gestionar-reserva .ae-orden-total-value {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

#gestionar-reserva .clic-card {
  max-width: 100%;
  overflow: visible;
}

#gestionar-reserva .aether-gr-panel[data-gr-panel="cambiar"] {
  overflow: visible;
  position: relative;
  z-index: 2;
}

#gestionar-reserva .ae-max-w-4xl {
  width: 100%;
  max-width: 56rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

.aether-gr-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aether-gr-form .row {
  margin-left: 0;
  margin-right: 0;
}

.aether-gr-form > p {
  margin: 0;
  line-height: 1.45;
}

.aether-gr-form > .aether-btn-gradient {
  align-self: stretch;
}

@media (min-width: 768px) {
  .aether-gr-form > .aether-btn-gradient {
    align-self: flex-start;
  }
}

.aether-gr-field {
  min-width: 0;
}

.aether-gr-field label {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.aether-gr-field label span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.aether-gr-field input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.aether-gr-field input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.aether-checkin-steps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  animation: aether-seatmap-in 0.35s ease-out 0.08s both;
}

.aether-checkin-panel:not([hidden]) {
  animation: aether-checkin-panel-in 0.32s ease-out;
}

@keyframes aether-checkin-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .aether-checkin-page-head {
    flex-direction: column;
    gap: 0.75rem;
  }

  .aether-checkin-page-head__logo {
    width: min(9rem, 72vw);
  }
}

.aether-checkin-step-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: normal;
  font-variant-ligatures: none;
}

.aether-checkin-panel h2 {
  font-feature-settings: normal;
  font-variant-ligatures: none;
}

.aether-checkin-step-dot.is-active,
.aether-checkin-step-dot.is-done {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-checkin-panel[hidden] {
  display: none !important;
}

.aether-gr-panel[hidden] {
  display: none !important;
}

/* Enviar tiquete — compacto, botones outline rojo */
.aether-gr-ticket-send {
  border: 1px solid hsl(var(--border));
  border-radius: 0.875rem;
  background: hsl(var(--muted) / 0.25);
  padding: 0.75rem 0.875rem;
}

.aether-gr-ticket-send__hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.aether-gr-ticket-send__hint .bi {
  color: hsl(var(--primary));
}

.aether-gr-ticket-send__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.aether-gr-ticket-send__input {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 100%;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
}

.aether-gr-ticket-send__input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15);
}

.aether-gr-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 0.5rem;
  border: 1.5px solid hsl(var(--primary));
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.aether-gr-btn-outline:hover {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.aether-gr-btn-outline .bi {
  font-size: 0.85em;
}

/* Consentimiento tarifario en cambio de vuelo */
.aether-exchange-consent {
  padding: 0.75rem 0.85rem;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--muted) / 0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.aether-exchange-consent.is-attention {
  border-color: hsl(var(--destructive, 0 72% 51%));
  box-shadow: 0 0 0 3px hsl(var(--destructive, 0 72% 51%) / 0.18);
}
.aether-exchange-consent .aether-legal-link {
  font-weight: 600;
  text-decoration: underline;
}

.aether-exchange-consent.is-pulse .form-check-input {
  animation: aether-chk-pulse 1.25s ease-in-out infinite;
}
.aether-required-mark {
  color: hsl(var(--destructive, 0 72% 51%));
  font-weight: 700;
  margin-left: 0.15rem;
}
@keyframes aether-chk-pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0.45); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px hsl(var(--primary) / 0); transform: scale(1.08); }
}

/* Modal aviso gestionar reserva (validación cambio) */
.aether-gr-alert-modal .aether-extras-modal__body {
  padding-top: 0.25rem;
}
.aether-gr-alert-modal [data-aether-gr-alert-message] {
  line-height: 1.5;
  color: hsl(var(--foreground));
}

/* Cambio operacional (IROP) — anterior → nuevo */
.aether-irop-panel {
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.45);
  background: #fff;
  padding: 1rem 1.1rem 1.15rem;
}
.aether-irop-panel__badge {
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  background: #fff;
  border: 1px solid hsl(var(--primary) / 0.55);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.4rem;
}
.aether-irop-panel__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: hsl(var(--primary));
}
.aether-irop-panel__note {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}
.aether-irop-panel__body {
  display: block;
  margin-top: 0.85rem;
}
.aether-irop-panel__legs {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.aether-irop-panel__accept-all {
  margin-top: 0.85rem;
}
.aether-irop-panel__accept-all form {
  margin: 0;
}
@media (min-width: 768px) {
  .aether-irop-panel--multi .aether-irop-panel__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.35rem;
    align-items: end;
  }
  .aether-irop-panel--multi .aether-irop-panel__accept-all {
    margin-top: 0;
    align-self: end;
    padding-bottom: 0;
  }
}
.aether-irop-leg {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.aether-irop-leg__title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin: 0;
}
.aether-irop-swap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.65rem;
}
.aether-irop-swap__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.35rem;
}
.aether-irop-swap__tag--new {
  color: hsl(var(--primary));
}
.aether-gr-seg-card--old {
  opacity: 1;
  background: hsl(0 0% 93%);
  border-color: hsl(0 0% 82%);
  filter: grayscale(0.28);
  color: hsl(0 0% 32%);
}
.aether-gr-seg-card--new {
  border-color: hsl(var(--primary) / 0.55);
  background: #fff;
}
.aether-irop-swap__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  font-size: 1.35rem;
  padding-top: 1.1rem;
}
.aether-irop-swap__arrow-v { display: none; }
@media (max-width: 767px) {
  .aether-irop-swap {
    grid-template-columns: 1fr;
  }
  .aether-irop-swap__arrow {
    padding-top: 0;
    font-size: 1.15rem;
  }
  .aether-irop-swap__arrow-h { display: none; }
  .aether-irop-swap__arrow-v { display: inline-block; }
}

.aether-irop-leg--past {
  opacity: 0.95;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 1rem;
  padding: 0.75rem 0.85rem 1rem;
}
.aether-irop-leg--ok {
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 1rem;
  padding: 0.75rem 0.85rem 1rem;
}
.aether-irop-leg__actions {
  margin-top: 0.85rem;
}
.aether-irop-leg__hint,
.aether-irop-leg__ok,
.aether-irop-leg__sac {
  font-size: 0.85rem;
  margin: 0.65rem 0 0;
  color: var(--muted-foreground, #64748b);
}
.aether-irop-leg__sac {
  color: #b91c1c;
}
.aether-irop-leg__ok {
  color: #15803d;
}
.aether-irop-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1rem;
}
.aether-irop-panel__actions form {
  margin: 0;
}
.aether-irop-btn-sac {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto;
  max-width: 100%;
  padding: 0.38rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--primary));
  background: #fff;
  border: 1.5px solid hsl(var(--primary));
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
}
.aether-irop-btn-sac:hover {
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
}
.aether-irop-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.aether-irop-modal[hidden] {
  display: none;
}
.aether-irop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground) / 0.35);
}
.aether-irop-modal__panel {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100vw - 2rem));
  max-width: 100%;
  max-height: min(90vh, 52rem);
  overflow: auto;
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 18px 50px hsl(var(--foreground) / 0.18);
}
.aether-irop-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.aether-irop-modal__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin: 0;
}
.aether-flight-loader.is-success .aether-flight-loader__orbit {
  display: none;
}
.aether-flight-loader__ok {
  display: none;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  border: 2.5px solid hsl(var(--primary));
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  font-size: 1.65rem;
}
.aether-flight-loader.is-success .aether-flight-loader__ok {
  display: flex;
  animation: aether-irop-ok-in 0.38s ease;
}
@keyframes aether-irop-ok-in {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
