.ahmed-installment-trigger-wrap{margin-top:12px}
.ahmed-installment-trigger{display:inline-flex;align-items:center;justify-content:center;background:#f47721;color:#fff;border:0;border-radius:4px;padding:12px 18px;font-size:14px;font-weight:700;line-height:1.3;cursor:pointer;transition:background .2s ease}
.ahmed-installment-trigger:hover,.ahmed-installment-trigger:focus{background:#d95f10;color:#fff}
.ahmed-installment-overlay{display:none;position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.72);padding:18px;overflow-y:auto;align-items:center;justify-content:center}
.ahmed-installment-overlay.is-visible{display:flex}
.ahmed-installment-modal{position:relative;width:min(900px,100%);max-height:94vh;overflow:auto;background:#fff;color:#17263d;border-radius:5px;box-shadow:0 12px 50px rgba(0,0,0,.3);font-family:Arial,sans-serif}
.ahmed-installment-close{position:sticky;top:5px;float:right;z-index:3;margin:5px 7px 0 0;border:0;background:#f47721;color:#fff;font-size:25px;line-height:30px;width:32px;height:32px;border-radius:3px;cursor:pointer}
.ahmed-installment-brand{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 48px 10px;border-bottom:1px solid #17263d;min-height:58px}
.ahmed-installment-brand img{width:58px;height:58px;object-fit:contain}
.ahmed-installment-heading{font-size:24px;font-weight:700;color:#102c55}
.ahmed-installment-eligibility{text-align:center;background:#cbd0d8;color:#17263d;padding:10px;font-size:12px}
.ahmed-installment-table-wrap{width:100%;overflow-x:auto}
.ahmed-installment-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:14px;text-align:center}
.ahmed-installment-table th,.ahmed-installment-table td{border:1px solid #17263d;padding:6px 8px;white-space:nowrap}
.ahmed-installment-table th:first-child,.ahmed-installment-table td:first-child{min-width:210px}
.ahmed-installment-table tbody tr:nth-child(even){background:#cbd0d8}
.ahmed-installment-table thead tr,.ahmed-total-row{background:#f47721!important;color:#102c55;font-weight:700}
.ahmed-processing-row{background:#efaa82!important;font-weight:700}
.ahmed-grand-total{font-weight:700;background:#fff!important}
.ahmed-installment-notes{text-align:center;border-top:1px solid #ddd;padding:10px 12px 4px}
.ahmed-installment-notes strong{display:block;color:red;font-size:16px;margin-bottom:5px}
.ahmed-installment-notes p{margin:4px 0;font-size:13px}
.ahmed-installment-qr{text-align:center;padding:8px 12px 16px}
.ahmed-installment-qr img{display:inline-block;width:150px;max-width:45%;height:auto;object-fit:contain}
body.ahmed-installment-open{overflow:hidden}
@media(max-width:600px){.ahmed-installment-overlay{padding:6px}.ahmed-installment-modal{max-height:96vh}.ahmed-installment-brand{gap:6px;padding:8px 38px 8px 8px}.ahmed-installment-brand img{width:46px;height:46px}.ahmed-installment-heading{font-size:19px}.ahmed-installment-table{font-size:11px}.ahmed-installment-table th,.ahmed-installment-table td{padding:6px 5px}.ahmed-installment-table th:first-child,.ahmed-installment-table td:first-child{min-width:145px}.ahmed-installment-eligibility{font-size:11px}}
