/* American Airlines Booking Portal */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0b1a33;
  --blue: #0070d2;
  --blue-dark: #005bb5;
  --blue-bg: #eaf4ff;
  --red: #cf1322;
  --red-dark: #a8111a;
  --white: #fff;
  --bg: #f5f6f8;
  --border: #e3e6ec;
  --t1: #1a1f2b;
  --t2: #4a5060;
  --t3: #8890a0;
  --green: #0a8754;
  --green-bg: #eafaf1;
  --orange: #c57d10;
  --orange-bg: #fef7ec;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--t1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ---- HEADER ---- */

.header {
  background: var(--navy);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-weight: 700; font-size: 15px; }
.logo-sub { font-size: 10px; color: #8899b0; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }

.nav-link {
  color: #a0b0c4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: 0.15s;
}

.nav-link {
  position: relative;
}

.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1;
}

.nav-call {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  margin-left: 8px;
  transition: 0.15s;
}

.nav-call:hover { background: var(--red-dark); }

/* ---- LOGIN PAGE ---- */

.login-page {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 64px - 56px);
}

.login-left {
  flex: 1;
  background: linear-gradient(160deg, var(--navy) 0%, #14284a 50%, #1c3766 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.login-left::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.login-left-content {
  max-width: 460px;
  color: var(--white);
}

.login-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #a0bbdd;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.login-left h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.login-left p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}

.login-features { display: flex; flex-direction: column; gap: 14px; }

.login-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.login-feature svg { color: #4caf7a; flex-shrink: 0; }

.login-right {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.login-card-header { margin-bottom: 28px; }
.login-card-header h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.login-card-header p { font-size: 14px; color: var(--t3); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  margin-bottom: 6px;
}

.input-with-prefix {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.2s;
}

.input-with-prefix:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,112,210,0.12);
}

.prefix {
  padding: 13px 14px;
  background: #f0f2f5;
  font-size: 15px;
  font-weight: 600;
  color: var(--t3);
  border-right: 2px solid var(--border);
  user-select: none;
}

.country-select {
  padding: 13px 10px;
  background: #f0f2f5;
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
  border: none;
  border-right: 2px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 80px;
}

.input-with-prefix input {
  flex: 1;
  border: none;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.form-group input:not(.otp-field) {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,112,210,0.12);
}

.otp-field {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 12px;
  text-align: center;
  outline: none;
  transition: 0.2s;
}

.otp-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,112,210,0.12);
}

input::placeholder { color: #bcc2cc; }

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.15s;
}

.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-dark); }

.otp-banner {
  padding: 12px 16px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.btn-text {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px;
  margin-top: 4px;
  text-decoration: underline;
}

.btn-text:hover { color: var(--blue-dark); }

.error-msg {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff1f0;
  color: var(--red);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #ffccc7;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--t3);
}

.secure-note svg { color: var(--green); }

/* ---- SHARED LAYOUT ---- */

.view { display: none; flex: 1; }
.view.active { display: block; }
.hidden { display: none !important; }

.page-bar {
  background: var(--navy);
  padding: 36px 24px;
}

.page-bar-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-bar h1 { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.page-bar p { font-size: 14px; color: #7a8da8; }

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.detail-page { padding-top: 20px; }

.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  transition: 0.15s;
}

.btn-back:hover { border-color: #b0b8c4; }

.detail-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.detail-subtitle {
  font-size: 14px;
  color: var(--t3);
  margin-top: -14px;
  margin-bottom: 24px;
}

/* ---- STATUS PILL ---- */

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.status-text { color: var(--green); }
.status-pill.changed .status-dot { background: var(--orange); }
.status-pill.changed .status-text { color: var(--orange); }

/* ---- BOARDING PASS ---- */

.pass {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.pass-header {
  background: var(--navy);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.pass-airline { font-size: 14px; font-weight: 600; }
.pass-flight { font-size: 20px; font-weight: 800; letter-spacing: 1px; }

.pass-body { padding: 28px 24px 20px; }

.pass-route {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.pass-point { flex: 1; }
.pass-point:last-child { text-align: right; }

.pass-time { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.pass-city { font-size: 16px; font-weight: 600; color: var(--t2); margin: 2px 0; }
.pass-tag { font-size: 10px; font-weight: 700; color: var(--t3); letter-spacing: 1.5px; }

.pass-arrow {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  color: var(--blue);
}

.pass-date {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--t3);
}

.pass-tear {
  position: relative;
  height: 1px;
  margin: 0;
}

.tear-circle {
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border-radius: 50%;
}

.tear-left { left: -12px; }
.tear-right { right: -12px; }
.tear-line { margin: 0 16px; border-top: 2px dashed #dde1e8; }

.pass-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.pass-info-item {
  padding: 16px 24px;
  border-top: 1px solid #f0f1f4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pass-info-item:nth-child(odd) { border-right: 1px solid #f0f1f4; }

.pass-info-item span {
  font-size: 10px;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 1px;
}

.pass-info-item strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

/* ---- RETURN PASS & TRIP BADGE ---- */

.pass-trip-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: #e8f0fe;
  color: var(--blue);
  margin-top: 8px;
}

.pass-trip-type.round-trip {
  background: #e0f2f1;
  color: #00796b;
}

.return-pass {
  margin-top: -8px;
}

.return-header {
  background: #37474f;
}

.blc-trip-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e0f2f1;
  color: #00796b;
  margin-left: 8px;
}

.status-superseded {
  background: #f5f5f5;
  color: #9e9e9e;
}

/* ---- BOOKINGS LIST ---- */

.bookings-list { display: flex; flex-direction: column; gap: 12px; }

.booking-list-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 20px 24px;
  cursor: pointer;
  transition: 0.15s;
  border-left: 4px solid var(--blue);
}

.booking-list-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.blc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.blc-flight { font-size: 18px; font-weight: 700; color: var(--navy); }

.blc-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
}

.status-confirmed { background: var(--green-bg); color: var(--green); }
.status-changed { background: var(--orange-bg); color: var(--orange); }

.blc-route { font-size: 15px; font-weight: 500; color: var(--t2); margin-bottom: 8px; }

.blc-details {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--t3);
}

/* ---- HISTORY ---- */

.history-section { margin-bottom: 20px; }
.history-section h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.history-list { display: flex; flex-direction: column; gap: 8px; }

.history-item {
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}

.history-item-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.history-flight { font-weight: 600; font-size: 14px; color: var(--t1); }
.history-status { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; }
.history-detail { font-size: 13px; color: var(--t3); }

/* ---- ACTIONS ---- */

.detail-actions { text-align: center; margin-top: 28px; }
.detail-actions .btn-primary { max-width: 320px; margin: 0 auto; }
.detail-note { margin-top: 10px; font-size: 13px; color: var(--t3); }

/* ---- CALL HISTORY ---- */

.calls-list { display: flex; flex-direction: column; gap: 10px; }

.call-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  transition: 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.call-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.06); transform: translateY(-1px); }

.call-card-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }

.call-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-bg);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  flex-shrink: 0;
}

.call-info { flex: 1; min-width: 0; }
.call-date { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.call-preview { font-size: 13px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.call-card-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.call-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.call-duration { font-size: 13px; font-weight: 600; color: var(--t1); }
.call-messages { font-size: 12px; color: var(--t3); }
.call-arrow { color: var(--t3); }
.call-meta { font-size: 13px; color: var(--t3); }

/* ---- TRANSCRIPT ---- */

.transcript { display: flex; flex-direction: column; gap: 14px; }

.msg { max-width: 80%; }
.msg-agent { align-self: flex-start; }
.msg-caller { align-self: flex-end; }

.msg-header { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }

.msg-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.msg-agent .msg-avatar { background: var(--blue-bg); color: var(--blue); }
.msg-caller .msg-avatar { background: var(--green-bg); color: var(--green); }

.msg-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.msg-agent .msg-label { color: var(--blue); }
.msg-caller .msg-label { color: var(--green); }

.msg-text {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.msg-agent .msg-text {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--t1);
  border-top-left-radius: 4px;
}

.msg-caller .msg-text {
  background: var(--navy);
  color: var(--white);
  border-top-right-radius: 4px;
}

/* ---- EMPTY STATE ---- */

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon { font-size: 48px; margin-bottom: 16px; }

.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.empty-state p { font-size: 14px; color: var(--t3); margin-bottom: 20px; }
.empty-state .btn-primary { max-width: 280px; margin: 0 auto; }

/* ---- FOOTER ---- */

.footer {
  margin-top: auto;
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--t3);
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer strong { color: var(--t2); }
.footer-sep { color: var(--border); }

/* ---- LOADER ---- */

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text, .error-text {
  text-align: center;
  padding: 48px 20px;
  font-size: 14px;
  color: var(--t3);
}

.error-text { color: var(--red); }

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .login-page { flex-direction: column; }
  .login-left { padding: 40px 24px; }
  .login-left h1 { font-size: 32px; }
  .login-features { display: none; }
  .login-right { flex: none; padding: 32px 20px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .logo-sub { display: none; }
  .nav { gap: 2px; }
  .nav-link { padding: 6px 10px; font-size: 12px; }
  .nav-call { padding: 7px 12px; font-size: 12px; margin-left: 4px; }

  .login-left { padding: 32px 20px; }
  .login-left h1 { font-size: 28px; }
  .login-left p { font-size: 14px; margin-bottom: 0; }
  .login-right { padding: 24px 16px; }
  .login-card { padding: 28px 24px; }

  .page-bar { padding: 28px 16px; }
  .page-bar h1 { font-size: 22px; }
  .container { padding: 20px 16px 60px; }

  .pass-time { font-size: 24px; }
  .pass-city { font-size: 14px; }
  .pass-arrow { flex: 0 0 48px; }
  .pass-arrow svg { width: 24px; height: 24px; }
  .pass-body { padding: 20px 16px 16px; }
  .pass-header { padding: 14px 16px; }
  .pass-info-item { padding: 12px 16px; }
  .pass-info-item strong { font-size: 15px; }

  .booking-list-card { padding: 16px 18px; }
  .blc-details { gap: 10px; font-size: 12px; flex-wrap: wrap; }

  .call-stats { display: none; }
  .msg { max-width: 90%; }
}

/* ===== LIVE CALL ===== */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #ff3b3b;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}

.live-dot::before,
.live-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 59, 59, 0.5);
  transform: translate(-50%, -50%);
  animation: liveRipple 2s ease-out infinite;
}

.live-dot::after {
  animation-delay: 0.8s;
}

@keyframes liveRipple {
  0% { width: 7px; height: 7px; opacity: 0.7; }
  100% { width: 28px; height: 28px; opacity: 0; }
}

.live-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--t3);
  margin-right: 8px;
  vertical-align: middle;
}

.live-indicator.active {
  background: #cf1322;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ffeef0, #fff5f5);
  border: 1px solid #fecdd3;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.live-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  animation: livePulse 1.5s infinite;
  flex-shrink: 0;
}

.live-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', monospace;
  font-size: 15px;
  color: var(--t2);
}

#live-transcript {
  max-height: 60vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* ===== WHATSAPP MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--t3);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--t1); }

.wa-modal { text-align: center; }

.wa-modal-icon { margin-bottom: 16px; }

.wa-modal h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 8px;
}

.wa-modal-desc {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.5;
  margin-bottom: 24px;
}

.wa-qr-box {
  background: #f8faf8;
  border: 2px dashed #d4edda;
  border-radius: 16px;
  padding: 24px;
  display: inline-block;
  margin-bottom: 8px;
}

.wa-qr-box img {
  border-radius: 8px;
  display: block;
}

.wa-qr-hint {
  font-size: 12px;
  color: var(--t3);
  margin-top: 10px;
}

.wa-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--t3);
  font-size: 13px;
}
.wa-divider::before,
.wa-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #25D366;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-whatsapp:hover { background: #1da851; }

.wa-skip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--t3) !important;
}

/* ===== WHATSAPP BANNER ===== */
.wa-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, #f0faf4, #e8f8ee);
  border: 1px solid #b7e4c7;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.wa-banner:hover {
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.15);
  border-color: #25D366;
}

.wa-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wa-banner-left strong {
  display: block;
  font-size: 14px;
  color: var(--t1);
  margin-bottom: 2px;
}
.wa-banner-left span {
  font-size: 12px;
  color: var(--t2);
}

.wa-banner-btn {
  padding: 8px 18px;
  background: #25D366;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
}
