/* WC EMI Manager – Checkout Styles */
.wc-emi-checkout-wrap { margin-top: 14px; }

.wc-emi-desc { color: #555; margin-bottom: 14px; }

.wc-emi-field { margin-bottom: 16px; }
.wc-emi-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #333; }
.wc-emi-optional { font-weight: 400; color: #888; font-size: 12px; }

.wc-emi-input,
.wc-emi-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color .2s;
}
.wc-emi-input:focus,
.wc-emi-select:focus { border-color: #4f46e5; outline: none; box-shadow: 0 0 0 3px rgba(79,70,229,.1); }

.wc-emi-hint { font-size: 12px; color: #888; margin-top: 4px; display: block; }

/* Summary */
.wc-emi-summary {
    background: #f8faff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
}
.wc-emi-summary h4 { margin: 0 0 12px; font-size: 15px; color: #1e293b; }

.wc-emi-summary-table { width: 100%; border-collapse: collapse; }
.wc-emi-summary-table td { padding: 6px 4px; font-size: 13px; border-bottom: 1px solid #e0e7ff; }
.wc-emi-summary-table td:last-child { text-align: right; font-weight: 500; }
.wc-emi-summary-table .emi-highlight td { font-weight: 700; font-size: 15px; color: #4f46e5; background: #eef2ff; }

/* Schedule */
#wc-emi-schedule-toggle { margin-top: 10px; }
#wc-emi-show-schedule { font-size: 13px; color: #4f46e5; }

.wc-emi-schedule { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 12px; }
.wc-emi-schedule th,
.wc-emi-schedule td { padding: 6px 8px; border: 1px solid #e0e7ff; text-align: center; }
.wc-emi-schedule th { background: #eef2ff; font-weight: 600; color: #3730a3; }

/* Thank you page */
.wc-emi-thankyou { margin-top: 30px; }
.wc-emi-thankyou h2 { margin-bottom: 10px; }
.wc-emi-instructions { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 12px 16px; border-radius: 4px; }

/* Gateway icon */
.wc-emi-badge-icon {
    background: #4f46e5;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .5px;
    vertical-align: middle;
}

/* ── Block Checkout Styles ───────────────────────────── */
.wc-emi-blocks-wrap { margin-top: 14px; font-size: 14px; }
.wc-emi-block-field { margin-bottom: 14px; }
.wc-emi-block-field label { display:block; font-weight:600; margin-bottom:5px; font-size:13px; color:#333; }
.wc-emi-block-input,
.wc-emi-block-select {
    width:100%; padding:9px 12px; border:1px solid #ddd;
    border-radius:6px; font-size:14px; box-sizing:border-box;
    transition:border-color .2s;
}
.wc-emi-block-input:focus,.wc-emi-block-select:focus {
    border-color:#4f46e5; outline:none; box-shadow:0 0 0 3px rgba(79,70,229,.1);
}
.wc-emi-block-hint { font-size:12px; color:#888; margin-top:3px; display:block; }

.wc-emi-block-summary {
    background:#f8faff; border:1px solid #c7d2fe; border-radius:8px;
    padding:14px 16px; margin-top:12px;
}
.wc-emi-summary-title { margin:0 0 10px; font-size:14px; color:#1e293b; font-weight:700; }
.wc-emi-summary-table { width:100%; border-collapse:collapse; font-size:13px; }
.wc-emi-summary-table td { padding:5px 4px; border-bottom:1px solid #e0e7ff; }
.wc-emi-summary-table td:last-child { text-align:right; font-weight:500; }
.wc-emi-summary-table .emi-highlight td { font-weight:700; color:#4f46e5; font-size:14px; background:#eef2ff; }
.wc-emi-sched-toggle { display:block; margin-top:10px; font-size:13px; color:#4f46e5; text-decoration:none; }
.wc-emi-schedule-tbl { width:100%; border-collapse:collapse; font-size:11px; margin-top:8px; }
.wc-emi-schedule-tbl th,.wc-emi-schedule-tbl td { padding:5px 6px; border:1px solid #e0e7ff; text-align:center; }
.wc-emi-schedule-tbl th { background:#eef2ff; font-weight:600; color:#3730a3; }
