/* OpenPBL Play — demo-style theme.
   Mirror of CustomerAppDomain/src/app/demo/demo.scss compiled to plain CSS,
   plus shell styles for home / invite / error. */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Lato:wght@400;500;700;900&display=swap');

:root {
  --demo-green: #32cbba;
  --demo-green-dark: #159989;
  --demo-green-bg: rgba(50, 203, 186, 0.06);
  --demo-text: #0f172a;
  --demo-text-secondary: #64748b;
  --demo-text-muted: #94a3b8;
  --demo-border: rgba(15, 23, 42, 0.08);
  --demo-card-bg: #fff;
  --demo-radius: 16px;
  --demo-radius-sm: 10px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--demo-text);
  background: #f0faf8;
}

/* ───────────────────────────────────────────────────────────────────────────
   Episode page card
   ─────────────────────────────────────────────────────────────────────────── */
.ep-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 32px);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  background: #f0faf8;
  position: relative;
}
.ep-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(50, 203, 186, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 60%),
    #f0faf8;
  pointer-events: none;
  z-index: 0;
}
.ep-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
  width: 100%;
  max-width: 560px;
  padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 36px);
  margin: 0 auto;
}
.ep-card__logo-area {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 40px;
}
.ep-card__logo {
  height: 38px;
  object-fit: contain;
}
.ep-card__footer {
  margin-top: 24px;
  text-align: center;
}
.ep-card__back-link {
  background: none;
  border: none;
  color: #32cbba;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.ep-card__back-link:hover { color: #159989; }

/* Hero */
.ep-hero {
  text-align: center;
  margin-bottom: 24px;
}
.ep-hero__title {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #0f172a;
  font-family: 'Merriweather', Georgia, serif;
  letter-spacing: -0.02em;
}
.ep-hero__title-line { display: block; }
.ep-hero__title-accent { color: #32cbba; }
.ep-hero__subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  letter-spacing: 0.06em;
  font-family: 'Lato', sans-serif;
}

/* Summary grid (Série | Temporada | Episódio) */
.ep-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 20px;
  background: white;
}
.ep-summary-grid__item {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid #e2e8f0;
  position: relative;
}
.ep-summary-grid__item:last-child { border-right: none; }
.ep-summary-grid__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: 'Lato', sans-serif;
}
.ep-summary-grid__value {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
  font-family: 'Lato', sans-serif;
}
@media (max-width: 540px) {
  .ep-summary-grid { grid-template-columns: 1fr; }
  .ep-summary-grid__item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 20px;
  }
  .ep-summary-grid__item:last-child { border-bottom: none; }
}

/* Custom select (Temporada / Episódio) */
.ep-custom-select {
  position: relative;
  width: 100%;
  font-family: 'Lato', sans-serif;
  z-index: 10;
}
.ep-custom-select__trigger {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  position: relative;
  width: 100%;
  min-width: 0;
}
.ep-custom-select__trigger:hover { border-color: #32cbba; }
.ep-custom-select__trigger--open {
  border-color: #32cbba;
  box-shadow: 0 0 0 3px rgba(50, 203, 186, 0.12);
}
.ep-custom-select__arrow {
  position: absolute;
  right: 12px;
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2332cbba' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.2s;
}
.ep-custom-select__trigger--open .ep-custom-select__arrow { transform: rotate(180deg); }
.ep-custom-select__options {
  position: absolute;
  top: calc(100% + 8px);
  min-width: 100%;
  width: max-content;
  max-width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(50, 203, 186, 0.15);
  z-index: 1000;
  list-style: none;
  padding: 8px;
  margin: 0;
  animation: epFadeDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ep-custom-select__options--left { left: 0; }
.ep-custom-select__options--right { right: 0; }
.ep-custom-select__option {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
  line-height: 1.4;
  word-break: break-word;
}
.ep-custom-select__option:last-child { margin-bottom: 0; }
.ep-custom-select__option:hover { background: #f0fdfa; color: #14b8a6; }
.ep-custom-select__option--selected { background: #32cbba; color: white !important; }
.ep-custom-select__overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.ep-custom-select__label-text {
  display: block;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
  text-align: left;
}
@keyframes epFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pagination tabs (pré-episódio / episódio / pós-episódios) */
.ep-pagination {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: rgba(50, 203, 186, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(50, 203, 186, 0.1);
}
.ep-pagination__tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Lato', sans-serif;
}
.ep-pagination__tab:hover {
  background: rgba(50, 203, 186, 0.1);
  color: #159989;
}
.ep-pagination__tab--active {
  background: #fff !important;
  color: #159989 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Episode header bar (verde) */
.ep-episode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #32cbba;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
}
.ep-episode-header__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  font-family: 'Lato', sans-serif;
}
.ep-episode-header__play {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  border: none;
  border-radius: 7px;
  padding: 8px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, box-shadow .15s;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.ep-episode-header__play:hover {
  background: #1e293b;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}
.ep-episode-header__play svg { fill: currentColor; }

/* Section title */
.ep-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 16px 4px 8px;
  margin: 0;
  font-family: 'Lato', sans-serif;
}
.ep-section-title--restrict {
  margin-top: 8px;
  color: #e11d48;
}

/* Activity list */
.ep-activity-list {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.ep-activity-row:not(.ep-activity-row--locked):hover {
  border-color: rgba(50, 203, 186, 0.4);
  box-shadow: 0 2px 8px rgba(50, 203, 186, 0.1);
}
.ep-activity-row--locked { background: #f8fafc; }
.ep-activity-row--accessed {
  border-color: rgba(50, 203, 186, 0.3);
  background: rgba(50, 203, 186, 0.03);
}
.ep-activity-row__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ep-activity-row__title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  font-family: 'Lato', sans-serif;
  word-break: break-word;
}
.ep-activity-row__subtitle {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
  font-family: 'Lato', sans-serif;
  word-break: break-word;
  display: block;
}
.ep-activity-row--locked .ep-activity-row__title { color: #94a3b8; }
.ep-activity-row__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 7px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  background: #32cbba;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.ep-activity-row__btn:hover:not(:disabled):not(.ep-activity-row__btn--locked):not(.ep-activity-row__btn--accessed) {
  background: #159989;
  box-shadow: 0 2px 8px rgba(50, 203, 186, 0.3);
}
.ep-activity-row__btn--locked {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}
.ep-activity-row__btn--accessed {
  background: #f1f5f9;
  color: #64748b;
  cursor: default;
}

/* Empty state (no activities) */
.ep-empty {
  padding: 28px 16px;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 10px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
}

/* Nav controls (Anterior / dots / Próximo) */
.ep-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.ep-nav-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-family: 'Lato', sans-serif;
}
.ep-nav-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.ep-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ep-nav-btn--next {
  background: #32cbba;
  color: #fff;
  border-color: #32cbba;
}
.ep-nav-btn--next:hover:not(:disabled) {
  background: #159989;
  border-color: #159989;
}
.ep-nav-dots {
  display: flex;
  gap: 8px;
}
.ep-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s;
}
.ep-nav-dot--active {
  background: #32cbba;
  width: 20px;
  border-radius: 4px;
}

/* ───────────────────────────────────────────────────────────────────────────
   Login / Invite / School-search inside ep-card (entry flow)
   ─────────────────────────────────────────────────────────────────────────── */
.ep-entry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ep-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-field__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: 'Lato', sans-serif;
}
.ep-input {
  width: 100%;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s;
}
.ep-input::placeholder { color: #94a3b8; }
.ep-input:focus {
  border-color: #32cbba;
  box-shadow: 0 0 0 3px rgba(50, 203, 186, 0.12);
  background: #fff;
}
.ep-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #159989 0%, #32cbba 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(50, 203, 186, 0.25);
  transition: transform .15s, box-shadow .15s;
}
.ep-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(50, 203, 186, 0.35);
}
.ep-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* School autocomplete */
.ep-autocomplete {
  position: relative;
}
.ep-autocomplete__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(50, 203, 186, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  list-style: none;
  padding: 6px;
  margin: 0;
  animation: epFadeDown 0.18s ease-out;
}
.ep-autocomplete__item {
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ep-autocomplete__item:hover,
.ep-autocomplete__item[aria-selected="true"] {
  background: #f0fdfa;
  color: #14b8a6;
}
.ep-autocomplete__item small {
  color: #94a3b8;
  font-size: 12px;
  flex-shrink: 0;
}
.ep-autocomplete__empty {
  padding: 12px;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

/* SSO button */
.ep-sso-btn {
  width: 100%;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background .15s, transform .15s;
  margin-top: 6px;
}
.ep-sso-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Saved-student banner */
.ep-banner {
  background: rgba(50, 203, 186, 0.06);
  border: 1px solid rgba(50, 203, 186, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  font-family: 'Lato', sans-serif;
}
.ep-banner__org {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #159989;
  margin-bottom: 6px;
}
.ep-banner__title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}
.ep-banner__line {
  font-size: 13px;
  color: #64748b;
  display: block;
  line-height: 1.5;
}
.ep-banner__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.ep-banner__btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  border: none;
  transition: all .15s;
}
.ep-banner__btn--secondary {
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.ep-banner__btn--secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.ep-banner__btn--primary {
  background: #32cbba;
  color: #fff;
}
.ep-banner__btn--primary:hover {
  background: #159989;
}

/* User info pill (bottom of episode card) */
.ep-userinfo {
  margin-top: 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ep-userinfo__name {
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
}
.ep-userinfo__email,
.ep-userinfo__role {
  color: #64748b;
  font-size: 12px;
}

/* ───────────────────────────────────────────────────────────────────────────
   Home page (mobile learning card)
   ─────────────────────────────────────────────────────────────────────────── */
.home-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 32px);
  background: #f0faf8;
  position: relative;
}
.home-card {
  background: linear-gradient(135deg, #159989 0%, #32cbba 50%, #0ea5e9 100%);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  width: 100%;
  max-width: 1080px;
  box-shadow:
    0 24px 48px rgba(6, 54, 48, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.home-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 50%);
  pointer-events: none;
}
.home-card__header {
  flex: 0 1 550px;
  text-align: left;
  position: relative;
  z-index: 1;
}
.home-card__logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
}
.home-card__icon {
  font-size: 56px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.home-card__title {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-family: 'Lato', sans-serif;
}
.home-card__subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
.home-card__qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.home-card__qr-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 28px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-card__qr-box img {
  width: 160px;
  height: 160px;
  display: block;
}
.home-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.home-card__instruction {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.home-card__url {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 99px;
  text-decoration: none;
}
.home-card__url:hover { background: rgba(255, 255, 255, 0.25); }
.home-card__scan-tip {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
@media (max-width: 860px) {
  .home-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 36px;
  }
  .home-card__header { text-align: center; }
  .home-card__title { font-size: 32px; }
  .home-card__subtitle { font-size: 17px; }
}

/* ───────────────────────────────────────────────────────────────────────────
   Error page card
   ─────────────────────────────────────────────────────────────────────────── */
.err-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 32px);
  background: #f0faf8;
  position: relative;
}
.err-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}
.err-card__icon {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}
.err-card__title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-family: 'Merriweather', Georgia, serif;
}
.err-card__message {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px;
}
.err-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #159989 0%, #32cbba 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(50, 203, 186, 0.25);
  transition: transform .15s, box-shadow .15s;
}
.err-card__action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(50, 203, 186, 0.35);
}

/* Utility */
.is-hidden { display: none !important; }
