/* Inddig Media — Checkout flow styles (self-contained, theme-consistent) */

:root {
  --ck-primary: #1e86cc;
  --ck-teal: #26b1af;
  --ck-teal-light: #7bbebe;
  --ck-dark: #1c2b36;
  --ck-text: #3a3a3a;
  --ck-muted: #767676;
  --ck-border: #e3e8ec;
  --ck-bg: #f4f7f9;
  --ck-success: #2fae4e;
  --ck-danger: #e23c3c;
  --ck-radius: 10px;
  --ck-shadow: 0 4px 24px rgba(30, 60, 80, 0.08);
}

* { box-sizing: border-box; }

body.ck-body {
  margin: 0;
  font-family: 'Nunito', Arial, sans-serif;
  background: var(--ck-bg);
  color: var(--ck-text);
  -webkit-font-smoothing: antialiased;
}

.ck-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.ck-skip-link:focus { left: 10px; top: 10px; }

/* Header */
.ck-header {
  background: #fff;
  border-bottom: 1px solid var(--ck-border);
  padding: 14px 0;
}
.ck-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ck-logo img { height: 42px; display: block; }
.ck-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ck-teal);
  font-weight: 700;
}
.ck-secure-badge svg { width: 16px; height: 16px; fill: var(--ck-teal); }

/* Stepper */
.ck-stepper {
  max-width: 960px;
  margin: 22px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.ck-stepper li {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 13px;
  color: var(--ck-muted);
  font-weight: 600;
}
.ck-stepper li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 55%;
  width: 90%;
  height: 2px;
  background: var(--ck-border);
  z-index: 0;
}
.ck-stepper li.done:not(:last-child)::after { background: var(--ck-teal); }
.ck-stepper .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ck-border);
  margin: 0 auto 6px;
  position: relative;
  z-index: 1;
  color: var(--ck-muted);
  font-weight: 700;
}
.ck-stepper li.active .num { border-color: var(--ck-primary); color: var(--ck-primary); }
.ck-stepper li.done .num { border-color: var(--ck-teal); background: var(--ck-teal); color: #fff; }
.ck-stepper li.active { color: var(--ck-primary); }

/* Layout */
.ck-wrap {
  max-width: 960px;
  margin: 30px auto 60px;
  padding: 0 20px;
}
.ck-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 800px) {
  .ck-grid { grid-template-columns: 1fr; }
}

.ck-card {
  background: #fff;
  border-radius: var(--ck-radius);
  box-shadow: var(--ck-shadow);
  padding: 26px;
}
.ck-card h1, .ck-card h2 { margin-top: 0; color: var(--ck-dark); }
.ck-card h1 { font-size: 24px; }
.ck-card h2 { font-size: 18px; }

/* Form */
.ck-field { margin-bottom: 18px; }
.ck-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ck-dark);
}
.ck-field .req { color: var(--ck-danger); }
.ck-field input,
.ck-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--ck-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.ck-field input:focus,
.ck-field textarea:focus {
  outline: none;
  border-color: var(--ck-primary);
  box-shadow: 0 0 0 3px rgba(30, 134, 204, 0.15);
}
.ck-field input.err, .ck-field textarea.err { border-color: var(--ck-danger); }
.ck-field .ck-error {
  color: var(--ck-danger);
  font-size: 13px;
  margin-top: 5px;
}
.ck-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .ck-field-row { grid-template-columns: 1fr; }
}
.ck-hint { color: var(--ck-muted); font-size: 12px; margin-top: 4px; }

.ck-alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.ck-alert-error { background: #fdeceb; color: #b32a2a; border: 1px solid #f4c5c1; }
.ck-alert-success { background: #eafaf0; color: #1c7a3a; border: 1px solid #b9ecc8; }
.ck-alert-info { background: #eaf5fb; color: #0e5c8a; border: 1px solid #bfe1f2; }

/* Buttons */
.ck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.ck-btn-primary {
  background: linear-gradient(to right, #26b1af, #1e86cc);
  color: #fff;
}
.ck-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,134,204,.3); }
.ck-btn-outline {
  background: #fff;
  color: var(--ck-primary);
  border: 2px solid var(--ck-primary);
}
.ck-btn-block { width: 100%; }
.ck-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.ck-link-muted { color: var(--ck-muted); font-size: 13px; text-decoration: underline; }

/* Order summary card */
.ck-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ck-border);
  font-size: 14px;
}
.ck-summary-item.total {
  border-bottom: none;
  border-top: 2px solid var(--ck-dark);
  margin-top: 6px;
  padding-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ck-dark);
}
.ck-plan-badge {
  display: inline-block;
  background: rgba(38,177,175,.12);
  color: var(--ck-teal);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.ck-feature-list { list-style: none; padding: 0; margin: 12px 0 0; }
.ck-feature-list li { padding: 5px 0; font-size: 14px; color: var(--ck-muted); }
.ck-feature-list li::before { content: '✓ '; color: var(--ck-teal); font-weight: 700; }

/* Payment methods */
.ck-methods { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.ck-method {
  flex: 1 1 90px;
  border: 1px solid var(--ck-border);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ck-text);
}
.ck-method .ico { font-size: 22px; display: block; margin-bottom: 6px; }

/* Result pages */
.ck-result {
  text-align: center;
  padding: 30px 20px;
}
.ck-result .ck-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 42px;
  color: #fff;
}
.ck-icon-circle.ok { background: var(--ck-success); }
.ck-icon-circle.bad { background: var(--ck-danger); }
.ck-receipt {
  text-align: left;
  background: var(--ck-bg);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
}
.ck-receipt .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.ck-receipt .row span:first-child { color: var(--ck-muted); }
.ck-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Footer */
.ck-footer {
  text-align: center;
  padding: 24px 20px 40px;
  color: var(--ck-muted);
  font-size: 13px;
}
.ck-footer a { color: var(--ck-primary); text-decoration: none; }

@media print {
  .ck-header, .ck-stepper, .ck-footer, .ck-actions, .no-print { display: none !important; }
  body.ck-body { background: #fff; }
  .ck-card { box-shadow: none; }
}
