/* Creditory Plan Checkout */
.cpc-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a2b42;
}

/* ── Plan banner ── */
.cpc-plan-banner {
    background: #1a2b42;
    color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
    position: relative;
}
.cpc-plan-badge {
    font-size: 32px;
    margin-bottom: 8px;
}
.cpc-plan-name {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c0a060;
    margin-bottom: 4px;
}
.cpc-plan-price {
    font-size: 42px;
    font-weight: 800;
    color: #c0a060;
    line-height: 1;
    margin-bottom: 16px;
}
.cpc-plan-price span {
    font-size: 16px;
    font-weight: 400;
    color: #a0b0c0;
}
.cpc-plan-features {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.cpc-plan-features li {
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #dde8f0;
}
.cpc-plan-features li::before {
    content: '✓  ';
    color: #c0a060;
    font-weight: 700;
}
.cpc-change-plan {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
}
.cpc-change-plan:hover { color: #fff; }

/* ── Section titles ── */
.cpc-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b42;
    margin: 0 0 6px;
}
.cpc-payment-note,
.cpc-form-note {
    font-size: 13px;
    color: #6b7c93;
    margin: 0 0 18px;
}

/* ── Payment section ── */
.cpc-payment-section {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 24px 24px 20px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

/* Tabs */
.cpc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.cpc-tab {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1.5px solid #d0dae6;
    background: #fff;
    color: #6b7c93;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.cpc-tab.active {
    background: #1a2b42;
    border-color: #1a2b42;
    color: #fff;
}

/* Tab content */
.cpc-tab-content { display: none; }
.cpc-tab-content.active { display: block; }

.cpc-payment-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cpc-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.cpc-lbl {
    font-size: 12px;
    color: #6b7c93;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 90px;
}
.cpc-val {
    font-size: 15px;
    color: #1a2b42;
    font-weight: 500;
    text-align: right;
}
.cpc-highlight {
    color: #c0a060;
    font-weight: 800;
    font-size: 18px;
}
.cpc-copyable {
    cursor: pointer;
    border-bottom: 1px dashed #c0a060;
}
.cpc-copyable:hover::after {
    content: ' 📋';
    font-size: 12px;
}
.cpc-memo-preview {
    color: #4a6080;
    font-size: 13px;
    font-style: italic;
}
.cpc-memo-name {
    color: #c0a060;
}
.cpc-payment-pending {
    font-size: 14px;
    color: #6b7c93;
    padding: 16px;
    text-align: center;
}

/* ── Form section ── */
.cpc-form-section {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1.5px solid #e2e8f0;
}
.cpc-form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.cpc-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cpc-field label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cpc-field label span { color: #e53e3e; }
.cpc-field input {
    padding: 11px 14px;
    border: 1.5px solid #d0dae6;
    border-radius: 8px;
    font-size: 15px;
    color: #1a2b42;
    transition: border-color 0.15s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.cpc-field input:focus { border-color: #1a2b42; }

.cpc-error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    color: #c53030;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}
.cpc-submit-btn {
    width: 100%;
    padding: 14px;
    background: #c0a060;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    margin-top: 4px;
}
.cpc-submit-btn:hover { background: #a8883a; }
.cpc-submit-btn:active { transform: scale(0.99); }
.cpc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Success ── */
.cpc-success {
    text-align: center;
    padding: 24px 8px;
}
.cpc-success-icon { font-size: 48px; margin-bottom: 12px; }
.cpc-success h3 { font-size: 22px; color: #1a2b42; margin: 0 0 10px; }
.cpc-success p { font-size: 14px; color: #4a5568; margin: 0 0 14px; }
.cpc-success-reminder {
    background: #f0f7ff;
    border: 1px solid #bee3f8;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #2b6cb0;
    margin: 0 0 14px;
    text-align: left;
}
.cpc-success-contact { font-size: 13px; color: #6b7c93; }

/* ── Selector grid ── */
.cpc-selector-title {
    text-align: center;
    font-size: 22px;
    color: #1a2b42;
    margin: 0 0 24px;
}
.cpc-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cpc-plan-card {
    background: #1a2b42;
    color: #fff;
    border-radius: 14px;
    padding: 20px;
    position: relative;
    border: 2px solid transparent;
}
.cpc-plan-card.cpc-popular { border-color: #c0a060; }
.cpc-popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #c0a060;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.cpc-card-badge { font-size: 24px; margin-bottom: 6px; }
.cpc-card-name { font-size: 16px; font-weight: 700; color: #c0a060; margin-bottom: 4px; }
.cpc-card-price { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cpc-card-price span { font-size: 13px; font-weight: 400; color: #a0b0c0; }
.cpc-card-features {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.cpc-card-features li {
    font-size: 12px;
    padding: 4px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #dde8f0;
}
.cpc-card-features li::before { content: '✓  '; color: #c0a060; }
.cpc-select-btn {
    display: block;
    text-align: center;
    background: #c0a060;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.cpc-select-btn:hover { background: #a8883a; color: #fff; }

/* ── Mobile ── */
@media (max-width: 520px) {
    .cpc-form-row { flex-direction: column; }
    .cpc-plans-grid { grid-template-columns: 1fr; }
    .cpc-payment-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .cpc-val { text-align: left; }
}
