:root {
  --bg: #f4f6f8;
  --bg-soft: #eef3f5;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #0f1720;
  --muted: #5b6672;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --brand-soft: #ccfbf1;
  --line: rgba(15, 23, 32, 0.08);
  --shadow-soft: 0 14px 34px rgba(15, 23, 32, 0.08);
  --radius-lg: 1.1rem;
  --radius-md: 0.8rem;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 12%, #d8f3e9 0%, rgba(216, 243, 233, 0) 40%),
    radial-gradient(circle at 88% 18%, #dbeafe 0%, rgba(219, 234, 254, 0) 38%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-soft) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: var(--brand-strong);
}

a:hover {
  color: #0b4f4a;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 21rem;
  height: 21rem;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.33;
  pointer-events: none;
}

.bg-orb-one {
  background: #6ee7b7;
  left: -8rem;
  top: -4rem;
}

.bg-orb-two {
  background: #7dd3fc;
  right: -8rem;
  top: 20%;
}

.main-shell {
  flex: 1 0 auto;
  position: relative;
}

.site-nav {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.site-footer__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.9rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.95rem 0 1.08rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #0f172a;
  text-decoration: none;
  min-width: 0;
}

.site-footer__brand:hover,
.site-footer__brand:focus {
  color: #0f172a;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__links a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  color: var(--brand-strong);
}

.site-footer__brand-copy {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
}

.site-footer__contact {
  margin-left: auto;
}

.site-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.09);
  border: 1px solid rgba(15, 118, 110, 0.16);
  text-decoration: none;
  font-weight: 600;
  color: #0f766e;
  white-space: nowrap;
}

.site-footer__whatsapp:hover,
.site-footer__whatsapp:focus {
  color: #0b5d56;
  background: rgba(15, 118, 110, 0.16);
  border-color: rgba(15, 118, 110, 0.24);
}

.whatsapp-fab,
.install-fab {
  position: fixed;
  right: 1rem;
  z-index: 1100;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.2);
}

.whatsapp-fab {
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  color: #fff;
  background: #25d366;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
  color: #fff;
  background: #1fa856;
}

.install-fab {
  bottom: 4.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  font-weight: 700;
}

.install-fab:hover,
.install-fab:focus {
  background: linear-gradient(140deg, #0b5d56, #0c4f4a);
}

.ios-install-hint {
  position: fixed;
  right: 1rem;
  bottom: 8.2rem;
  z-index: 1100;
  width: min(320px, calc(100vw - 2rem));
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 32, 0.18);
}

.ios-install-hint__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  border: 0;
  background: transparent;
  color: #64748b;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark:hover {
  color: var(--text);
}

.brand-mark__icon {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: #fff;
}

.nav-link {
  color: #1f2937;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
  background: rgba(15, 118, 110, 0.08);
}

.nav-link-cta {
  background: var(--brand);
  color: #fff;
}

.nav-link-cta:hover,
.nav-link-cta:focus {
  color: #fff;
  background: var(--brand-strong);
}

.nav-link-auth,
.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link-btn {
  border: 0;
  background: none;
  cursor: pointer;
  line-height: inherit;
  font: inherit;
}

.nav-link-logout {
  color: #1f2937;
}

.plan-pill {
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.app-alert {
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.08);
}

.panel-card,
.feature-card,
.metric-card,
.hero-panel,
.public-card,
.hero-sidecard,
.mobile-link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel-card,
.public-card,
.hero-sidecard,
.mobile-link-card {
  padding: 1.4rem;
}

.hero-panel {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 43ch;
}

.hero-sidecard h2 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.hero-sidecard li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  color: #1f2937;
}

.hero-sidecard li i {
  color: var(--brand);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.services-head {
  margin-bottom: 0.2rem;
}

.services-head p {
  max-width: 58ch;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 32, 0.1);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0) 56%),
    rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 16px 32px rgba(15, 23, 32, 0.14);
  transform: translateY(-2px);
}

.service-card .feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #ccfbf1, #dbeafe);
  color: #0f766e;
}

.service-card h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  line-height: 1.45;
}

.feature-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.dashboard-head {
  margin-bottom: 0.4rem;
}

.superadmin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.superadmin-head__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.superadmin-notify-btn {
  position: relative;
}

.superadmin-notify-badge {
  font-size: 0.72rem;
}

.metric-card {
  padding: 1.2rem;
}

.metric-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 0.7rem;
}

.metric-label {
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.metric-value {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.metric-note {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.public-url-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.public-card {
  padding: 1.7rem;
}

.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 1rem;
  object-fit: cover;
}

.profile-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.profile-add-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.profile-create-dropdown {
  border: 1px solid #d6dee6;
  border-radius: 0.95rem;
  background: #fff;
  padding: 1rem;
}

.profile-upgrade-card {
  border: 1px solid #bfdbfe;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at top right, #dbeafe 0%, rgba(219, 234, 254, 0.25) 48%),
    #fff;
  padding: 1rem;
}

.profile-upgrade-card__icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  background: #dbeafe;
  color: #1d4ed8;
}

.profile-manage-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.profile-manage-card.is-current {
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.18), var(--shadow-soft);
}

.profile-manage-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.profile-manage-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 0.82rem;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-manage-card__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #ccfbf1, #dbeafe);
  color: #0f766e;
  font-weight: 700;
}

.profile-manage-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-manage-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.profile-manage-card__actions .btn {
  width: 100%;
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.min-w-0 {
  min-width: 0;
}

.superadmin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
}

.superadmin-switch-card {
  width: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #d8e1e8;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.superadmin-switch-card:hover,
.superadmin-switch-card:focus {
  color: inherit;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.superadmin-switch-card.is-active {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.18), var(--shadow-soft);
}

.superadmin-switch-card__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ccfbf1;
  color: #115e59;
  flex-shrink: 0;
}

.superadmin-switch-card__arrow {
  margin-left: auto;
  color: #64748b;
}

.superadmin-search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.superadmin-search-field {
  margin: 0;
  position: relative;
  flex: 1 1 270px;
}

.superadmin-search-field i {
  position: absolute;
  top: 50%;
  left: 0.65rem;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.superadmin-search-field .form-control {
  border-radius: 0.72rem;
  border: 1px solid #d1d8de;
  padding-left: 2rem;
  min-height: 2.2rem;
}

.superadmin-user-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
}

.superadmin-user-cell__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0369a1;
  flex-shrink: 0;
}

.superadmin-user-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.77rem;
  color: #0f766e;
  text-decoration: none;
  margin-top: 0.08rem;
}

.superadmin-user-link:hover,
.superadmin-user-link:focus {
  color: #0b5d56;
  text-decoration: underline;
}

.superadmin-plan-chip,
.superadmin-coupon-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.24rem 0.58rem;
}

.superadmin-plan-chip {
  background: #dcfce7;
  color: #166534;
}

.superadmin-coupon-chip {
  background: #fef9c3;
  color: #854d0e;
}

.superadmin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.superadmin-plan-form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.superadmin-plan-form .form-select {
  min-width: 130px;
  width: auto;
}

.superadmin-user-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.superadmin-user-card:last-child {
  margin-bottom: 0;
}

.superadmin-user-card__head {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.62rem;
}

.superadmin-user-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.superadmin-user-card__meta {
  margin: 0;
  font-size: 0.84rem;
  color: #334155;
}

.superadmin-user-card__meta strong {
  display: block;
  color: #0f172a;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.08rem;
}

.superadmin-user-card__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.superadmin-coupon-card {
  border: 1px solid #d8e1e8;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
}

.superadmin-coupon-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.superadmin-coupon-card__meta {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.superadmin-coupon-card__meta p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #334155;
  font-size: 0.84rem;
}

.superadmin-coupon-card__meta strong {
  color: #0f172a;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.superadmin-coupon-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.superadmin-coupon-edit-grid p {
  margin-bottom: 0;
}

.superadmin-coupon-edit-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.superadmin-coupon-edit-check label {
  margin: 0;
}

.superadmin-coupon-edit-check input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
}

.superadmin-plan-card {
  border: 1px solid #d8e1e8;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
}

.superadmin-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.superadmin-plan-card__meta {
  margin-top: 0.7rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.superadmin-plan-card__meta p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #334155;
  font-size: 0.84rem;
}

.superadmin-plan-card__meta strong {
  color: #0f172a;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.superadmin-plan-limit-form small {
  margin-top: -0.3rem;
  display: block;
  margin-bottom: 0.15rem;
}

.superadmin-icon-card {
  border: 1px solid #d8e1e8;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.superadmin-icon-card__head {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.superadmin-icon-card__preview {
  width: 2rem;
  height: 2rem;
  border-radius: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0369a1;
  flex-shrink: 0;
}

.superadmin-icon-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.superadmin-payment-note {
  height: 100%;
  border: 1px solid #d8e1e8;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.82rem;
}

.superadmin-pagination-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.superadmin-pagination .page-link {
  border-radius: 0.65rem;
  border-color: #d1d8de;
  color: #0f172a;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.superadmin-pagination .page-item.disabled .page-link {
  color: #94a3b8;
}

.avatar-placeholder {
  background: linear-gradient(145deg, #d1fae5, #bae6fd);
}

.public-theme-scope {
  background:
    linear-gradient(180deg, var(--public-brand-soft, #ccfbf1) 0%, rgba(255, 255, 255, 0.9) 48%),
    var(--surface);
}

.public-theme-scope .btn-brand {
  background: linear-gradient(140deg, var(--public-brand, var(--brand)), var(--public-brand-strong, var(--brand-strong)));
}

.public-theme-scope .btn-brand:hover,
.public-theme-scope .btn-brand:focus {
  background: linear-gradient(140deg, var(--public-brand-strong, var(--brand-strong)), var(--public-brand, var(--brand)));
}

.public-theme-scope .avatar-placeholder {
  background: linear-gradient(145deg, var(--public-brand-soft, #ccfbf1), #ffffff);
}

.public-map-section {
  border-top: 1px dashed rgba(15, 23, 32, 0.15);
  padding-top: 0.9rem;
}

.public-map-frame {
  border: 1px solid rgba(15, 23, 32, 0.12);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
}

.public-map-frame iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.avatar-cropper__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.avatar-cropper__canvas {
  min-height: 260px;
  border: 1px dashed #b8c3cd;
  border-radius: 0.75rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-cropper__image {
  width: 100%;
  max-height: 380px;
  display: block;
}

.avatar-cropper__placeholder {
  color: #64748b;
  font-size: 0.92rem;
}

.avatar-cropper__controls input[type='range'] {
  width: 100%;
}

.theme-select-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-select-preview {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 32, 0.14);
  background: var(--preview-color, #0f766e);
  flex-shrink: 0;
}

.theme-color-select {
  flex: 1;
}

.theme-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.theme-choice {
  cursor: pointer;
  margin: 0;
}

.theme-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-choice__box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d1d8de;
  border-radius: 0.72rem;
  background: #fff;
  padding: 0.52rem 0.62rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-choice__swatch {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 32, 0.08);
  background: linear-gradient(135deg, var(--swatch-color), var(--swatch-soft));
  flex-shrink: 0;
}

.theme-choice__label {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 500;
}

.theme-choice input:checked + .theme-choice__box {
  border-color: var(--swatch-color);
  box-shadow: 0 0 0 2px var(--swatch-soft);
  transform: translateY(-1px);
}

.theme-choice:hover .theme-choice__box {
  border-color: #94a3b8;
}

.action-icon-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delete-modal-card {
  border: 1px solid #d6dee6;
  border-radius: 1rem;
  box-shadow: 0 20px 48px rgba(15, 23, 32, 0.24);
}

.delete-modal-card .modal-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.delete-modal-card__icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.52rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.88rem;
}

.delete-modal-card .modal-body {
  color: #334155;
}

.delete-modal-card .modal-footer {
  gap: 0.45rem;
}

.btn-brand,
.btn-soft {
  border-radius: 0.75rem;
  font-weight: 700;
  border: 0;
  padding: 0.63rem 1.05rem;
}

.btn-brand {
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(140deg, #0b5d56, #0c4f4a);
}

.btn-soft {
  color: var(--brand-strong);
  background: rgba(15, 118, 110, 0.12);
}

.btn-soft:hover,
.btn-soft:focus {
  color: #0a4f48;
  background: rgba(15, 118, 110, 0.2);
}

.btn-link-item {
  border-radius: 0.9rem;
}

.btn-google {
  border-radius: 0.75rem;
  font-weight: 700;
  border: 1px solid #d1d8de;
  padding: 0.63rem 1.05rem;
  background: #fff;
  color: #111827;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}

.btn-google:hover,
.btn-google:focus {
  color: #111827;
  border-color: #aab5bf;
  background: #f8fafc;
}

.btn-google:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #6b7280;
  margin: 1rem 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d6dde3;
}

.auth-card {
  padding: 1.55rem;
}

.auth-card__head {
  margin-bottom: 1rem;
}

.auth-form {
  margin-top: 0.2rem;
}

.auth-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-remember input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--brand);
}

.auth-inline-link {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--brand-strong);
  text-decoration: none;
}

.auth-inline-link:hover,
.auth-inline-link:focus {
  color: #0b5d56;
  text-decoration: underline;
}

.auth-footnote {
  margin-top: 1rem;
  padding-top: 0.92rem;
  border-top: 1px dashed #d6dde3;
  font-size: 0.9rem;
  color: #475569;
  text-align: center;
}

.auth-footnote a {
  font-weight: 700;
  text-decoration: none;
}

.auth-footnote a:hover,
.auth-footnote a:focus {
  text-decoration: underline;
}

.auth-social-error {
  border-radius: 0.72rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-strong);
  font-size: 0.75rem;
}

.stack-form p {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.stack-form label {
  font-weight: 600;
  color: #111827;
}

.stack-form input,
.stack-form select,
.stack-form textarea,
.stack-form input[type='file'] {
  width: 100%;
  border: 1px solid #d1d8de;
  border-radius: 0.72rem;
  padding: 0.62rem 0.74rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus,
.stack-form input[type='file']:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 0.22rem rgba(20, 184, 166, 0.15);
}

.stack-form .helptext {
  color: var(--muted);
  font-size: 0.84rem;
}

.stack-form ul.errorlist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: #b91c1c;
  font-size: 0.88rem;
}

.table-theme {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(15, 118, 110, 0.03);
  --bs-table-color: #1f2937;
}

.table-theme th {
  border-bottom-width: 1px;
  font-size: 0.86rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.table-theme td,
.table-theme th {
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
}

.mobile-link-card {
  margin-bottom: 0.85rem;
}

.mobile-link-card:last-child {
  margin-bottom: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}

.info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list li span {
  color: var(--muted);
}

.info-list li strong {
  text-align: right;
  max-width: 58%;
  word-break: break-word;
}

.payment-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ecfeff;
  color: #155e75;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.9rem;
}

.qr-shell {
  display: inline-flex;
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
}

.reveal {
  animation: fade-rise 0.7s cubic-bezier(0.17, 0.67, 0.21, 1.01) both;
}

.row > .reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.row > .reveal:nth-child(3) {
  animation-delay: 0.14s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.75rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
  }

  .nav-link {
    margin-bottom: 0.15rem;
  }

  .hero-sidecard {
    margin-top: 0.5rem;
  }

  .panel-card,
  .public-card {
    padding: 1.2rem;
  }

  .site-footer__inner {
    justify-content: center;
  }

  .site-footer__brand {
    flex: 1 1 100%;
    justify-content: center;
  }

  .site-footer__brand-copy {
    text-align: center;
  }

  .site-footer__links {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer__contact {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-panel {
    padding: 1.2rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .public-url-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-brand,
  .btn-soft {
    width: 100%;
    justify-content: center;
  }

  .profile-toolbar .btn-brand {
    width: auto;
  }

  .profile-manage-card__actions {
    grid-template-columns: 1fr;
  }

  .auth-inline-row {
    align-items: flex-start;
  }

  .superadmin-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .superadmin-head {
    align-items: stretch;
  }

  .superadmin-head__actions {
    width: 100%;
  }

  .superadmin-head__actions .btn {
    width: auto;
  }

  .superadmin-search-form {
    width: 100%;
  }

  .superadmin-search-field {
    flex-basis: 100%;
  }

  .superadmin-user-card__grid {
    grid-template-columns: 1fr;
  }

  .superadmin-plan-form .form-select {
    width: 100%;
  }

  .superadmin-search-form .btn-soft,
  .superadmin-search-form .btn-outline-secondary {
    width: auto;
  }

  .superadmin-coupon-card__meta,
  .superadmin-coupon-edit-grid,
  .superadmin-plan-card__meta {
    grid-template-columns: 1fr;
  }

  .superadmin-icon-card {
    flex-direction: column;
    align-items: stretch;
  }

  .superadmin-icon-card__actions {
    width: 100%;
  }

  .superadmin-icon-card__actions .btn {
    flex: 1 1 0;
  }

  .superadmin-payment-note .btn {
    width: auto;
  }

  .superadmin-pagination-wrap {
    justify-content: center;
  }

  .mobile-link-card .btn {
    width: auto;
  }

  .site-footer {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  body.has-install-fab .site-footer {
    padding-bottom: calc(4.9rem + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .site-footer__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 0.6rem;
  }

  .site-footer__contact {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-footer__whatsapp {
    justify-content: center;
  }

  .whatsapp-fab {
    bottom: 0.8rem;
    right: 0.75rem;
  }

  .install-fab {
    bottom: 4.2rem;
    right: 0.75rem;
  }

  .ios-install-hint {
    bottom: 7.8rem;
    right: 0.75rem;
    width: min(320px, calc(100vw - 1.5rem));
  }

  .info-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-list li strong {
    max-width: 100%;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom));
  }

  body.has-install-fab .site-footer {
    padding-bottom: calc(5.2rem + env(safe-area-inset-bottom));
  }

  .site-footer__links {
    gap: 0.5rem;
  }

  .site-footer__links a {
    font-size: 0.85rem;
  }

  .site-footer__whatsapp {
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
