/* ============================================================
   Pinch Payments — Checkout Form Styles
   ============================================================ */

.pinch-payment-wrapper {
    max-width: 520px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#pinch-payment-form {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── Section Title ── */
.pinch-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

/* ── Row & Field ── */
.pinch-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.pinch-row .pinch-field {
    flex: 1;
    min-width: 120px;
}
.pinch-field {
    margin-bottom: 16px;
}
.pinch-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}
.pinch-field label span {
    color: #e53e3e;
}
.pinch-field input[type="text"],
.pinch-field input[type="email"],
.pinch-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fafafa;
    color: #111;
}
.pinch-field input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
    background: #fff;
}

/* ── Tabs ── */
.pinch-tabs {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #d1d5db;
    margin-bottom: 18px;
}
.pinch-tab {
    flex: 1;
    padding: 10px 16px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
    border-right: 1.5px solid #d1d5db;
}
.pinch-tab:last-child { border-right: none; }
.pinch-tab.active {
    background: #4f46e5;
    color: #fff;
}
.pinch-tab:hover:not(.active) {
    background: #ede9fe;
    color: #4f46e5;
}

/* ── Fixed Amount ── */
.pinch-fixed-amount {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    color: #166534;
    margin-bottom: 16px;
}

/* ── Pay Button ── */
.pinch-pay-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}
.pinch-pay-btn:hover  { opacity: 0.92; }
.pinch-pay-btn:active { transform: scale(0.98); }
.pinch-pay-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Message ── */
.pinch-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}
.pinch-message.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.pinch-message.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

/* ── Secure Note ── */
.pinch-secure-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ── WooCommerce adjustments ── */
#pinch-wc-form .pinch-tabs { margin-top: 12px; }
#pinch-wc-form p { margin-bottom: 8px; }
#pinch-wc-form label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
}
#pinch-wc-form .input-text {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
