/**
 * Componentes reutilizables (sin Tailwind). Basados en tokens Alestra.
 */

.alestra-page-title {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  color: var(--alestra-color-heading);
  margin: 0;
}

.alestra-page-subtitle {
  color: var(--alestra-color-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  margin: 1rem 0 0;
  max-width: var(--alestra-content-max-width);
}

.alestra-page-header {
  align-items: flex-start;
  box-sizing: border-box;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  width: 100%;
}

.alestra-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.alestra-card {
  background: var(--alestra-color-surface);
  border-radius: var(--alestra-radius-xl);
  box-shadow: var(--alestra-shadow-sm);
  border: 1px solid var(--alestra-color-border);
  padding: 2rem;
}

.alestra-card--compact {
  padding: 1rem;
}

.alestra-card--border-left {
  border-left: 4px solid var(--alestra-indigo-500);
}

.alestra-card__header {
  align-items: flex-start;
  border-bottom: 1px solid var(--alestra-color-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: -0.5rem -0.5rem 1rem;
  padding: 0 0.5rem 1rem;
}

.alestra-card__title {
  color: var(--alestra-color-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.alestra-card__description {
  color: var(--alestra-color-muted);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

/* Botones — primary = violeta (submit), accent = celeste (CTA portal), secondary = outline celeste */
.alestra-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--alestra-color-primary);
  border: none;
  border-radius: var(--alestra-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease, background-color 0.15s ease;
}
.alestra-btn-primary:hover {
  background-color: var(--alestra-color-primary-hover);
  color: #fff;
  filter: brightness(0.98);
}
.alestra-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.alestra-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.15rem;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--alestra-color-accent);
  background: #fff;
  border: 1px solid var(--alestra-color-accent);
  border-radius: var(--alestra-radius-md);
  cursor: pointer;
  text-decoration: none;
}
.alestra-btn-secondary:hover {
  background: rgb(0 184 255 / 0.06);
}
.alestra-btn-accent {
  align-items: center;
  background: var(--alestra-color-accent);
  border: 1px solid var(--alestra-color-accent);
  border-radius: var(--alestra-radius-md);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.75rem;
  text-decoration: none;
}
.alestra-btn-accent:hover {
  background: var(--alestra-color-accent-hover);
  color: #fff;
  filter: brightness(0.95);
}
.alestra-btn-muted {
  align-items: center;
  background: var(--alestra-gris-raton);
  border: 1px solid var(--alestra-gris-raton);
  border-radius: var(--alestra-radius-md);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.75rem;
  text-decoration: none;
}
.alestra-btn-danger {
  align-items: center;
  background: var(--alestra-error-bg);
  border: 1px solid var(--alestra-error-bg);
  border-radius: var(--alestra-radius-md);
  color: var(--alestra-color-danger-action);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.75rem;
  text-decoration: none;
}

/* Badges */
.alestra-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}
.alestra-badge--info {
  background: var(--alestra-indigo-100);
  color: var(--alestra-indigo-900);
}
.alestra-badge--success {
  background: var(--alestra-success-bg);
  color: var(--alestra-success-text);
}
.alestra-badge--warning {
  background: var(--alestra-warning-bg);
  color: var(--alestra-warning-text);
}
.alestra-badge--muted {
  background: var(--alestra-gray-100);
  color: var(--alestra-gray-600);
}
.alestra-badge--danger {
  background: var(--alestra-error-bg);
  color: var(--alestra-error-text);
}

/* Alertas */
.alestra-alert {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem;
  border-radius: var(--alestra-radius-lg);
  font-size: 0.875rem;
}
.alestra-alert__content {
  flex: 1;
}
.alestra-alert__dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.7;
}
.alestra-alert__dismiss:hover {
  opacity: 1;
}
.alestra-alert--info {
  background: var(--alestra-indigo-50);
  border: 1px solid var(--alestra-indigo-100);
  color: var(--alestra-indigo-900);
}
.alestra-alert--error {
  background: var(--alestra-error-bg);
  border: 1px solid var(--alestra-error-border);
  color: var(--alestra-error-text);
}
.alestra-alert--success {
  background: var(--alestra-success-bg);
  border: 1px solid var(--alestra-success-border);
  color: var(--alestra-success-text);
}
.alestra-alert--warning {
  background: var(--alestra-warning-bg);
  border: 1px solid var(--alestra-warning-border);
  color: var(--alestra-warning-text);
}
.alestra-flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Formularios básicos */
.alestra-form-group {
  margin-bottom: 1rem;
}
.alestra-label {
  display: block;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  color: var(--alestra-color-text);
  margin-bottom: 0.375rem;
}
.alestra-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 12px;
  border: 0.75px solid var(--alestra-color-input-border);
  border-radius: var(--alestra-radius-input);
  background: #fff;
  color: var(--alestra-color-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
}
.alestra-input::placeholder {
  color: var(--alestra-gris-raton);
}
.alestra-input:focus {
  outline: 2px solid var(--alestra-color-focus-ring);
  outline-offset: 1px;
  border-color: var(--alestra-color-primary);
  box-shadow: none;
}

/* Sidebar gradiente avatar (patrón portal) */
.alestra-avatar-gradient {
  background: linear-gradient(to bottom right, var(--alestra-purple-600), var(--alestra-cyan-500));
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

/* Shell layout (sin Tailwind) */
.alestra-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.alestra-shell__header {
  flex-shrink: 0;
  border-bottom: 1px solid var(--alestra-gray-200);
  background: #fff;
  padding: 1rem 1.5rem;
}
.alestra-shell__header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.alestra-shell__main {
  box-sizing: border-box;
  flex: 1;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.alestra-shell__footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--alestra-gray-200);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--alestra-color-muted);
}
.alestra-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.alestra-brand__logo {
  display: block;
  max-height: 2.25rem;
  max-width: 12rem;
  object-fit: contain;
}
.alestra-footer-brand {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.alestra-footer-brand__identity {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}
.alestra-footer-brand__logo {
  display: block;
  flex: 0 0 auto;
  max-height: 2.25rem;
  max-width: 9rem;
  object-fit: contain;
}
.alestra-footer-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  text-align: left;
}
.alestra-footer-brand__copy strong {
  color: var(--alestra-color-heading);
}
.alestra-footer-brand__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}
.alestra-footer-brand__sections {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(10rem, 1fr));
}
.alestra-footer-brand__heading {
  color: inherit;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.alestra-footer-brand__links a {
  color: var(--alestra-indigo-700);
  font-weight: 600;
  text-decoration: none;
}
.alestra-footer-brand__links a:hover {
  text-decoration: underline;
}
.alestra-devise-footer {
  border-top: 1px solid var(--alestra-gray-200);
  color: var(--alestra-color-muted);
  font-size: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
}
.alestra-flex {
  display: flex;
}
.alestra-items-center {
  align-items: center;
}
.alestra-gap-3 {
  gap: 0.75rem;
}
.alestra-mb-4 {
  margin-bottom: 1rem;
}

/* Pantalla login Devise (fondo suave, sin Tailwind) */
.alestra-devise-shell {
  background: #fff;
  overflow-x: hidden;
}
.alestra-devise-shell .alestra-public-main,
.alestra-devise-shell .alestra-public-split,
.alestra-devise-shell .alestra-public-media-panel,
.alestra-devise-shell .alestra-public-media-grid {
  height: 100vh;
  min-height: 100vh;
}
.alestra-devise-shell .alestra-public-content {
  max-height: 100vh;
  overflow-y: auto;
}

/* Portal autenticado */
.alestra-portal-layout {
  background: #fff;
}
.alestra-portal-shell {
  display: grid;
  grid-template-columns: var(--alestra-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  box-shadow: var(--alestra-shadow-md);
}
.alestra-portal-sidebar {
  background: var(--alestra-blue-gray-50);
  border-right: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  min-height: 100vh;
  padding: 40px 44px;
  position: sticky;
  top: 0;
  width: var(--alestra-sidebar-width);
}
.alestra-portal-sidebar__brand {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
}
.alestra-portal-sidebar__brand .alestra-brand__logo {
  max-height: 60px;
  max-width: 145px;
}
.alestra-portal-sidebar__app-name {
  color: var(--alestra-color-heading);
  font-size: 0.95rem;
  font-weight: 700;
}
.alestra-portal-sidebar__profile {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0.5rem;
  text-align: center;
}
.alestra-portal-sidebar__avatar {
  align-items: center;
  background:
    linear-gradient(rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.1)),
    linear-gradient(135deg, var(--alestra-cyan-600), var(--alestra-magenta-500));
  border: 0;
  border-radius: 4px;
  color: #fff;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  height: 192px;
  justify-content: center;
  margin: 0;
  object-fit: cover;
  overflow: hidden;
  width: 193px;
}
.alestra-portal-sidebar__avatar--image {
  background: var(--alestra-darker-light-blue);
  padding: 0;
}
.alestra-portal-sidebar__avatar img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.alestra-portal-sidebar__welcome {
  color: var(--alestra-color-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
.alestra-portal-sidebar__user {
  color: var(--alestra-color-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.alestra-portal-sidebar__footer {
  border-top: 1px solid var(--alestra-color-border);
  color: var(--alestra-color-muted);
  font-size: 0.8125rem;
  margin-top: auto;
  padding-top: 1rem;
}
.alestra-portal-nav {
  display: grid;
  gap: 12px;
  width: 100%;
}
.alestra-portal-nav__item {
  align-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--alestra-color-muted);
  display: flex;
  font-size: 16px;
  font-weight: 400;
  gap: 12px;
  line-height: 1.1;
  padding: 12px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.alestra-portal-nav__item:hover {
  background: rgb(255 255 255 / 0.45);
  color: var(--alestra-color-muted);
}
.alestra-portal-nav__item.is-active {
  background: var(--alestra-color-nav-active-bg);
  color: var(--alestra-color-nav-active-text);
  font-weight: 700;
}
.alestra-portal-nav__icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  justify-content: center;
  width: 20px;
}
.alestra-portal-nav__icon-img {
  display: block;
  height: 20px;
  object-fit: contain;
  width: 20px;
}
.alestra-portal-nav__item.is-active .alestra-portal-nav__icon-img {
  filter: brightness(0) invert(1);
}
.alestra-portal-content {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px 46px 64px;
}
.alestra-portal-topbar {
  align-items: flex-start;
  background: #fff;
  border-bottom: 0;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
  max-width: var(--alestra-content-max-width);
  min-height: 0;
  padding: 0;
  width: 100%;
}
.alestra-portal-topbar__heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.alestra-portal-topbar__heading .alestra-page-subtitle {
  margin-top: 0;
}
.alestra-portal-topbar__eyebrow {
  color: var(--alestra-color-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.alestra-portal-topbar__actions,
.alestra-toolbar {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}
.alestra-portal-topbar__actions .alestra-page-actions {
  margin: 0;
}
.alestra-portal-main {
  box-sizing: border-box;
  flex: 1;
  max-width: var(--alestra-content-max-width);
  padding: 0;
  width: 100%;
}
.alestra-breadcrumbs {
  color: var(--alestra-color-muted);
  font-size: 0.875rem;
}
.alestra-breadcrumbs a {
  color: var(--alestra-color-heading);
  text-decoration: none;
}
.alestra-user-summary {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}
.alestra-user-summary__avatar {
  flex: 0 0 2.5rem;
  height: 2.5rem;
  width: 2.5rem;
}
.alestra-user-summary__label,
.alestra-user-summary__name {
  display: block;
}
.alestra-user-summary__label {
  color: var(--alestra-color-muted);
  font-size: 0.75rem;
}
.alestra-user-summary__name {
  color: var(--alestra-color-heading);
  font-size: 0.875rem;
}
.alestra-notification-action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--alestra-color-accent);
  border-radius: 9999px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 10px;
  position: relative;
  width: 40px;
}
.alestra-notification-action::after {
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 9999px;
  content: "";
  height: 0.625rem;
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  width: 0.625rem;
}
.alestra-portal-footer {
  background: var(--alestra-color-footer-bg);
  box-sizing: border-box;
  color: #fff;
  margin: 2rem 0 0;
  max-width: var(--alestra-content-max-width);
  padding: 3rem;
  width: 100%;
}
.alestra-portal-footer .alestra-footer-brand {
  align-items: flex-start;
}
.alestra-portal-footer .alestra-footer-brand__logo {
  filter: brightness(0) invert(1);
  max-height: 4rem;
  max-width: 12rem;
}
.alestra-portal-footer .alestra-footer-brand__copy,
.alestra-portal-footer .alestra-footer-brand__copy strong,
.alestra-portal-footer .alestra-footer-brand__links a {
  color: #fff;
}
.alestra-portal-footer .alestra-footer-brand__links {
  align-items: flex-start;
  display: grid;
  gap: 0.5rem;
  justify-content: stretch;
}
.alestra-portal-footer .alestra-footer-brand__sections {
  align-items: start;
  width: min(100%, 34rem);
}

/* Publico / no autenticado */
.alestra-public-layout,
.alestra-error-layout {
  background: #fff;
}
.alestra-public-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}
.alestra-public-nav {
  align-items: center;
  display: flex;
  gap: 1rem;
}
.alestra-public-header .alestra-brand__logo {
  max-height: 4.5rem;
  max-width: 14rem;
}
.alestra-public-main {
  min-height: 100vh;
  padding: 0;
}
.alestra-public-split {
  display: grid;
  grid-template-columns: minmax(28rem, 58%) minmax(22rem, 42%);
  min-height: 100vh;
}
.alestra-public-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 8vw, 7rem);
}
.alestra-public-card,
.alestra-error-card {
  background: rgb(255 255 255 / 0.94);
  border: 1px solid var(--alestra-color-border);
  border-radius: var(--alestra-radius-2xl);
  box-shadow: var(--alestra-shadow-md);
}
.alestra-public-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 32rem;
  padding: 0;
  width: 100%;
}
.alestra-public-card .alestra-btn-primary[type="submit"],
.alestra-public-card input.alestra-btn-primary,
.alestra-public-card button.alestra-btn-primary {
  font-size: 21px;
  min-height: 3.5rem;
  padding: 18px 30px;
  width: 100%;
}
.alestra-public-card .alestra-form-group {
  margin-bottom: 1rem;
}
.alestra-public-card .alestra-form-group + .alestra-form-group {
  margin-top: 0;
}
.alestra-form-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 0.5rem 0 1.5rem;
  min-height: 28px;
  width: 100%;
}
.alestra-password-wrap {
  align-items: center;
  display: flex;
  position: relative;
}
.alestra-password-wrap .alestra-input {
  padding-right: 44px;
}
.alestra-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  width: 24px;
}
.alestra-password-toggle::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ea8b1' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  content: "";
  display: block;
  height: 24px;
  width: 24px;
}
.alestra-password-toggle[aria-pressed="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ac4fc6' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.alestra-link {
  border-radius: 6px;
  color: var(--alestra-color-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  padding: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.alestra-link:hover {
  text-decoration: underline;
}
.alestra-form-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.alestra-form-hint {
  color: var(--alestra-color-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
}
.alestra-public-brand-panel {
  margin-bottom: 1.75rem;
  max-width: 34rem;
}
.alestra-public-brand-panel__content {
  max-width: 100%;
}
.alestra-public-brand-panel__eyebrow {
  color: var(--alestra-color-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 0.625rem;
}
.alestra-public-brand-panel__title {
  color: var(--alestra-color-heading);
  font-size: 54px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
  margin: 0;
  word-break: break-word;
}
.alestra-public-brand-panel__title strong {
  display: block;
  font-weight: 700;
}
.alestra-public-brand-panel__text {
  color: var(--alestra-color-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  margin: 1rem 0 0;
  max-width: 32rem;
}
.alestra-public-brand-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.alestra-public-media-panel {
  min-height: 100vh;
  overflow: hidden;
}
.alestra-public-media-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: 1fr 1.2fr 0.85fr;
  height: 100%;
  min-height: 100vh;
}
.alestra-public-media-item {
  background:
    linear-gradient(135deg, rgb(79 70 229 / 0.28), rgb(147 51 234 / 0.2)),
    linear-gradient(135deg, var(--alestra-gray-100), var(--alestra-indigo-100));
  overflow: hidden;
}
.alestra-public-media-item img,
.alestra-public-media-panel img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.alestra-public-media-item--small {
  min-height: 10rem;
}
.alestra-public-media-item--large {
  grid-row: span 2;
}
.alestra-public-media-item--tall {
  grid-row: span 2;
}
.alestra-public-media-item--accent {
  background:
    linear-gradient(135deg, rgb(147 51 234 / 0.35), rgb(6 182 212 / 0.28)),
    linear-gradient(135deg, var(--alestra-indigo-50), var(--alestra-gray-100));
}
.alestra-public-footer {
  color: var(--alestra-color-muted);
  font-size: 0.875rem;
  margin-top: clamp(2rem, 6vw, 4rem);
  padding: 0;
  text-align: left;
}

/* Elementos para vistas */
.alestra-filter-panel {
  background: var(--alestra-color-filter-bg);
  border: 1px solid var(--alestra-color-border);
  border-radius: var(--alestra-radius-xl);
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
}
.alestra-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.alestra-filter-label {
  color: var(--alestra-color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}
.alestra-filter-control {
  appearance: none;
  background: #fff;
  border: 0.75px solid var(--alestra-color-input-border);
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--alestra-color-muted);
  font-family: inherit;
  font-size: 16px;
  min-height: 2.5rem;
  padding: 12px 28px 12px 12px;
}
.alestra-filter-control:focus {
  outline: 2px solid var(--alestra-color-focus-ring);
  outline-offset: 1px;
  border-color: var(--alestra-color-primary);
}
.alestra-filter-select-wrap {
  display: inline-flex;
  position: relative;
}
.alestra-filter-select-wrap .alestra-filter-control {
  cursor: pointer;
  padding-right: 28px;
}
.alestra-filter-select-icon {
  height: 5px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}
.alestra-filter-select-icon::before {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--alestra-gris-raton);
  content: "";
  display: block;
}
.alestra-filter-search-wrap {
  align-items: center;
  background: #fff;
  border: 0.75px solid var(--alestra-color-input-border);
  border-radius: 3px;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  gap: 0.5rem;
  max-width: 31rem;
  min-width: min(100%, 17.5rem);
  padding: 12px;
}
.alestra-filter-search-wrap:focus-within {
  border-color: var(--alestra-color-primary);
  outline: 2px solid var(--alestra-color-focus-ring);
  outline-offset: 1px;
}
.alestra-filter-search-icon {
  color: var(--alestra-color-muted);
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}
.alestra-filter-search-icon::before {
  content: "⌕";
}
.alestra-filter-search-input,
.alestra-filter-search-wrap .alestra-filter-search {
  background: transparent;
  border: 0;
  color: var(--alestra-color-muted);
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  line-height: 15px;
  min-height: 0;
  min-width: 0;
  outline: none;
  padding: 0;
  width: 100%;
}
.alestra-filter-search-input::placeholder,
.alestra-filter-search-wrap .alestra-filter-search::placeholder {
  color: var(--alestra-color-muted);
}
.alestra-filter-search {
  min-width: min(100%, 18rem);
  padding-right: 12px;
}
.alestra-link-accent {
  color: var(--alestra-color-primary);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.alestra-link-accent:hover {
  text-decoration: underline;
}
.alestra-check-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.alestra-check {
  align-items: center;
  color: var(--alestra-color-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 400;
  gap: 0.5rem;
  line-height: 28px;
}
.alestra-check input {
  accent-color: var(--alestra-color-primary);
}
.alestra-check--styled input {
  appearance: none;
  background: #fff;
  border: 1px solid var(--alestra-gris-raton);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  height: 20px;
  margin: 0;
  width: 20px;
}
.alestra-check--styled input:checked {
  background-color: var(--alestra-color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  border-color: var(--alestra-color-primary);
}
.alestra-check--styled input:hover {
  border-color: #9ca3af;
}
.alestra-indicator-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
.alestra-indicator {
  align-items: center;
  color: var(--alestra-gray-600);
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 0.375rem;
}
.alestra-indicator::before {
  border: 1px solid currentColor;
  border-radius: 9999px;
  content: "";
  height: 0.875rem;
  width: 0.875rem;
}
.alestra-indicator--success::before {
  background: var(--alestra-success-bg);
  color: var(--alestra-success-border);
}
.alestra-indicator--warning::before {
  background: var(--alestra-error-bg);
  color: var(--alestra-error-border);
}
.alestra-indicator--blocked::before {
  background: var(--alestra-gray-600);
  color: var(--alestra-gray-600);
}
.alestra-tag {
  background: #fff;
  border: 1px solid var(--alestra-blue-950);
  border-radius: 0.25rem;
  color: var(--alestra-blue-950);
  display: inline-flex;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}
.alestra-update-note {
  color: var(--alestra-gray-700);
  font-size: 0.95rem;
  margin: 1.25rem 0 0.75rem;
}
.alestra-dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.alestra-stat-card {
  background: var(--alestra-color-surface);
  border: 1px solid var(--alestra-color-border);
  border-radius: var(--alestra-radius-xl);
  box-shadow: var(--alestra-shadow-sm);
  padding: 1.25rem;
}
.alestra-stat-card--summary {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding: 20px 24px;
}
.alestra-stat-card--green {
  background: linear-gradient(90deg, var(--alestra-success-bg) 0%, #fff 40%);
  border-left: 4px solid var(--alestra-success-text);
}
.alestra-stat-card--yellow {
  background: linear-gradient(90deg, #fff8e6 0%, #fff 40%);
  border-left: 4px solid #c9a227;
}
.alestra-stat-card--red {
  background: linear-gradient(90deg, var(--alestra-error-bg) 0%, #fff 40%);
  border-left: 4px solid var(--alestra-error-text);
}
.alestra-stat-card--violet {
  background: linear-gradient(90deg, var(--alestra-color-filter-bg) 0%, #fff 40%);
  border-left: 4px solid var(--alestra-color-primary);
}
.alestra-stat-card__icon {
  align-items: center;
  background: #fff;
  border: 1px solid var(--alestra-color-border);
  border-radius: 8px;
  display: flex;
  flex-shrink: 0;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.alestra-stat-card__icon img {
  display: block;
  height: 24px;
  object-fit: contain;
  width: 24px;
}
.alestra-stat-card__body {
  min-width: 0;
}
.alestra-stat-card__label {
  color: var(--alestra-color-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}
.alestra-stat-card--summary .alestra-stat-card__label {
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
  text-transform: none;
}
.alestra-stat-card__value {
  color: var(--alestra-color-heading);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 0;
}
.alestra-stat-card--summary .alestra-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.alestra-stat-card__unit {
  color: var(--alestra-color-muted);
  font-size: 16px;
  font-weight: 400;
}
.alestra-stat-card__hint {
  color: var(--alestra-color-muted);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

/* Quick links (dashboard) */
.alestra-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.alestra-quick-link-card {
  align-items: center;
  background: var(--alestra-darker-light-blue);
  border-radius: 12px;
  color: inherit;
  display: flex;
  gap: 24px;
  height: 137px;
  overflow: hidden;
  padding: 20px;
  text-decoration: none;
  width: 302px;
}
.alestra-quick-link-card:hover {
  filter: brightness(0.98);
}
.alestra-quick-link-card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.alestra-quick-link-card__title {
  color: var(--alestra-color-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.alestra-quick-link-card__description {
  color: var(--alestra-color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.alestra-quick-link-card__media {
  border-radius: 0 12px 12px 0;
  flex-shrink: 0;
  height: 137px;
  margin: -20px -20px -20px 0;
  overflow: hidden;
  width: 86px;
}
.alestra-quick-link-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Banners CTA */
.alestra-banner {
  align-items: center;
  border-radius: 13px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
}
.alestra-banner--violet {
  background: var(--alestra-color-primary);
}
.alestra-banner--blue {
  background: var(--alestra-color-heading);
}
.alestra-banner__text {
  flex: 1 1 18rem;
  min-width: 0;
}
.alestra-banner__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
}
.alestra-banner__copy {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}
.alestra-banner--blue .alestra-banner__copy {
  font-weight: 500;
}
.alestra-banner__action {
  flex: 1 1 16rem;
  max-width: 31rem;
  min-width: min(100%, 16rem);
}
.alestra-banner__action .alestra-filter-search-wrap,
.alestra-banner__action .alestra-filter-select-wrap,
.alestra-banner__action .alestra-filter-control,
.alestra-banner__action .alestra-input {
  background: #fff;
  width: 100%;
}
.alestra-banner__label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 6px;
}
.alestra-list {
  background: var(--alestra-color-surface);
  border: 1px solid var(--alestra-color-border);
  border-radius: var(--alestra-radius-xl);
  overflow: hidden;
}
.alestra-list__row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}
.alestra-list__row + .alestra-list__row {
  border-top: 1px solid var(--alestra-color-border);
}
.alestra-table-wrap {
  background: var(--alestra-color-surface);
  border-radius: 0.75rem;
  overflow-x: auto;
  width: 100%;
}
.alestra-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}
.alestra-table th,
.alestra-table td {
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}
.alestra-table th {
  background: var(--alestra-color-heading);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.alestra-table th:first-child {
  border-top-left-radius: 0.75rem;
}
.alestra-table th:last-child {
  border-top-right-radius: 0.75rem;
}
.alestra-table td {
  border: 1px solid var(--alestra-light-grey);
  border-top: 0;
  color: var(--alestra-color-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.1;
}
.alestra-table tr:hover td {
  filter: brightness(0.98);
}
.alestra-table tr.is-warning td,
.alestra-table tr.is-overlimit td {
  background: var(--alestra-error-bg);
}
.alestra-table tr.is-warning:hover td,
.alestra-table tr.is-overlimit:hover td {
  background: #ffd6d6;
  filter: none;
}
.alestra-table tr.is-blocked td {
  background: var(--alestra-light-grey);
}
.alestra-table tr.is-blocked:hover td {
  background: #dedee3;
  filter: none;
}
.alestra-table tr.is-expanded td {
  background: var(--alestra-gray-50);
}
.alestra-line-detail {
  background: #fff;
  border-radius: 0.75rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr) minmax(14rem, 0.8fr);
  margin: 0.75rem;
  padding: 1.25rem;
}
.alestra-line-detail__section + .alestra-line-detail__section {
  border-left: 1px solid var(--alestra-color-border);
  padding-left: 1.25rem;
}
.alestra-line-detail__title {
  color: var(--alestra-color-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.alestra-action-stack {
  display: grid;
  gap: 0.5rem;
}

/* Row actions (tablas) */
.alestra-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.alestra-row-action {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  min-height: 28px;
  padding: 4px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.alestra-row-action--block {
  background: var(--alestra-color-primary);
  color: #fff;
}
.alestra-row-action--unblock {
  background: var(--alestra-color-accent);
  color: #fff;
}
.alestra-row-action--cancel {
  background: #fff;
  border: 1px solid var(--alestra-gris-raton);
  color: var(--alestra-error-text);
}
.alestra-row-action:hover {
  filter: brightness(0.95);
}
.alestra-row-actions__muted {
  color: var(--alestra-color-muted);
  font-size: 13px;
  font-weight: 300;
}

.alestra-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.alestra-pagination__summary {
  color: var(--alestra-color-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0;
}
.alestra-pagination__nav {
  align-items: center;
  display: flex;
  gap: 1rem;
}
.alestra-pagination a,
.alestra-pagination span,
.alestra-pagination__page,
.alestra-pagination__arrow,
.alestra-pagination__ellipsis {
  color: var(--alestra-color-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
.alestra-pagination__page {
  min-width: 20px;
  text-align: center;
}
.alestra-pagination__page.is-active,
.alestra-pagination__page--active {
  font-weight: 700;
  text-decoration: underline;
}
.alestra-pagination a:hover,
.alestra-pagination__page:hover {
  text-decoration: underline;
}
.alestra-pagination__arrow.is-disabled,
.alestra-pagination__arrow--disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Settings / configuracion */
.alestra-settings-card {
  background: #fff;
  border: 1px solid var(--alestra-color-border);
  border-radius: 12px;
  display: flex;
  gap: 40px;
  padding: 40px;
  width: 100%;
}
.alestra-settings-card__main {
  display: flex;
  flex: 0 1 395px;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}
.alestra-settings-card__aside {
  flex: 1 1 446px;
  min-width: 0;
}
.alestra-settings-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.alestra-settings-section__title {
  color: var(--alestra-color-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.alestra-settings-section__description {
  color: var(--alestra-color-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0;
}
.alestra-settings-divider {
  background: var(--alestra-color-border);
  border: 0;
  height: 1px;
  margin: 0;
}
.alestra-form-grid {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: 1fr 1fr;
}
.alestra-form-grid__full {
  grid-column: 1 / -1;
}
.alestra-field-value {
  align-items: center;
  background: var(--alestra-color-filter-bg);
  border: 1px solid var(--alestra-color-border);
  border-radius: 8px;
  color: var(--alestra-color-text);
  display: flex;
  font-size: 16px;
  font-weight: 400;
  min-height: 48px;
  padding: 12px 16px;
}
.alestra-settings-card .alestra-label {
  color: var(--alestra-color-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.alestra-settings-card .alestra-input {
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 16px;
}
.alestra-pill {
  align-items: center;
  align-self: flex-start;
  background: var(--alestra-color-filter-bg);
  border-radius: 100px;
  color: var(--alestra-color-heading);
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 12px;
}

/* Toggle switch */
.alestra-switch {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  user-select: none;
}
.alestra-switch__input {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.alestra-switch__track {
  background: var(--alestra-gris-raton);
  border-radius: 100px;
  flex-shrink: 0;
  height: 20px;
  position: relative;
  transition: background-color 0.25s ease;
  width: 36px;
}
.alestra-switch__track::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  content: "";
  height: 16px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 0.25s ease;
  width: 16px;
}
.alestra-switch__input:checked + .alestra-switch__track {
  background: var(--alestra-color-primary);
}
.alestra-switch__input:checked + .alestra-switch__track::after {
  transform: translateX(16px);
}
.alestra-switch__input:focus-visible + .alestra-switch__track {
  outline: 2px solid var(--alestra-color-heading);
  outline-offset: 2px;
}
.alestra-switch__label {
  color: var(--alestra-color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.alestra-empty-state {
  background: var(--alestra-color-surface);
  border: 1px dashed var(--alestra-gray-300);
  border-radius: var(--alestra-radius-xl);
  padding: 2rem;
  text-align: center;
}
.alestra-empty-state__title {
  color: var(--alestra-color-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}
.alestra-empty-state__text {
  color: var(--alestra-color-muted);
  margin: 0.5rem auto 0;
  max-width: 32rem;
}
.alestra-dialog-backdrop {
  align-items: center;
  background: var(--alestra-color-overlay);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 50;
}
.alestra-dialog {
  background: var(--alestra-color-surface);
  border-radius: var(--alestra-radius-2xl);
  box-shadow: var(--alestra-shadow-md);
  max-width: 32rem;
  padding: 1.5rem;
  width: 100%;
}
.alestra-dialog__title {
  color: var(--alestra-color-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.alestra-dialog__body {
  color: var(--alestra-color-muted);
  margin-top: 0.75rem;
}
.alestra-dialog__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

/* Errores */
.alestra-error-main {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}
.alestra-error-card {
  max-width: 36rem;
  padding: 2rem;
  text-align: center;
  width: 100%;
}
.alestra-error-card__brand {
  margin-bottom: 1.5rem;
}
.alestra-error-code {
  color: var(--alestra-indigo-700);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}
.alestra-error-title {
  color: var(--alestra-color-heading);
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1;
  margin: 0;
}
.alestra-error-message {
  color: var(--alestra-color-muted);
  margin-top: 1rem;
}
.alestra-error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .alestra-portal-shell {
    grid-template-columns: 1fr;
  }
  .alestra-portal-sidebar {
    min-height: auto;
    padding: 24px;
    position: static;
    width: 100%;
  }
  .alestra-portal-sidebar__avatar {
    height: 120px;
    width: 120px;
  }
  .alestra-portal-content {
    padding: 24px 20px 40px;
  }
  .alestra-portal-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  .alestra-portal-nav__item {
    flex: 0 0 auto;
  }
  .alestra-page-title {
    font-size: 32px;
  }
  .alestra-portal-topbar {
    align-items: stretch;
    flex-direction: column;
  }
  .alestra-portal-topbar__actions {
    justify-content: flex-start;
  }
  .alestra-page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .alestra-public-split {
    grid-template-columns: 1fr;
  }
  .alestra-public-content {
    min-height: auto;
  }
  .alestra-public-media-panel,
  .alestra-public-media-grid {
    min-height: 28rem;
  }
  .alestra-line-detail {
    grid-template-columns: 1fr;
  }
  .alestra-line-detail__section + .alestra-line-detail__section {
    border-left: 0;
    border-top: 1px solid var(--alestra-color-border);
    padding-left: 0;
    padding-top: 1rem;
  }
  .alestra-settings-card {
    flex-direction: column;
  }
  .alestra-settings-card__main {
    flex: 1 1 auto;
    width: 100%;
  }
  .alestra-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .alestra-banner__action {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .alestra-portal-main {
    padding: 0;
  }
  .alestra-error-card {
    padding: 1.25rem;
  }
  .alestra-page-title {
    font-size: 28px;
  }
  .alestra-public-content {
    padding: 2rem 1.25rem;
  }
  .alestra-public-brand-panel__title {
    font-size: 2.25rem;
  }
  .alestra-public-media-panel {
    display: none;
  }
  .alestra-list__row,
  .alestra-dialog__actions,
  .alestra-page-actions,
  .alestra-footer-brand {
    align-items: stretch;
    flex-direction: column;
  }
  .alestra-footer-brand__identity,
  .alestra-footer-brand__links {
    justify-content: center;
  }
  .alestra-footer-brand__copy {
    text-align: center;
  }
  .alestra-portal-footer {
    margin: 1rem 0 0;
    padding: 2rem 1.25rem;
  }
  .alestra-form-grid {
    grid-template-columns: 1fr;
  }
  .alestra-quick-link-card {
    width: 100%;
  }
  .alestra-settings-card {
    padding: 24px;
  }
}
