/* Ignite Club HQ — Public Styles */
:root {
    --ichq-navy: #0D1B3E;
    --ichq-cyan: #00B4D8;
    --ichq-purple: #7B2FBE;
    --ichq-green: #28a745;
    --ichq-red: #dc3545;
    --ichq-yellow: #ffc107;
    --ichq-gray: #6c757d;
    --ichq-bg: #f8f9fa;
    --ichq-border: #dee2e6;
    --ichq-radius: 12px;
}

/* Layout */
.ichq-card, .ichq-registration-wrap { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--ichq-radius); box-shadow: 0 2px 16px rgba(0,0,0,.08); padding: 32px; }
.ichq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .ichq-form-grid { grid-template-columns: 1fr; } }
.ichq-field-full { grid-column: 1 / -1; }
.ichq-field label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ichq-navy); }
.req { color: var(--ichq-red); }
.opt { color: var(--ichq-gray); font-size: 13px; font-weight: 400; }

/* Inputs */
.ichq-input { width: 100%; padding: 10px 14px; border: 1px solid var(--ichq-border); border-radius: 6px; font-size: 16px; box-sizing: border-box; }
.ichq-input:focus { outline: none; border-color: var(--ichq-cyan); box-shadow: 0 0 0 3px rgba(0,180,216,.15); }
select.ichq-input { background-color: #fff; }

/* Buttons */
.ichq-btn-primary { display: inline-block; background: var(--ichq-cyan); color: #fff; padding: 12px 28px; border: none; border-radius: 6px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.ichq-btn-primary:hover { background: #009bbf; color: #fff; }
.ichq-btn-secondary { display: inline-block; background: var(--ichq-navy); color: #fff; padding: 10px 22px; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.ichq-btn-large { padding: 16px 36px; font-size: 18px; width: 100%; text-align: center; }
.ichq-btn-link { display: block; color: var(--ichq-gray); text-align: center; margin-top: 12px; font-size: 14px; cursor: pointer; background: none; border: none; text-decoration: underline; }
.ichq-btn-sm { padding: 6px 14px; font-size: 13px; }
.ichq-btn-xs { padding: 3px 8px; font-size: 12px; }

/* Step indicator */
.ichq-reg-header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--ichq-border); margin-bottom: 28px; }
.ichq-step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 20px; }
.ichq-step { width: 36px; height: 36px; border-radius: 50%; background: var(--ichq-border); color: #888; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; position: relative; flex-shrink: 0; }
.ichq-step span { position: absolute; bottom: -20px; font-size: 11px; white-space: nowrap; }
.ichq-step-active { background: var(--ichq-cyan); color: #fff; }
.ichq-step-done { background: var(--ichq-green); color: #fff; }
.ichq-step-line { flex: 1; height: 2px; background: var(--ichq-border); max-width: 80px; }

/* Info boxes */
.ichq-info-box { background: var(--ichq-bg); border-left: 4px solid var(--ichq-cyan); padding: 14px 18px; border-radius: 0 6px 6px 0; margin: 16px 0; }
.ichq-success-box { background: #d4edda; border: 1px solid #c3e6cb; border-radius: 8px; padding: 24px; text-align: center; }
.ichq-success-box h2 { color: #155724; margin-top: 0; }
.ichq-error { color: var(--ichq-red); background: #f8d7da; border: 1px solid #f5c6cb; padding: 10px 14px; border-radius: 6px; }
.ichq-centered { text-align: center; }
.ichq-hidden { display: none !important; }

/* Offer card */
.ichq-offer-card h2 { color: var(--ichq-navy); }
.ichq-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.ichq-info-grid label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ichq-gray); }
.ichq-info-grid span { font-size: 15px; }
.ichq-expires { text-align: center; color: var(--ichq-gray); font-size: 14px; }
.ichq-offer-actions { text-align: center; margin-top: 24px; }

/* Payment summary */
.ichq-payment-summary { background: var(--ichq-bg); border-radius: 8px; padding: 20px; margin: 20px 0; }
.ichq-summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ichq-border); }
.ichq-summary-row:last-child { border-bottom: none; }
.ichq-summary-total { font-size: 18px; color: var(--ichq-navy); }

/* Dues display */
.ichq-dues-summary { background: var(--ichq-bg); border-radius: 8px; padding: 16px 20px; margin: 16px 0; display: flex; justify-content: space-between; align-items: center; }
.ichq-dues-summary strong { font-size: 28px; color: var(--ichq-navy); }

/* Option cards */
.ichq-option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 600px) { .ichq-option-cards { grid-template-columns: 1fr; } }
.ichq-option-card { border: 2px solid var(--ichq-border); border-radius: 10px; padding: 24px; text-align: center; transition: border-color .2s; }
.ichq-option-card:hover { border-color: var(--ichq-cyan); }
.ichq-option-icon { font-size: 40px; margin-bottom: 12px; }
.ichq-option-card h3 { color: var(--ichq-navy); margin: 0 0 8px; }

/* Checkboxes */
.ichq-checkbox-label { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.ichq-checkbox-label input[type=checkbox] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.ichq-agreement { background: var(--ichq-bg); border-radius: 6px; padding: 10px 14px; }
.ichq-agreement-block { margin-bottom: 14px; }
.ichq-note { font-size: 13px; color: var(--ichq-gray); }
.ichq-indent { padding-left: 24px; }
.ichq-field-inline { margin-top: 8px; }

/* Stripe element */
.ichq-stripe-mount { border: 1px solid var(--ichq-border); border-radius: 6px; padding: 16px; margin: 16px 0; min-height: 44px; }

/* Step nav */
.ichq-step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* Progress bar */
.ichq-progress-wrap { margin: 16px 0; }
.ichq-progress-bar { height: 12px; background: var(--ichq-border); border-radius: 6px; overflow: hidden; }
.ichq-progress-fill { height: 100%; background: var(--ichq-cyan); transition: width .4s ease; }
.ichq-progress-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; color: var(--ichq-navy); }
.ichq-days-left { color: var(--ichq-gray); font-size: 13px; }

/* Fundraiser */
.ichq-fundraiser-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px; }
.ichq-personal-msg { font-style: italic; color: #444; text-align: center; }
.ichq-donation-form { margin-top: 24px; }
.ichq-amount-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ichq-amt-btn { padding: 10px 20px; border: 2px solid var(--ichq-border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 16px; font-weight: 600; }
.ichq-amt-btn.active { border-color: var(--ichq-cyan); background: var(--ichq-cyan); color: #fff; }
.ichq-donor-list ul { list-style: none; padding: 0; }
.ichq-donor-list li { padding: 8px 0; border-bottom: 1px solid var(--ichq-border); }

/* Portal (public-facing) */
.ichq-portal-wrap { max-width: 1100px; margin: 0 auto; }
.ichq-portal-login { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.ichq-login-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.10); padding: 40px; width: 100%; max-width: 420px; }
.ichq-login-logo { text-align: center; font-size: 20px; font-weight: 700; color: var(--ichq-navy); margin-bottom: 24px; }
.ichq-login-help { text-align: center; font-size: 13px; color: var(--ichq-gray); margin-top: 16px; }

.ichq-portal-header { background: var(--ichq-navy); color: #fff; padding: 14px 24px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ichq-portal-brand { font-size: 18px; font-weight: 700; }
.ichq-portal-nav { display: flex; gap: 16px; align-items: center; }
.ichq-portal-nav a { color: #fff; text-decoration: none; font-size: 14px; }
.ichq-portal-nav a:hover { color: var(--ichq-cyan); }
.ichq-logout { color: #aaa !important; }

.ichq-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ichq-stat-card { background: #fff; border: 1px solid var(--ichq-border); border-radius: 8px; padding: 16px; text-align: center; }
.ichq-stat-card.ichq-stat-green { border-top: 3px solid var(--ichq-green); }
.ichq-stat-card.ichq-stat-yellow { border-top: 3px solid var(--ichq-yellow); }
.ichq-stat-card.ichq-stat-purple { border-top: 3px solid var(--ichq-purple); }
.ichq-stat-value { font-size: 22px; font-weight: 700; color: var(--ichq-navy); display: block; }
.ichq-stat-label { font-size: 11px; color: var(--ichq-gray); text-transform: uppercase; letter-spacing: .05em; }

.ichq-table-controls { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ichq-search-input { padding: 7px 12px; border: 1px solid var(--ichq-border); border-radius: 6px; font-size: 14px; min-width: 200px; }
.ichq-select-sm { padding: 7px 10px; border: 1px solid var(--ichq-border); border-radius: 6px; }

.ichq-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.ichq-table th { background: var(--ichq-navy); color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; }
.ichq-table td { padding: 10px 14px; border-bottom: 1px solid var(--ichq-border); font-size: 14px; }
.ichq-table tbody tr:hover { background: var(--ichq-bg); }
.ichq-row-green td { background: #f0fdf4; }
.ichq-row-yellow td { background: #fffbeb; }

.ichq-alert-banner { padding: 10px 16px; margin-bottom: 8px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }
.ichq-alert-red { background: #f8d7da; color: #721c24; }
.ichq-alert-orange { background: #fff3cd; color: #856404; }
.ichq-alert-yellow { background: #fffbcc; color: #555; }
.ichq-dismiss-alert { background: none; border: 1px solid currentColor; padding: 2px 8px; border-radius: 4px; cursor: pointer; font-size: 12px; }

.ichq-badge-red { background: #dc3545; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 12px; margin-left: 4px; }

.ichq-parent-player-card { background: #fff; border-radius: 10px; border: 1px solid var(--ichq-border); padding: 24px; margin-bottom: 20px; }
.ichq-dues-summary-parent .ichq-dues-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ichq-border); }
.ichq-dues-balance { font-size: 18px; }
.ichq-dues-next { color: var(--ichq-navy); font-weight: 600; }
.ichq-plan-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.ichq-radio-label { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px; border: 1px solid var(--ichq-border); border-radius: 6px; }
.ichq-radio-active { border-color: var(--ichq-cyan); background: #f0fbff; }

/* ── Offer Response page — hide theme hero image, keep it clean ─────────── */
.page-id-offer-response .page-hero,
.page-id-offer-response .hero-section,
.page-id-offer-response .entry-header,
.page-id-offer-response .page-header,
.page-id-offer-response .site-header-image,
body.page-slug-offer-response .hero,
body.page-slug-offer-response [class*="hero"],
body.page-slug-offer-response [class*="banner"] {
    display: none !important;
}


/* Decline response page */
.ichq-decline-page{
    max-width:620px;margin:28px auto;padding:28px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 28px rgba(15,23,42,.10);text-align:left;color:#0f172a
}
.ichq-decline-logo-wrap{text-align:center;margin-bottom:18px;background:#0b1f45;border-radius:14px;padding:18px}
.ichq-decline-logo{max-width:230px;width:70%;height:auto;display:inline-block}
.ichq-decline-page h2{font-size:26px;line-height:1.2;margin:8px 0 10px;text-align:center;color:#0b1f45}
.ichq-decline-page p{font-size:16px;line-height:1.55;color:#334155}
.ichq-decline-form label{display:block;font-weight:700;margin:16px 0 6px;color:#0b1f45}
.ichq-decline-form select,.ichq-decline-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff}
.ichq-decline-form button{width:100%;margin-top:18px;min-height:48px;font-size:16px;font-weight:800}
.ichq-small-muted{font-size:13px!important;color:#64748b!important;text-align:center;margin-top:12px!important}
.ichq-decline-thanks{text-align:center}
.ichq-success-icon{width:64px;height:64px;border-radius:999px;background:#22c55e;color:#fff;font-size:38px;font-weight:900;line-height:64px;margin:12px auto}
@media (max-width:640px){.ichq-decline-page{margin:12px;padding:20px;border-radius:14px}.ichq-decline-page h2{font-size:22px}.ichq-decline-logo{width:78%}}

/* V7 ERVA agreement polish */
.ichq-agreement-summary{background:#f0fbff;border:1px solid #b7eef8;border-radius:14px;padding:16px 18px;margin:14px 0 18px}
.ichq-agreement-summary h3{margin:0 0 8px;color:#0D1B3E}
.ichq-agreement-summary ul{margin:0;padding-left:22px;line-height:1.55}
.ichq-accordion{border:1px solid #d8e3ee;border-radius:14px;background:#fff;margin:16px 0;overflow:hidden}
.ichq-accordion summary{cursor:pointer;font-weight:800;color:#0D1B3E;padding:16px 18px;background:#f8fafc}
.ichq-erva-full-text{padding:16px 18px;max-height:360px;overflow:auto;line-height:1.55;color:#24334d}
.ichq-erva-full-text h3,.ichq-erva-full-text h4{color:#0D1B3E;margin:14px 0 6px}
.ichq-erva-details{margin:16px 0}
.ichq-small-muted{font-size:12px;color:#64748b}

/* V7.0.3 payment choice cards */
.ichq-payment-choice{display:grid;gap:12px;margin:18px 0}
.ichq-radio-card{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border:1px solid #dbe7ee;border-radius:14px;background:#fff;cursor:pointer;box-shadow:0 1px 3px rgba(13,27,62,.06)}
.ichq-radio-card input{margin-top:3px}
.ichq-radio-card strong{color:#0d1b3e}
.ichq-radio-card small{color:#475569}
.ichq-radio-card:has(input:checked){border-color:#17b6c7;background:#f0fcff;box-shadow:0 0 0 2px rgba(23,182,199,.12)}
