/* =============================================================================
   obvStripe.css - Payment modal styles
   ============================================================================= */

/* ===== Order Summary ===== */
.obv-pay-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 16px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.obv-pay-biz {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.obv-pay-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
}

/* ===== Card Input ===== */
.obv-pay-card-wrap {
    margin-bottom: 16px;
}

.obv-pay-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.obv-stripe-card-element {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 12px 14px;
    background-color: #fff;
    transition: border-color 0.15s ease;
}

.obv-stripe-card-element:focus-within {
    border-color: #06ac01;
    box-shadow: 0 0 0 3px rgba(6, 172, 1, 0.15);
    outline: none;
}

.obv-stripe-card-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 6px;
    min-height: 20px;
}

/* ===== Save Card Row ===== */
.obv-pay-save-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.obv-pay-save-chk {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.obv-pay-save-chk:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.obv-pay-save-label {
    font-size: 0.88rem;
    color: #444;
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: 0;
}

.obv-pay-save-label--disabled {
    color: #adb5bd;
    cursor: default;
}

.obv-pay-save-label--disabled a {
    color: #6c9bd1;
}

.obv-pay-save-label--disabled a:hover {
    color: #0d6efd;
}

/* ===== Pay Button ===== */
.obv-pay-btn-row {
    display: flex;
    justify-content: flex-end;
}

.obv-pay-btn {
    min-width: 140px;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 24px;
}

.obv-pay-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
