/* ═══════════════════════════════════════════
   CHECKOUT 2 — Nidorali
   ═══════════════════════════════════════════ */

/* ── Page layout ── */
.ck2-page {
  min-height: 100vh;
  padding: 120px 0 60px;
}

.ck2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

.ck2-grid > .ck2-summary,
.ck2-grid > .ck2-payment {
  display: flex;
  flex-direction: column;
}

.ck2-grid > .ck2-summary > .ck2-card,
.ck2-grid > .ck2-payment > .ck2-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .ck2-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   WIZARD / STEPPER
   ═══════════════════════════════════════════ */
.ck2-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1080px;
  margin: 18px auto;
}
.ck2-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 14px;
  opacity: 0.6;
  transition: background 0.15s, opacity 0.15s;
  font-weight: 700;
  color: #0d1b2a;
  cursor: default;
}
:root[data-theme="dark"] .ck2-step { color: #eef2f7; opacity: 0.7; }

.ck2-step.active {
  opacity: 1;
  background: rgba(52,152,219,0.08);
}
.ck2-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #eef2f7;
  color: #0d1b2a;
}
:root[data-theme="dark"] .ck2-step-num { background:#0d1b2a; color:#eef2f7; }
.ck2-step-label { font-size: 0.95rem; }
.ck2-step-line {
  width: 36px;
  height: 2px;
  background: rgba(0,0,0,0.06);
}
:root[data-theme="dark"] .ck2-step-line { background: rgba(255,255,255,0.06); }

.ck2-wizard { max-width: 1080px; margin: 0 auto; }
.ck2-wizard-panel { display: none; }
.ck2-wizard-panel.active { display: block; }

.ck2-wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ck2-btn-next, .ck2-btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.ck2-btn-next { background: linear-gradient(135deg, #3498db, #1f5fa8); color: #fff; }
.ck2-btn-prev { background: transparent; color: #3498db; border: 1px solid rgba(52,152,219,0.12); }
.ck2-btn-prev-alone { margin-top: 12px; background: transparent; color: #3498db; border: 1px solid rgba(52,152,219,0.12); }

/* Right-align validate button inside card */
.ck2-validate-row {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

/* Summary actions: place back link left and validate button right */
.ck2-summary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 580px) {
  .ck2-summary-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ck2-validate-row { justify-content: center; }
}

/* When inside the summary actions, reset individual element margins
   so the link and button sit on the same baseline. */
.ck2-summary-actions .ck2-back-link {
  margin-top: 0;
  align-self: center;
}
.ck2-summary-actions .ck2-validate-row {
  margin-top: 0;
}

/* Ensure the validate button is above possible overlays */
.ck2-summary-actions .ck2-validate-row .ck2-btn-next {
  position: relative;
  z-index: 99999;
  pointer-events: auto;
}

/* Button interactive states: hover -> slight scale up, active -> press (scale down) */
.ck2-btn-next, .ck2-btn-pay {
  cursor: pointer;
  transform-origin: center center;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease, filter 150ms ease, opacity 150ms ease;
  will-change: transform, box-shadow;
}

.ck2-btn-next:hover:not(:disabled), .ck2-btn-pay:hover:not(:disabled) {
  transform: scale(1.04);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
  filter: brightness(1.03);
}

/* Active / press effect: slight scale down to simulate a real click */
.ck2-btn-next:active:not(:disabled), .ck2-btn-pay:active:not(:disabled) {
  transform: scale(0.98);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition-duration: 120ms;
}

.ck2-btn-next:focus-visible, .ck2-btn-pay:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(52,152,219,0.12), 0 8px 28px rgba(0,0,0,0.08);
}

.ck2-btn-next:disabled, .ck2-btn-pay:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* Slightly increase size/weight of the primary summary validate button for emphasis */
.ck2-summary-actions .ck2-btn-next {
  padding: 12px 20px;
  font-size: 0.98rem;
  border-radius: 14px;
}

@media (min-width: 992px) {
  .ck2-wizard-panel .ck2-card { max-width: 760px; margin: 0 auto; }
}


/* ── Glass Card ── */
.ck2-card {
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
}

:root[data-theme="light"] .ck2-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04), 0 10px 40px rgba(52,152,219,0.08), 0 20px 50px rgba(0,0,0,0.04);
}

:root[data-theme="dark"] .ck2-card {
  background: rgba(18, 28, 46, 0.84);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(52, 152, 219, 0.24);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25), 0 10px 40px rgba(0,0,0,0.3), 0 20px 50px rgba(0,0,0,0.18);
}

.ck2-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.4rem;
}
:root[data-theme="light"] .ck2-card-title { color: #0d1b2a; }
:root[data-theme="dark"]  .ck2-card-title { color: #eef2f7; }

/* ── App info ── */
.ck2-app-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ck2-app-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
:root[data-theme="light"] .ck2-app-logo { background: #f0f4f8; }
:root[data-theme="dark"]  .ck2-app-logo { background: rgba(52,152,219,0.1); }

.ck2-app-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ck2-app-name {
  font-size: 1.08rem;
  font-weight: 800;
}
:root[data-theme="light"] .ck2-app-name { color: #0d1b2a; }
:root[data-theme="dark"]  .ck2-app-name { color: #eef2f7; }

.ck2-app-org {
  font-size: 0.82rem;
  opacity: 0.55;
  margin-top: 2px;
}

/* ── Divider ── */
.ck2-divider {
  border: none;
  height: 1px;
  margin: 1rem 0;
}
:root[data-theme="light"] .ck2-divider { background: rgba(0,0,0,0.08); }
:root[data-theme="dark"]  .ck2-divider { background: rgba(255,255,255,0.08); }

/* ── Section label ── */
.ck2-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 0.6rem;
}

/* ── Feature list ── */
.ck2-features-wrap {
  position: relative;
}

.ck2-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

/* Side-by-side when 3+ features */
.ck2-feature-list.ck2-feat-grid {
  grid-template-columns: 1fr 1fr;
}

.ck2-feature-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 7px 10px;
  border-radius: 10px;
  min-height: 38px;
}
:root[data-theme="light"] .ck2-feature-list li { background: rgba(52,152,219,0.05); }
:root[data-theme="dark"]  .ck2-feature-list li { background: rgba(52,152,219,0.08); }

@media (max-width: 480px) {
  .ck2-feature-list.ck2-feat-grid {
    grid-template-columns: 1fr;
  }
}

.ck2-feat-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.ck2-feat-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ck2-feat-price {
  font-weight: 700;
  color: #3498db;
  font-size: 0.85rem;
}

.ck2-feat-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  padding: 0;
}
:root[data-theme="light"] .ck2-feat-remove {
  background: rgba(231,76,60,0.08);
  color: #e74c3c;
}
:root[data-theme="dark"] .ck2-feat-remove {
  background: rgba(231,76,60,0.12);
  color: #f1948a;
}
.ck2-feat-remove:hover {
  background: rgba(231,76,60,0.25);
  color: #c0392b;
  transform: scale(1.15);
}

/* ── Add feature button ── */
.ck2-add-feat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px dashed #3498db;
  background: transparent;
  color: #3498db;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ck2-add-feat:hover {
  background: rgba(52,152,219,0.08);
  transform: scale(1.03);
}

/* ── Feature dropdown ── */
.ck2-feat-dropdown {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin-top: 4px;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
:root[data-theme="light"] .ck2-feat-dropdown {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
}
:root[data-theme="dark"] .ck2-feat-dropdown {
  background: #1a2a42;
  border: 1px solid rgba(52,152,219,0.25);
}

.ck2-feat-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
:root[data-theme="light"] .ck2-feat-dropdown-item { color: #0d1b2a; }
:root[data-theme="dark"]  .ck2-feat-dropdown-item { color: #eef2f7; }
.ck2-feat-dropdown-item:hover {
  background: rgba(52,152,219,0.1);
}

.ck2-feat-dropdown-price {
  font-size: 0.78rem;
  color: #3498db;
  white-space: nowrap;
}

/* ── User info banner ── */
.ck2-user-info {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
}
:root[data-theme="light"] .ck2-user-info {
  background: linear-gradient(135deg, rgba(52,152,219,0.06), rgba(46,204,113,0.06));
  border: 1px solid rgba(52,152,219,0.12);
}
:root[data-theme="dark"] .ck2-user-info {
  background: linear-gradient(135deg, rgba(52,152,219,0.08), rgba(46,204,113,0.08));
  border: 1px solid rgba(52,152,219,0.18);
}
.ck2-user-info-price {
  font-size: 0.95rem;
  font-weight: 800;
}
:root[data-theme="light"] .ck2-user-info-price { color: #0d1b2a; }
:root[data-theme="dark"]  .ck2-user-info-price { color: #eef2f7; }
.ck2-user-info-detail {
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 2px;
}
.ck2-user-info-free {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
}
:root[data-theme="light"] .ck2-user-info-free { color: #1e8449; }
:root[data-theme="dark"]  .ck2-user-info-free { color: #7dcea0; }

/* ── Users info in price breakdown ── */
.ck2-price-users-info {
  font-style: italic;
  opacity: 0.6;
  font-size: 0.82rem;
}

/* ── Select / Input ── */
.ck2-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
:root[data-theme="light"] .ck2-select {
  background-color: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  color: #0d1b2a;
}
:root[data-theme="dark"] .ck2-select {
  background-color: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(52,152,219,0.22);
  color: #eef2f7;
}
.ck2-select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}

.ck2-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
:root[data-theme="light"] .ck2-input {
  background-color: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  color: #0d1b2a;
}
:root[data-theme="dark"] .ck2-input {
  background-color: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(52,152,219,0.22);
  color: #eef2f7;
}
.ck2-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}
.ck2-input::placeholder { opacity: 0.4; }

.ck2-exact-input {
  margin-top: 10px;
}

.ck2-custom-msg {
  margin-top: 10px;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
:root[data-theme="light"] .ck2-custom-msg { background: rgba(52,152,219,0.06); color: #2c3e50; }
:root[data-theme="dark"]  .ck2-custom-msg { background: rgba(52,152,219,0.1); color: #a8c8e0; }

/* ── Price breakdown ── */
.ck2-price-breakdown {
  margin-top: 0.5rem;
}

.ck2-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 4px 0;
}

.ck2-price-monthly {
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 0;
}
:root[data-theme="light"] .ck2-price-monthly { color: #0d1b2a; }
:root[data-theme="dark"]  .ck2-price-monthly { color: #eef2f7; }

.ck2-price-deploy {
  font-size: 0.85rem;
  opacity: 0.65;
}

.ck2-price-first {
  font-weight: 800;
  font-size: 1.1rem;
  color: #3498db;
  padding: 6px 0 2px;
}

.ck2-price-next {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ── Back link ── */
.ck2-back-link {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3498db;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ck2-back-link:hover {
  opacity: 0.75;
  color: #3498db;
}

/* ═══════ PAYMENT OPTIONS ═══════ */

.ck2-pay-option {
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
:root[data-theme="light"] .ck2-pay-option {
  border: 2px solid rgba(0,0,0,0.08);
}
:root[data-theme="dark"] .ck2-pay-option {
  border: 2px solid rgba(255,255,255,0.08);
}

/* Active state */
:root[data-theme="light"] .ck2-pay-option.active {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}
:root[data-theme="dark"] .ck2-pay-option.active {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}

/* Header */
.ck2-pay-header {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
:root[data-theme="light"] .ck2-pay-header:hover { background: rgba(52,152,219,0.03); }
:root[data-theme="dark"]  .ck2-pay-header:hover { background: rgba(52,152,219,0.05); }

.ck2-pay-radio {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck2-pay-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #3498db;
  cursor: pointer;
}

.ck2-pay-radio label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.ck2-pay-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.ck2-pay-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.ck2-badge-recommended {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.ck2-badge-fee {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

.ck2-badge-discount {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.ck2-pay-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Body */
.ck2-pay-body {
  padding: 0 18px 18px;
}

/* GoCardless benefits */
.ck2-pay-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

@media (max-width: 500px) {
  .ck2-pay-benefits {
    grid-template-columns: 1fr;
  }
}

.ck2-benefit {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
}
:root[data-theme="light"] .ck2-benefit { background: rgba(46,204,113,0.06); color: #1e8449; }
:root[data-theme="dark"]  .ck2-benefit { background: rgba(46,204,113,0.08); color: #7dcea0; }

.ck2-gc-info {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 8px 0;
  line-height: 1.5;
}

/* Stripe form */
.ck2-stripe-form {
  margin-bottom: 14px;
}

.ck2-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 12px;
}
.ck2-label:first-child { margin-top: 0; }

.ck2-stripe-element {
  padding: 12px 14px;
  border-radius: 10px;
  min-height: 42px;
}
:root[data-theme="light"] .ck2-stripe-element {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
}
:root[data-theme="dark"] .ck2-stripe-element {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(52,152,219,0.22);
}

.ck2-card-errors {
  font-size: 0.82rem;
  color: #e74c3c;
  font-weight: 600;
  margin-top: 6px;
  min-height: 0;
}

.ck2-stripe-price-note {
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  line-height: 1.6;
}
:root[data-theme="light"] .ck2-stripe-price-note { background: rgba(52,152,219,0.05); }
:root[data-theme="dark"]  .ck2-stripe-price-note { background: rgba(52,152,219,0.06); }

/* ── Pay buttons ── */
.ck2-btn-pay {
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.ck2-btn-pay:hover:not(:disabled) {
  transform: translateY(-2px);
}
.ck2-btn-pay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ck2-btn-gc {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  box-shadow: 0 4px 18px rgba(46,204,113,0.3);
}
.ck2-btn-gc:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(46,204,113,0.4);
}

.ck2-btn-stripe {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
  box-shadow: 0 4px 18px rgba(52,152,219,0.3);
}
.ck2-btn-stripe:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(52,152,219,0.4);
}

.ck2-btn-icon {
  font-size: 1.15rem;
}

/* Spinner */
.ck2-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ck2spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes ck2spin {
  to { transform: rotate(360deg); }
}

/* ── Security ── */
.ck2-security {
  text-align: center;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  opacity: 0.55;
}
.ck2-security-icons {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.ck2-security p {
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

/* ── Pay note ── */
.ck2-pay-note {
  margin: 0;
}

/* ── Powered by Stripe ── */
.ck2-powered-stripe {
  text-align: center;
  margin-bottom: 14px;
  opacity: 0.7;
}
.ck2-powered-stripe img {
  height: 26px;
}

/* ── Theme-aware logos (light/dark) ── */
:root[data-theme="light"] .ck2-logo-dark  { display: none !important; }
:root[data-theme="light"] .ck2-logo-light { display: inline-block !important; }
:root[data-theme="dark"]  .ck2-logo-light { display: none !important; }
:root[data-theme="dark"]  .ck2-logo-dark  { display: inline-block !important; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .ck2-card {
    padding: 1.2rem 1rem;
  }
  .ck2-card-title {
    font-size: 1.1rem;
  }
  .ck2-pay-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .ck2-pay-logos {
    display: none;
  }
}


/* ═══════════════════════════════════════════
   CONTACT FORM CARD
   ═══════════════════════════════════════════ */
.ck2-contact-card {
  margin-bottom: 20px;
}

.ck2-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ck2-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .ck2-contact-row {
    grid-template-columns: 1fr;
  }
}

.ck2-contact-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ck2-contact-field .ck2-input {
  width: 100%;
}

.ck2-contact-field .ck2-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* ── Phone country code row ── */
.ck2-phone-row {
  display: flex;
  gap: 8px;
}
.ck2-phone-code {
  width: auto;
  min-width: 90px;
  max-width: 110px;
  flex-shrink: 0;
  padding-right: 4px;
  font-size: 0.88rem;
}
.ck2-phone-number {
  flex: 1;
}

/* ── Email verify row ── */
.ck2-email-row {
  display: flex;
  gap: 8px;
}
.ck2-email-row .ck2-input {
  flex: 1;
}
.ck2-verify-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #3498db 0%, #1f5fa8 100%);
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.ck2-verify-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.ck2-verify-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.ck2-verify-btn.ck2-verified {
  background: #27ae60;
  cursor: default;
}
.ck2-verify-wrap {
  margin-top: 10px;
}
.ck2-verify-info {
  font-size: 0.82rem;
  margin: 0 0 8px;
}
:root[data-theme="light"] .ck2-verify-info { color: #55698a; }
:root[data-theme="dark"]  .ck2-verify-info { color: #90aec8; }
.ck2-code-row {
  display: flex;
  gap: 8px;
}
.ck2-code-input {
  width: 170px !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 6px;
}
.ck2-confirm-btn {
  flex-shrink: 0;
}
.ck2-resend-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: #3498db;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
  padding: 0;
}
.ck2-resend-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ck2-verify-status {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  min-height: 1.2em;
}
.ck2-verify-status.success { color: #27ae60; }
.ck2-verify-status.error { color: #e74c3c; }
.ck2-verify-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ck2spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
