:root {
  --ez-ink: #15231c;
  --ez-muted: #5f7268;
  --ez-line: #d7e0da;
  --ez-panel: rgba(255, 255, 255, 0.88);
  --ez-brand: #0f7a4c;
  --ez-brand-hover: #0c6540;
  --ez-bg-0: #f3f7f4;
  --ez-bg-1: #e8f1eb;
  --ez-bg-2: #fbfcfa;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 0.35rem;
}

html,
body {
  min-height: 100%;
}

body {
  color: var(--ez-ink);
  font-family: var(--font);
  background: var(--ez-bg-0);
}

.auth-body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.login-visual {
  position: relative;
  color: #ffffff;
  padding: 2.75rem clamp(1.75rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(47, 191, 113, 0.35), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(14, 165, 233, 0.18), transparent 55%),
    linear-gradient(165deg, #0d1f18 0%, #123228 48%, #0b1a14 100%);
  clip-path: polygon(0 0, calc(100% - 4.5rem) 0, 100% 100%, 0 100%);
  margin-right: -3.5rem;
  z-index: 2;
  box-shadow: 18px 0 40px -28px rgba(7, 13, 24, 0.45);
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
  z-index: 0;
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.visual-orb--one {
  width: 220px;
  height: 220px;
  left: -40px;
  bottom: 12%;
  background: rgba(47, 191, 113, 0.28);
}

.visual-orb--two {
  width: 160px;
  height: 160px;
  right: 12%;
  top: 10%;
  background: rgba(56, 189, 248, 0.18);
  animation-delay: -3s;
}

.visual-orb--three {
  width: 90px;
  height: 90px;
  right: 28%;
  bottom: 28%;
  background: rgba(255, 255, 255, 0.08);
  animation-delay: -6s;
}

.visual-brand,
.visual-body,
.visual-foot {
  position: relative;
  z-index: 1;
}

.visual-logo {
  width: min(240px, 70%);
  height: auto;
  filter: brightness(0) invert(1);
}

.visual-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.9);
}

.visual-body h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-weight: 750;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 14ch;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.visual-body p {
  margin: 0;
  color: rgba(226, 240, 232, 0.82);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 32ch;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.visual-foot {
  font-size: 0.8rem;
  color: rgba(226, 240, 232, 0.55);
  font-weight: 500;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(15, 122, 76, 0.08), transparent 55%),
    linear-gradient(180deg, #fbfcfa 0%, #f1f6f2 100%);
  z-index: 1;
}

.login-inner {
  width: min(400px, 100%);
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.mobile-brand {
  display: none;
  margin-bottom: 1.5rem;
}

.mobile-brand img {
  width: min(200px, 70%);
  height: auto;
}

.login-header {
  margin-bottom: 1.6rem;
}

.login-header h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 750;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--ez-ink);
}

.login-header p {
  margin: 0;
  color: var(--ez-muted);
  font-size: 0.95rem;
}

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

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 44px 44px; }
}

@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-14px) scale(1.05); }
}

@media (max-width: 991.98px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .mobile-brand {
    display: block;
  }

  .login-panel {
    min-height: 100vh;
  }
}

.nav-logo {
  height: 26px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.login-header .h5 {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

.input-group-text {
  background: #fff;
  border-color: var(--ez-line);
  color: var(--ez-muted);
  border-radius: var(--radius) 0 0 var(--radius);
}

.input-group .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
  border-color: rgba(15, 122, 76, 0.55);
}

.input-group:focus-within .input-group-text {
  color: var(--ez-brand);
}

.form-control.is-invalid,
.input-group.is-invalid .form-control,
.input-group.is-invalid .input-group-text {
  border-color: #dc3545;
}

.input-group.is-invalid:focus-within .form-control,
.input-group.is-invalid:focus-within .input-group-text {
  border-color: #dc3545;
  box-shadow: none;
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.invalid-feedback {
  font-size: 0.82rem;
  margin-top: 0.35rem;
  color: #9b3b2e;
}

.login-inner .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ez-muted);
  margin-bottom: 0.3rem;
}

.login-inner .form-control,
.login-inner .input-group-text {
  font-size: 0.875rem;
  min-height: 2.4rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.login-inner .input-group-text {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ez-muted);
  margin-bottom: 0.35rem;
}

.form-control {
  border-color: var(--ez-line);
  background-color: #fff;
  color: var(--ez-ink);
  border-radius: var(--radius);
}

.form-control:focus {
  border-color: rgba(15, 122, 76, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(15, 122, 76, 0.12);
}

.form-control::placeholder {
  color: #9aa9a1;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ez-brand);
  --bs-btn-border-color: var(--ez-brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ez-brand-hover);
  --bs-btn-hover-border-color: var(--ez-brand-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ez-brand-hover);
  --bs-btn-active-border-color: var(--ez-brand-hover);
  font-weight: 700;
  border-radius: var(--radius);
}

.login-inner .btn-brand {
  font-size: 0.875rem;
  font-weight: 650;
  padding: 0.55rem 1rem;
  min-height: 2.45rem;
}

.btn {
  border-radius: var(--radius);
}

.alert-danger {
  border-radius: var(--radius);
  border-color: #f1c4bc;
  background: #fff5f3;
  color: #9b3b2e;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dash-body {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(15, 122, 76, 0.06), transparent 50%),
    linear-gradient(180deg, #fbfcfa 0%, #f3f7f4 100%);
  min-height: 100vh;
  font-family: var(--font);
}

.app-main {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .app-main {
    padding-top: 1.15rem;
    padding-bottom: 2.5rem;
  }
}

.navbar-brand {
  text-decoration: none;
}

.app-navbar .navbar-toggler {
  border-color: var(--ez-line);
  border-radius: var(--radius);
  padding: 0.4rem 0.55rem;
}

.app-nav {
  gap: 0.55rem;
}

.app-nav .nav-item + .nav-item {
  margin-left: 0.15rem;
}

.app-nav .nav-link {
  display: inline-flex;
  align-items: center;
  color: var(--ez-muted);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
}

.app-nav .nav-link:hover {
  color: var(--ez-ink);
  background: rgba(15, 122, 76, 0.06);
}

.app-nav .nav-link.active {
  color: var(--ez-brand);
  background: rgba(15, 122, 76, 0.1);
}

.app-nav .nav-link-btn {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}

@media (min-width: 992px) {
  .app-nav .nav-link-btn {
    width: auto;
  }
}

.campaign-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--ez-ink);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--ez-line);
  background: #fff;
  font-size: 1.05rem;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.campaign-back-arrow:hover {
  color: var(--ez-brand, #0f7a4c);
  border-color: #b7d0c2;
  background: #f7faf8;
}

.display-heading {
  font-family: var(--font);
  font-weight: 750;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
  color: var(--ez-ink);
}

.lead-sm {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38rem;
}

.page-header {
  max-width: 46rem;
}

.stat-tile,
.empty-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 35, 28, 0.04);
}

.stat-tile {
  padding: 1.15rem 1.2rem;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 118px;
  min-width: 0;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ez-muted);
  line-height: 1.2;
}

.stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ez-ink);
}

.stat-hint {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.78rem;
  color: #8a9b92;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-panel {
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 520px;
}

.empty-panel--inline {
  max-width: none;
  padding: 1.75rem 1.25rem;
}

.stat-tile-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.stat-tile-link:hover {
  border-color: #b7d0c2;
  box-shadow: 0 12px 28px rgba(21, 35, 28, 0.07);
  color: inherit;
  text-decoration: none;
}

.stat-tile-link:hover .stat-value {
  color: var(--ez-brand, #0f7a4c);
}

.empty-panel .bi {
  font-size: 1.8rem;
  color: var(--ez-brand);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.table-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 35, 28, 0.04);
  overflow: hidden;
}

.table-panel--full {
  width: 100%;
  max-width: none;
}

.app-pager .pagination {
  gap: 0.35rem;
}

.app-pager {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.35rem 0;
}

.app-pager .page-link {
  border-radius: var(--radius);
  border: 1px solid var(--ez-line) !important;
  background: #fff !important;
  color: var(--ez-ink) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  min-width: 2.4rem;
  text-align: center;
  display: inline-block;
}

.app-pager .page-item.active .page-link {
  background: var(--ez-brand) !important;
  border-color: var(--ez-brand) !important;
  color: #fff !important;
}

.app-pager .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

.app-pager .page-link:hover {
  background: #f3f7f5 !important;
  border-color: var(--ez-line) !important;
  color: var(--ez-brand) !important;
}

.app-pager .page-item.active .page-link:hover {
  background: var(--ez-brand) !important;
  border-color: var(--ez-brand) !important;
  color: #fff !important;
}

.deploy-progress {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 24px rgba(21, 35, 28, 0.06);
}

.deploy-progress.is-done {
  border-color: #8fbf9a;
}

.deploy-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.deploy-progress-bar {
  height: 0.85rem;
  border-radius: 999px;
  background: #e8eee9;
  overflow: hidden;
}

.deploy-progress-bar .progress-bar {
  transition: width 0.35s ease;
}

.select-scope-banner {
  background: #f3f6f4;
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}

.contact-select-toggle {
  padding: 0.15rem 0.45rem;
  line-height: 1;
  min-width: 1.8rem;
}

.contact-filter-bar a.contact-filter-chip {
  text-decoration: none;
}

.campaign-template-line {
  font-size: 0.95rem;
  line-height: 1.45;
}

.campaign-template-line strong {
  font-weight: 700;
  color: var(--ez-ink);
}

.campaign-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 35, 28, 0.04);
  align-items: end;
}

.campaign-meta-bar .meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ez-muted);
  margin-bottom: 0.2rem;
}

.campaign-meta-bar .meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ez-ink);
}

.numbers-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem !important;
  line-height: 1.45;
  min-height: 180px;
}

@media (max-width: 991.98px) {
  .campaign-meta-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .campaign-meta-bar {
    grid-template-columns: 1fr;
  }
}

.wa-table {
  font-size: 0.86rem;
}

.campaign-lifecycle-select {
  min-width: 7.5rem;
  width: auto;
  font-size: 0.8rem;
  font-weight: 600;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.wa-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ez-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom-color: var(--ez-line);
  background: #f7faf8;
  white-space: nowrap;
  padding: 0.7rem 0.85rem;
}

.wa-table td {
  padding: 0.75rem 0.85rem;
  border-bottom-color: var(--ez-line);
  vertical-align: middle;
}

.wa-table tbody tr:last-child td {
  border-bottom: 0;
}

.contact-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.contact-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--ez-line);
  background: #fff;
  color: var(--ez-ink);
  border-radius: var(--radius);
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contact-filter-chip:hover {
  border-color: #b7d0c2;
  background: #f7faf8;
}

.contact-filter-chip.is-active {
  border-color: var(--ez-brand, #0f7a4c);
  background: rgba(15, 122, 76, 0.08);
  color: var(--ez-brand, #0f7a4c);
}

.contact-filter-count {
  min-width: 1.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(21, 35, 28, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.contact-filter-chip.is-active .contact-filter-count {
  background: rgba(15, 122, 76, 0.14);
}

.contact-check-col {
  width: 2.25rem;
  text-align: center;
}

.wa-table .form-check-input {
  cursor: pointer;
}

.badge-quality {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-quality-green {
  background: #e7f6ef;
  color: #0f7a4c;
}

.badge-quality-yellow {
  background: #fff7e6;
  color: #9a6b00;
}

.badge-quality-red {
  background: #fff5f3;
  color: #9b3b2e;
}

.badge-quality-muted {
  background: #eef2f0;
  color: #5f7268;
}

.badge-status-delivered {
  background: #e8f1ff;
  color: #1d4f91;
}

.header-media-thumb {
  width: 112px;
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  padding: 0.35rem;
  background: #fff;
}

.header-media-thumb.is-selected {
  border-color: var(--ez-brand);
  box-shadow: 0 0 0 1px var(--ez-brand);
}

.header-media-thumb img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 0.25rem;
  background: #eef2f0;
}

.text-bg-success-subtle {
  background: #e7f6ef;
  color: #0f7a4c;
  font-weight: 600;
  font-size: 0.72rem;
}

.filter-bar .form-label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.filter-bar .form-control,
.filter-bar .form-select {
  font-size: 0.85rem;
  border-radius: var(--radius);
  border-color: var(--ez-line);
}

.form-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ez-line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(21, 35, 28, 0.04);
  padding: 1.25rem 1.35rem 1.4rem;
  max-width: 720px;
}

.campaign-form-wrap {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.form-panel--campaign {
  max-width: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.form-panel .form-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.form-panel .form-control,
.form-panel .form-select {
  font-size: 0.88rem;
  border-radius: var(--radius);
  border-color: var(--ez-line);
}

.form-section {
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid var(--ez-line);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.form-section-head {
  margin-bottom: 0.9rem;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
  color: var(--ez-ink);
}

.form-section-desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ez-muted);
}

.template-select-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.template-select-row .form-select {
  flex: 1 1 auto;
  min-width: 0;
}

.template-select-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: stretch;
}

.template-preview-box {
  margin-top: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  border: 1px dashed var(--ez-line);
  background: #f7faf8;
  color: var(--ez-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8rem;
}

.template-preview-box.has-selection {
  border-style: solid;
  background: #fff;
  color: var(--ez-ink);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.35rem 1.2rem;
  background: #f7faf8;
  border-top: 1px solid var(--ez-line);
}

.tpl-preview {
  display: inline-block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.tpl-preview-btn {
  padding: 0;
  text-decoration: none;
  color: var(--ez-muted);
  text-align: left;
}

.tpl-preview-btn:hover {
  color: var(--ez-brand);
}

.tpl-modal .modal-content {
  border-radius: var(--radius);
  border-color: var(--ez-line);
}

.tpl-modal .modal-header,
.tpl-modal .modal-footer {
  border-color: var(--ez-line);
}

.tpl-wa-card {
  max-width: 360px;
  margin: 0 auto;
  background: #e7f8ef;
  border: 1px solid #cfe8da;
  border-radius: 0.75rem;
  padding: 0.85rem;
  box-shadow: 0 8px 24px rgba(21, 35, 28, 0.06);
}

.tpl-wa-header-img {
  margin: -0.85rem -0.85rem 0.75rem;
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
  background: #d9efe3;
}

.tpl-wa-header-img img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.tpl-wa-header-text {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  color: var(--ez-ink);
}

.tpl-wa-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ez-ink);
  white-space: normal;
  word-break: break-word;
}

.tpl-wa-footer {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #6f8378;
}

.tpl-wa-buttons {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.tpl-wa-button {
  text-align: center;
  border: 1px solid #b7d7c5;
  background: #fff;
  color: #0f7a4c;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.45rem 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .login-visual::after,
  .visual-orb,
  .login-inner,
  .visual-body h2,
  .visual-body p {
    animation: none !important;
  }
}
