/* coach-inline.css — Seamless Webflow Hero Card AI Coach Integration */

.dd-coach-card-1,
.hm-coach {
  position: relative;
  transition: all 0.3s ease;
}

/* Coach Profile Banner at top of Hero Card */
.dd-coach-profile-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.dd-coach-avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.dd-coach-header-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid #be1f39;
  display: block;
  box-shadow: 0 4px 14px rgba(190, 31, 57, 0.4);
}

.dd-coach-live-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background-color: #10b981;
  border: 2px solid #111;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: ddPulseDot 2s infinite ease-in-out;
}

@keyframes ddPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dd-coach-header-text {
  min-width: 0;
  flex: 1;
}

.dd-coach-header-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.dd-coach-badge-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #be1f39;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
}

.dd-coach-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  margin-top: 2px;
}

/* File upload input hidden */
.dd-coach-file-input {
  display: none !important;
}

/* Screenshot attachment preview inside card */
.dd-coach-attachment-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a22;
  border: 1px solid rgba(190, 31, 57, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 14px;
  gap: 12px;
  animation: fadeIn 0.25s ease-out;
}

.dd-coach-attachment-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dd-coach-attachment-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dd-coach-attachment-text {
  min-width: 0;
}

.dd-coach-attachment-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-coach-attachment-meta {
  font-size: 11px;
  color: #be1f39;
  font-weight: 600;
}

.dd-coach-attachment-remove {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.dd-coach-attachment-remove:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* Try button loading state */
.dd-coach-try.is-loading,
.hm-go.is-loading {
  opacity: 0.8;
  pointer-events: none;
  cursor: wait;
}

.dd-coach-try .dd-spinner,
.hm-go .dd-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* Loading Card */
.dd-coach-loading-box {
  background: #16161b;
  border: 1px solid rgba(190, 31, 57, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-top: 16px;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.dd-coach-loading-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dd-coach-loading-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 6px;
}

.dd-coach-pulse-bar {
  height: 4px;
  background: #27272a;
  border-radius: 2px;
  margin: 16px auto 0;
  max-width: 240px;
  overflow: hidden;
  position: relative;
}

.dd-coach-pulse-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, #be1f39, #f43f5e);
  border-radius: 2px;
  animation: shimmer 1.2s infinite ease-in-out;
}

/* Results Box Container */
.dd-coach-results {
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideUp 0.3s ease-out;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.dd-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.dd-results-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dd-results-title-badge {
  background: rgba(190, 31, 57, 0.2);
  color: #f43f5e;
  border: 1px solid rgba(190, 31, 57, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.dd-results-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.dd-results-close-btn:hover {
  color: #fff;
}

/* Situation / Context Read */
.dd-context-read {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #be1f39;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}

/* Feedback Grid: Working vs To Improve (Spec §4.1) */
.dd-feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 580px) {
  .dd-feedback-grid {
    grid-template-columns: 1fr;
  }
}

.dd-feedback-card {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.dd-feedback-card.working {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #d1fae5;
}

.dd-feedback-card.improve {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}

.dd-feedback-label {
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dd-feedback-card.working .dd-feedback-label {
  color: #34d399;
}

.dd-feedback-card.improve .dd-feedback-label {
  color: #fbbf24;
}

/* 3 Reply Cards (Spec §3 & §8) */
.dd-replies-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dd-reply-card {
  background: #1c1c23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.dd-reply-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: #202028;
}

.dd-reply-card.is-recommended {
  border-color: rgba(190, 31, 57, 0.6);
  background: #1f1b22;
  box-shadow: 0 4px 15px -4px rgba(190, 31, 57, 0.25);
}

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

.dd-style-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}

.dd-style-badge.playful {
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.dd-style-badge.casual {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.dd-style-badge.direct {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.dd-rec-pill {
  font-size: 10px;
  font-weight: 800;
  background: #be1f39;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.03em;
}

.dd-reply-text {
  font-size: 15px;
  line-height: 1.45;
  color: #f8fafc;
  font-weight: 500;
  margin-bottom: 8px;
  word-break: break-word;
  white-space: pre-line;
}

.dd-reply-why {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 6px;
}

.dd-reply-why strong {
  color: #cbd5e1;
}

.dd-reply-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.dd-char-count {
  font-size: 11px;
  color: #64748b;
  font-family: monospace;
}

.dd-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.dd-copy-btn:hover {
  background: #be1f39;
  border-color: #be1f39;
  color: #fff;
  transform: translateY(-1px);
}

.dd-copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* Next Step Box (Spec §3) */
.dd-next-step-box {
  background: rgba(190, 31, 57, 0.12);
  border: 1px solid rgba(190, 31, 57, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #fed7aa;
  line-height: 1.45;
}

.dd-next-step-box strong {
  color: #fff;
}

/* Tweak & Follow-up Row */
.dd-tweaks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.dd-tweak-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.dd-tweak-pill:hover {
  background: rgba(190, 31, 57, 0.3);
  border-color: #be1f39;
  color: #fff;
}

.dd-followup-box {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.dd-followup-input {
  flex: 1;
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  padding: 8px 12px;
  font-family: Satoshi, Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.dd-followup-input:focus {
  border-color: #be1f39;
}

.dd-followup-btn {
  background: #be1f39;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dd-followup-btn:hover {
  opacity: 0.9;
}

/* Quota Limit Reached Banner (Spec §6) */
.dd-quota-alert {
  background: rgba(190, 31, 57, 0.15);
  border: 1px solid rgba(190, 31, 57, 0.5);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.dd-quota-alert-msg {
  font-size: 14px;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 12px;
}

.dd-quota-upgrade-btn {
  display: inline-block;
  background: #be1f39;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s;
}

.dd-quota-upgrade-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Safety and Error Banners (Spec §7) */
.dd-safety-banner {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}

.dd-error-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dd-retry-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes shimmer {
  0% { left: -40%; }
  100% { left: 100%; }
}


/* ─── Photo Rating: Score block ─────────────────────────────────────────── */
.dd-photo-score-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dd-photo-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dd-photo-score-label {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dd-photo-score-num {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.dd-photo-score-track {
  position: relative;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}

.dd-photo-score-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Photo Rating: Feedback body ───────────────────────────────────────── */
.dd-photo-feedback-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dd-photo-para {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
}

/* ─── Photo Rating: Recap bullet list ───────────────────────────────────── */
.dd-photo-recap-list {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dd-photo-recap-item {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.dd-photo-recap-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #be1f39;
  font-weight: 700;
}

.dd-photo-recap-item strong {
  color: #f1f5f9;
  font-weight: 700;
}

/* ─── User Auth & Credit Header Bar (Phase 2 & Phase 5) ───────────────────── */
.dd-coach-auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #cbd5e1;
}

.dd-auth-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dd-auth-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dd-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(190, 31, 57, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(190, 31, 57, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
}

.dd-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dd-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #0f172a;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.dd-google-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.dd-auth-sub-btn {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.dd-auth-sub-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─── Hard Paywall Card (Phase 6) ────────────────────────────────────────── */
.dd-paywall-card {
  background: linear-gradient(180deg, #1f1619 0%, #141418 100%);
  border: 2px solid #be1f39;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px -10px rgba(190, 31, 57, 0.4);
}

.dd-plan-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s;
}

.dd-plan-card:hover {
  border-color: rgba(190, 31, 57, 0.5);
}

.dd-paywall-badge {
  background: #be1f39;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dd-paywall-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.dd-paywall-desc {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 440px;
  line-height: 1.5;
  margin: 0;
}

.dd-paywall-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0;
}

.dd-paywall-price {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

.dd-paywall-price-sub {
  font-size: 14px;
  color: #94a3b8;
}

.dd-paywall-unlock-btn {
  background: linear-gradient(90deg, #be1f39, #f43f5e);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(190, 31, 57, 0.4);
  width: 100%;
  max-width: 320px;
}

.dd-paywall-unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(190, 31, 57, 0.6);
}

/* ─── Chat History Viewer (Phase 8) ──────────────────────────────────────── */
.dd-history-drawer {
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dd-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #e2e8f0;
}

.dd-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.dd-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  color: #cbd5e1;
}

.dd-history-item:hover {
  background: rgba(190, 31, 57, 0.1);
  border-color: rgba(190, 31, 57, 0.3);
  color: #fff;
}

/* ─── Google Sign-In Popup Modal ────────────────────────────────────────── */
.dd-auth-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ddFadeIn 0.2s ease-out;
}

.dd-auth-modal {
  background: #14141c;
  border: 1px solid rgba(190, 31, 57, 0.5);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(190, 31, 57, 0.25);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  animation: ddScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ddScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.dd-auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.dd-auth-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dd-auth-modal-badge {
  display: inline-block;
  background: rgba(190, 31, 57, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(190, 31, 57, 0.3);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dd-auth-modal-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.dd-auth-modal-sub {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.dd-auth-modal-sub strong {
  color: #fff;
}

.dd-google-large-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  color: #0f172a;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dd-google-large-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.dd-auth-modal-footer {
  font-size: 12px;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.4;
}

/* ─── Post-Payment Onboarding Form Window ────────────────────────────────── */
.dd-postpay-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ddFadeIn 0.25s ease-out;
}

.dd-postpay-modal {
  background: #141418;
  border: 1.5px solid rgba(190, 31, 57, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(190, 31, 57, 0.2);
  border-radius: 18px;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dd-postpay-header {
  padding: 22px 24px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dd-postpay-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.dd-postpay-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.dd-postpay-sub {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 540px;
}

.dd-postpay-iframe-wrap {
  flex: 1;
  min-height: 440px;
  max-height: 58vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  margin: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}

.dd-postpay-iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

.dd-postpay-footer {
  padding: 14px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #101014;
}

.dd-postpay-done-btn {
  background: linear-gradient(90deg, #be1f39, #f43f5e);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(190, 31, 57, 0.4);
  width: 100%;
  max-width: 380px;
}

.dd-postpay-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(190, 31, 57, 0.6);
}

.dd-postpay-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.dd-postpay-modal-close:hover {
  background: rgba(190, 31, 57, 0.6);
}
