/* ATCMobile order history. No global row, column, tab or modal overrides. */
.atc-orders { max-width:1170px; margin:24px auto 40px; color:#103b60; font-family:Arial,Helvetica,sans-serif; font-size:15px; line-height:1.5; }
.atc-orders *, .atc-orders *::before, .atc-orders *::after { box-sizing:border-box; }
.atc-orders .atc-orders-heading { margin:0 0 24px; }
.atc-orders .atc-orders-heading h1 { margin:0 0 8px; font-size:30px; line-height:1.25; color:#103b60; }
.atc-orders .atc-orders-heading p { margin:0; color:#587084; }
.atc-orders .atc-orders-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 20px; }
.atc-orders .atc-orders-tabs > a { display:flex; align-items:center; justify-content:center; min-height:46px; padding:11px 20px; border:1px solid #d7e4ed; border-radius:10px; background:#f1f7fb; color:#103b60; text-align:center; text-decoration:none; font-weight:600; }
.atc-orders .atc-orders-tabs > a[aria-selected="true"] { background:#103f65; color:#fff; border-color:#103f65; }
.atc-orders .atc-orders-tabs > a:hover { box-shadow:0 2px 8px #103b601a; }
.atc-orders .atc-orders-panel { padding:22px; border:1px solid #dce6ee; border-radius:14px; background:#fff; box-shadow:0 4px 18px #103b6008; }
.atc-orders .atc-orders-panel[hidden] { display:none!important; }
.atc-orders h2 { margin:0 0 18px; color:#103b60; font-size:22px; line-height:1.4; }
.atc-orders h3 { margin:24px 0 14px; color:#103b60; font-size:19px; }
.atc-orders .atc-orders-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:18px; margin-bottom:22px; }
.atc-orders .atc-orders-toolbar h2 { margin:0; }
.atc-orders .atc-orders-count { display:inline-block; margin-left:6px; padding:3px 9px; border-radius:20px; background:#edf5fa; color:#41677f; font-size:14px; vertical-align:middle; }
.atc-orders .atc-orders-search { max-width:100%; margin:0; }
.atc-orders .atc-orders-search label { display:block; margin:0 0 6px; color:#49667c; font-size:13px; font-weight:600; }
.atc-orders .atc-search-controls { display:flex; gap:8px; }
.atc-orders .atc-orders-search input[type="search"] { display:block; width:250px; min-width:0; height:44px; margin:0!important; padding:10px 12px!important; border:1px solid #cadce9!important; border-radius:8px!important; background:#f8fbfd!important; color:#103b60; font-size:16px; box-shadow:none!important; }
.atc-orders .atc-orders-search button { min-height:44px; margin:0!important; padding:10px 18px!important; border:0!important; border-radius:8px!important; background:#009fd7!important; color:#fff!important; font-size:14px; font-weight:600; cursor:pointer; }
.atc-orders .atc-clear-filter { display:inline-block; margin-top:6px; color:#007fad; font-size:13px; text-decoration:underline; }
.atc-orders .atc-orders-table { width:100%; max-width:100%; border-collapse:separate; border-spacing:0; margin:0; table-layout:fixed; background:#fff; }
.atc-orders .atc-orders-table th { padding:12px 14px; background:#edf5fa; border:0; border-bottom:1px solid #d9e6ef; color:#49677d; font-size:13px; font-weight:600; text-align:left; }
.atc-orders .atc-orders-table td { padding:16px 14px; border:0; border-bottom:1px solid #e5edf3; background:#fff; color:#103b60; font-size:15px; vertical-align:middle; overflow-wrap:anywhere; }
.atc-orders .atc-orders-table tr:nth-child(even) td { background:#f8fbfd; }
.atc-orders .atc-orders-table tbody tr:hover td { background:#eef7fc; }
.atc-orders .atc-orders-table .atc-money { text-align:right; font-variant-numeric:tabular-nums; }
.atc-orders .atc-orders-table td.atc-money { font-weight:600; }
.atc-orders a.orderDetail.modal { position:static!important; display:inline!important; float:none!important; width:auto!important; height:auto!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:#007dad!important; font-weight:700; text-decoration:underline; opacity:1!important; }
.atc-orders .atc-order-status { display:inline-block; padding:5px 10px; border-radius:20px; background:#eaf0f5; color:#49657b; font-size:13px; line-height:1.4; }
.atc-orders .atc-status-complete { background:#e5f5ec; color:#226a45; }
.atc-orders .atc-status-pending { background:#fff2d7; color:#805413; }
.atc-orders .atc-invoice-download { display:inline-block; padding:8px 12px; border:1px solid #cde3ef; border-radius:8px; background:#eef8fd; color:#007aab; text-decoration:none; font-size:14px; font-weight:600; }
.atc-orders .atc-invoice-download:hover { background:#dceffa; }
.atc-orders .atc-orders-pagination { margin-top:20px; padding-top:18px; border-top:1px solid #e4ecf2; }
.atc-orders .atc-orders-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:0; padding:0; list-style:none; }
.atc-orders .atc-orders-pagination li { margin:0; padding:0; }
.atc-orders .atc-orders-pagination a, .atc-orders .atc-page-gap { display:flex; align-items:center; justify-content:center; min-width:40px; min-height:42px; padding:8px; border:1px solid #d9e5ee; border-radius:8px; background:#f1f6fa; color:#103b60; text-decoration:none; font-size:14px; }
.atc-orders .atc-orders-pagination a[aria-current="page"] { background:#009fd7; color:#fff; border-color:#009fd7; font-weight:700; }
.atc-orders .atc-page-gap { min-width:20px; border:0; background:transparent; }
.atc-orders .atc-orders-empty { margin:12px 0; padding:28px 18px; border-radius:10px; background:#f4f8fb; color:#526e82; text-align:center; }
.atc-orders .atc-orders-notice { margin:12px 0 20px; padding:15px 18px; border-left:4px solid #daab44; border-radius:8px; background:#fff7e6; color:#70531f; }
.atc-orders .atc-orders-hint { margin:18px 0 0; font-size:13px; color:#5b7183; }
.atc-orders .atc-bonus-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 24px; }
.atc-orders .atc-bonus-summary > div { padding:20px; border:1px solid #d6e8f3; border-radius:11px; background:#f0f8fc; }
.atc-orders .atc-bonus-summary span { display:block; margin-bottom:8px; color:#4e6b80; font-size:14px; }
.atc-orders .atc-bonus-summary strong { display:block; font-size:24px; line-height:1.3; overflow-wrap:anywhere; }
.atc-orders .atc-bonus-table th:first-child { width:28%; }
.atc-orders .atc-bonus-table td, .atc-orders .atc-bonus-table th { padding:12px 8px; font-size:13px; }
.atc-orders :focus-visible { outline:2px solid #009fd7; outline-offset:3px; }
@media(max-width:767px) {
 .atc-orders { margin:18px auto 28px; }
 .atc-orders .atc-orders-heading h1 { font-size:25px; }
 .atc-orders .atc-orders-tabs { gap:8px; }
 .atc-orders .atc-orders-tabs > a { flex:1 1 auto; padding:10px 12px; font-size:14px; }
 .atc-orders .atc-orders-panel { padding:14px; }
 .atc-orders .atc-orders-toolbar { align-items:stretch; }
 .atc-orders .atc-orders-search { width:100%; }
 .atc-orders .atc-orders-search input[type="search"] { flex:1; width:100%; }
 .atc-orders .atc-orders-search button { padding:10px 12px!important; }
 .atc-orders .atc-orders-table, .atc-orders .atc-orders-table tbody { display:block; width:100%; }
 .atc-orders .atc-orders-table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
 .atc-orders .atc-orders-table tbody tr { display:block; width:100%; margin:0 0 12px; padding:10px 12px; border:1px solid #dce7ef; border-radius:10px; background:#f8fbfd; }
 .atc-orders .atc-orders-table tbody td { display:grid; grid-template-columns:minmax(90px,.9fr) minmax(0,1.3fr); gap:12px; width:100%; padding:7px 0; border:0; background:transparent!important; text-align:right; font-size:14px; }
 .atc-orders .atc-orders-table td::before { content:attr(data-label); text-align:left; color:#587084; font-size:13px; font-weight:400; }
 .atc-orders .atc-order-status { justify-self:end; }
 .atc-orders .atc-invoice-download { justify-self:end; }
 .atc-orders .atc-bonus-summary { grid-template-columns:minmax(0,1fr); gap:10px; }
 .atc-orders .atc-bonus-summary > div { padding:16px; }
}
