/* CF7 Razorpay — Frontend Styles */

/* ── Price Preview Container ─────────────────────────────────── */
.cf7rzp-price-preview {
    display: none;
    margin-top: 8px;
    padding: 12px 16px;
    background: #f0faf4;
    border: 1px solid #1a7a4a;
    border-radius: 8px;
    font-size: 14px;
    color: #1a4a2a;
    transition: all 0.2s ease;
    max-width: 320px;
}
.cf7rzp-price-preview.cf7rzp-price-visible {
    display: block;
}

/* ── GST Breakdown Table ─────────────────────────────────────── */
.cf7rzp-price-breakdown {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}
.cf7rzp-price-breakdown td {
    padding: 3px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.5;
}
.cf7rzp-pb-label {
    color: #555;
    padding-right: 16px !important;
    white-space: nowrap;
}
.cf7rzp-pb-value {
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}
.cf7rzp-gst-line {
    color: #777;
    font-size: 13px;
}

/* Total row — highlighted */
.cf7rzp-pb-total-row td {
    border-top: 1px solid #b2ddc8;
    padding-top: 6px !important;
    margin-top: 4px;
}
.cf7rzp-pb-total-row .cf7rzp-pb-label strong,
.cf7rzp-pb-total-row .cf7rzp-pb-value strong {
    font-size: 16px;
    color: #1a7a4a;
}

/* Simple total (no GST) */
.cf7rzp-price-total {
    font-size: 18px;
    font-weight: 700;
    color: #1a7a4a;
}

/* ── Inline Error ─────────────────────────────────────────────── */
.cf7rzp-inline-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff0f0;
    border: 1px solid #c0392b;
    border-radius: 6px;
    color: #c0392b;
    font-size: 14px;
}
.cf7rzp-inline-error.cf7rzp-error-visible {
    display: block;
}

/* ── Plan Select ──────────────────────────────────────────────── */
.cf7rzp-plan-select {
    min-width: 220px;
}
