/* Shared table treatment for the console and customer portal. */
:root{--table-line:#d9e5ef;--table-head:#edf4fc;--table-alt:#f8fbff;--table-hover:#edf6ff;--table-ink:#17334d;--table-accent:#196ce4}
body table.ui-table{width:100%;border-spacing:0;border-collapse:separate;border:1px solid var(--table-line);border-radius:12px;background:#fff;color:var(--table-ink);font-size:13px;line-height:1.55}
body table.ui-table>thead>tr>th{background:linear-gradient(180deg,#f4f8fe,var(--table-head));color:#3e5d78;font-size:12px;font-weight:700;letter-spacing:.025em;text-align:left;vertical-align:middle;border-bottom:2px solid #c4d8ed;border-right:1px solid #e0e9f2;padding:14px 16px}
body table.ui-table>thead>tr:first-child>th:first-child{border-top-left-radius:11px}
body table.ui-table>thead>tr:first-child>th:last-child{border-top-right-radius:11px}
body table.ui-table>tbody>tr>td,body table.ui-table>tbody>tr>th{padding:14px 16px;border-bottom:1px solid var(--table-line);border-right:1px solid #e9eff5;vertical-align:middle;background:#fff;overflow-wrap:break-word;transition:background-color .16s ease,color .16s ease}
body table.ui-table>tbody>tr:nth-child(even)>td,body table.ui-table>tbody>tr:nth-child(even)>th{background:var(--table-alt)}
body table.ui-table>tbody>tr:hover>td,body table.ui-table>tbody>tr:focus-within>td{background:var(--table-hover)}
body table.ui-table>tbody>tr:has(input[type=checkbox]:checked)>td{background:#e7f1ff;border-bottom-color:#bdd5f5}
body table.ui-table>tbody>tr:last-child>td,body table.ui-table>tbody>tr:last-child>th{border-bottom:0}
body table.ui-table>tr>*:last-child,body table.ui-table>thead>tr>*:last-child,body table.ui-table>tbody>tr>*:last-child{border-right:0}
body table.ui-table>tbody>tr:last-child>td:first-child{border-bottom-left-radius:11px}
body table.ui-table>tbody>tr:last-child>td:last-child{border-bottom-right-radius:11px}
body table.ui-table>tfoot>tr>*{padding:14px 16px;background:#edf4fc;border-top:2px solid #c4d8ed;font-weight:700}
body table.ui-table .ui-number{font-variant-numeric:tabular-nums;text-align:right}
body table.ui-table .ui-date{font-variant-numeric:tabular-nums;white-space:nowrap}
body table.ui-table td>b,body table.ui-table td>strong{color:#183650}
body table.ui-table td>small{color:#678099;line-height:1.5}
body table.ui-table td button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
body table.ui-table td button:focus-visible,body table.ui-table td a:focus-visible{outline:3px solid #5b9ef2;outline-offset:3px}
body table.ui-table td button:disabled{opacity:.55;cursor:not-allowed}
body table.ui-table .tag,body table.ui-table .price-option-status{font-size:12px;line-height:1.5;font-weight:700;border-radius:999px;padding:4px 10px;white-space:nowrap}
body table.ui-table .tag.green,body table.ui-table .price-option-status.is-active{background:#e6f6ef;color:#087552}
body table.ui-table .tag.red,body table.ui-table .price-option-status.is-inactive{background:#fff0f1;color:#b32642}
body table.ui-table .tag.blue{background:#eaf2ff;color:#175cb6}
body table.ui-table table.ui-table{border-radius:8px;font-size:12px;min-width:0;width:100%;table-layout:auto}
body table.ui-table table.ui-table th,body table.ui-table table.ui-table td{padding:8px 10px;white-space:nowrap}
body table.franchise-table.ui-table .franchise-group-row>td{background:#edf4fc;border-bottom:1px solid #c6daec}
.ui-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:12px;margin:8px 0;scrollbar-width:thin;scrollbar-color:#b7cce0 #f0f5fa}
.ui-table-scroll:focus-visible{outline:3px solid #5b9ef2;outline-offset:3px}
.renewal-payment-note{background:#eef5ff;border-left:3px solid #2879df;padding:12px 14px;border-radius:6px;color:#315b80;font-size:12px;line-height:1.65}
@media(prefers-reduced-motion:no-preference){table.ui-table{animation:table-reveal .2s ease-out}@keyframes table-reveal{from{opacity:.45}to{opacity:1}}}
@media(prefers-reduced-motion:reduce){body table.ui-table,body table.ui-table *{animation:none!important;transition:none!important}}
@media(max-width:720px){body table.ui-table{font-size:12px}body table.ui-table>thead>tr>th,body table.ui-table>tbody>tr>td{padding:11px 12px}.ui-table-scroll>table{min-width:640px}}
@media print{body table.ui-table{border-collapse:collapse;border-radius:0;animation:none;box-shadow:none}body table.ui-table th,body table.ui-table td{background:white!important;color:black!important;border:1px solid #999!important}.ui-table-scroll{overflow:visible}}
