/* HC UPI Payment — Checkout Styles */

/* ---- Checkout payment fields ---- */
.hc-upi-payment-wrap {
    margin-top: 14px;
}

.hc-upi-apps-note {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: monospace;
    text-align: center;
    margin-bottom: 16px !important;
}

.hc-qr-section {
    background: #fff;
    border: 1px solid #e0ddd5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.hc-qr-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px !important;
}

.hc-qr-sublabel {
    font-size: 11px;
    color: #999;
    margin: 0 0 12px !important;
}

.hc-qr-image-wrap {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-qr-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* ---- Shared button base ---- */
.hc-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 8px;
    box-sizing: border-box;
    line-height: 1.4;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.hc-btn-upi-open {
    background: #2e7d32;
    color: #fff !important;
    border: none;
}

.hc-btn-upi-open:hover {
    background: #1b5e20;
    color: #fff !important;
}

.hc-btn-copy-upi {
    background: transparent;
    color: #555 !important;
    border: 1px solid #d5d1c8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: inherit;
}

.hc-btn-copy-upi:hover {
    background: #f5f2eb;
}

.hc-copy-success {
    display: block;
    font-size: 11px;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 8px;
}

.hc-payment-instruction {
    font-size: 10px !important;
    color: #aaa !important;
    text-align: center;
    line-height: 1.6;
    margin-top: 10px !important;
}

/* ---- Thank-you page ---- */
.hc-thankyou-wrap {
    margin: 24px 0;
}

.hc-thankyou-card {
    background: #fff;
    border: 1px solid #e0ddd5;
    border-radius: 14px;
    padding: 24px;
}

.hc-thankyou-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.hc-clock-icon {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.hc-thankyou-header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: none !important;
}

.hc-order-ref {
    font-size: 12px !important;
    color: #999 !important;
    margin: 0 !important;
    font-family: monospace;
}

.hc-steps {
    background: #faf8f3;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.hc-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #444;
    padding: 6px 0;
}

.hc-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.hc-btn-wa {
    background: #1a1a1a;
    color: #fff !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    padding: 14px 20px;
}

.hc-btn-wa:hover {
    background: #25D366;
    color: #fff !important;
}

.hc-wa-instructions {
    font-size: 11px !important;
    color: #aaa !important;
    text-align: center;
    line-height: 1.7 !important;
    margin-top: 12px !important;
}

/* Verified state */
.hc-thankyou-verified {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.hc-verified-icon {
    color: #16a34a;
    margin-bottom: 12px;
}

.hc-thankyou-verified h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #15803d !important;
    margin: 0 0 8px !important;
}

.hc-thankyou-verified p {
    font-size: 13px;
    color: #166534;
}

/* ---- WooCommerce checkout form overrides ---- */
.woocommerce-checkout .hc-upi-payment-wrap .form-row {
    padding: 0;
}

/* Place order button */
.woocommerce #payment #place_order {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 14px 24px !important;
    transition: background 0.15s ease !important;
}

.woocommerce #payment #place_order:hover {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
}

/* ---- App picker ---- */
.hc-app-picker {
    background: #faf8f3;
    border: 1px solid #e0ddd5;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
}

.hc-app-picker-label {
    font-size: 11px !important;
    color: #888 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: monospace;
    margin: 0 0 10px !important;
    text-align: center;
}

.hc-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.hc-app-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    background: #fff;
    border: 1px solid #e0ddd5;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
    color: #333;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.hc-app-btn:hover {
    border-color: #2e7d32;
    background: #f0fdf4;
}

.hc-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.hc-app-gpay    { background: #4285F4; }
.hc-app-phonepe { background: #5f259f; }
.hc-app-paytm   { background: #00B9F1; }
.hc-app-bhim    { background: #004C8F; }

.hc-app-picker-note {
    font-size: 10px !important;
    color: #aaa !important;
    text-align: center;
    line-height: 1.5;
    margin: 0 !important;
}

/* Copy row */
.hc-copy-row {
    margin-bottom: 8px;
}
