/* Darani shared customer/partner portal presentation.
 * All selectors are scoped so admin and payment-gateway screens keep their existing layout. */
:root{--darani-font:'Inter',Arial,sans-serif;--portal-green:#104b39;--portal-green-dark:#0d3f31;--portal-green-soft:#f2f9f5;--portal-line:#d9e6df;--portal-gold:#eba914;--portal-text:#263b33;--portal-muted:#708078}
html body,html body button,html body input,html body select,html body textarea,html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{font-family:var(--darani-font)}

/* Shared list shell used by customer and partner account pages. */
.portal-list-page{width:100%;max-width:100%;margin:0 auto}
.portal-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.portal-list-head__eyebrow{display:block;margin-bottom:4px;color:#a87300;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.portal-list-head h3{margin:0;color:var(--portal-green-dark);font-size:27px;line-height:1.2}
.portal-list-head p{margin:5px 0 0;color:var(--portal-muted);font-size:13px}
.portal-list-card{overflow:hidden;border:1px solid var(--portal-line);border-radius:15px;background:#fff;box-shadow:0 12px 32px rgba(16,63,48,.065)}
.portal-list-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e6ece8;background:#fbfdfc}
.portal-list-tools .table-search{max-width:360px;margin:0}
.portal-list-card .table-responsive{margin:0}
.portal-list-table{width:100%;margin:0!important;border:0!important;background:#fff!important}
.portal-list-table thead th{padding:15px 16px!important;border:0!important;background:var(--portal-green)!important;color:#fff!important;font-size:12px!important;font-weight:700!important;line-height:1.35;white-space:nowrap}
.portal-list-table tbody td{padding:14px 16px!important;border-color:#e4ebe7!important;color:var(--portal-text);font-size:13px;vertical-align:middle!important}
.portal-list-table tbody td strong,.portal-list-table tbody td small{display:block}
.portal-list-table tbody td small{margin-top:3px;color:#77837e;font-size:11px}
.portal-list-table tbody tr:hover td{background:#f8fcfa}
.portal-list-table .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:86px;padding:8px 11px;font-size:12px;white-space:nowrap}
.portal-list-pagination{padding:14px 16px;border-top:1px solid #e3e9e6;background:#fff}
.portal-status{display:inline-flex!important;width:max-content;padding:6px 10px;border-radius:7px;background:#e8f4ee;color:#176f50;font-size:11px!important;font-weight:700;white-space:nowrap}

/* KYC and password pages. */
.portal-form-page{width:100%;max-width:900px;margin:0 auto}
.portal-form-card{overflow:hidden;border:1px solid #cfe2d7;border-radius:16px;background:linear-gradient(145deg,#f1f9f5,#fff);box-shadow:0 16px 38px rgba(16,63,48,.075)}
.portal-form-card__head{display:flex;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid #d8e7df;background:rgba(232,245,238,.72)}
.portal-form-card__icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:11px;background:var(--portal-green);color:#fff;font-size:22px}
.portal-form-card__head h3{margin:0;color:var(--portal-green-dark);font-size:22px}
.portal-form-card__head p{margin:3px 0 0;color:var(--portal-muted);font-size:12px}
.portal-form-card__body{padding:22px}
.portal-kyc-list{overflow:hidden;margin:0;border:1px solid #dbe7e1;border-radius:12px;background:#fff}
.portal-kyc-list .list-group-item{gap:20px;padding:15px 17px!important;border-color:#e7ede9;color:#40534b;background:transparent}
.portal-kyc-list .list-group-item>span{max-width:58%;color:#142f25;font-weight:650;text-align:right;overflow-wrap:anywhere}
.portal-kyc-list p{margin:0}
.portal-password-form .form-group{margin-bottom:16px}.portal-password-form .form--label{color:#2d443a;font-size:12px;font-weight:700}.portal-password-form .form--control{height:48px;border-color:#d4e1da;background:#fff}.portal-password-form .btn{min-width:130px}

/* Existing payment page heading moved out of Blade. */
.payment-history-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#f2f8f4,#fff);border:1px solid #dce8df;border-radius:14px}.payment-history-heading p{color:#6b746e;font-size:14px}.payment-history-heading>span{display:grid;place-items:center;width:48px;height:48px;color:#fff;background:#17402f;border-radius:12px;font-size:24px}

@media(max-width:991.98px){.portal-list-table{min-width:820px}.portal-list-head h3{font-size:23px}}
@media(max-width:767.98px){
 .portal-list-head{align-items:stretch;flex-direction:column;margin-bottom:13px}.portal-list-head h3{font-size:21px}.portal-list-tools{align-items:stretch;flex-direction:column}.portal-list-tools .table-search{max-width:none}
 .portal-list-card .table-responsive{overflow:visible}.portal-list-table{display:block!important;min-width:0}.portal-list-table thead{display:none}.portal-list-table tbody{display:block;width:100%;padding:10px}.portal-list-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin-bottom:10px;padding:13px;border:1px solid #dfe8e3;border-radius:11px;background:#fff}.portal-list-table tbody tr:last-child{margin-bottom:0}.portal-list-table tbody td{display:block!important;width:auto!important;min-width:0;padding:0!important;border:0!important;background:transparent!important;line-height:1.4;overflow-wrap:anywhere}.portal-list-table tbody td::before{display:block;margin-bottom:3px;color:#728078;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;content:attr(data-label)}.portal-list-table tbody td[colspan]{grid-column:1/-1}.portal-list-table .btn{min-width:0}
 .portal-form-card__head,.portal-form-card__body{padding:16px}.portal-kyc-list .list-group-item{align-items:flex-start!important;flex-direction:column;gap:5px}.portal-kyc-list .list-group-item>span{max-width:100%;text-align:left}
}
@media(max-width:479.98px){.portal-list-table tbody tr{grid-template-columns:1fr}.portal-list-head__eyebrow{font-size:9px}.portal-form-card__head h3{font-size:19px}}
