/* My Account > Bookings (list + details). Fonts/colours from autotriz-site (--atz-*). */
.atzb-acc { font-family: var(--atz-body, Sora, sans-serif); color: #000; }
.atzb-acc p { margin: 0; }
body.atz-woo .woocommerce-MyAccount-content .atzb-acc-h { margin: 0 0 16px !important; }
body.atz-woo .woocommerce-MyAccount-content .atzb-acc-h ~ .atzb-acc-h { margin-top: 36px !important; }
body.atz-woo .woocommerce-MyAccount-content .atzb-acc-h3 { margin: 36px 0 14px !important; font-size: 18px !important; line-height: 24px !important; }

/* buttons (same skewed yellow button as the site) */
.atzb-acc-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 46px; margin: 0 6px; padding: 0 26px;
	color: var(--atz-brown, #423204) !important; font: 600 14px/18px var(--atz-body, Sora, sans-serif); text-decoration: none !important; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.atzb-acc-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 6px; transform: skewX(var(--atz-slant, -12.3deg));
	background: linear-gradient(0deg, #ffe8a8 4.3%, #f5c645 7.7%, #f5c645 100%); box-shadow: inset 0 0 0 1px #fab700; transition: background .25s; }
.atzb-acc-btn:hover { color: #fff !important; }
.atzb-acc-btn:hover::before { background: #000; box-shadow: none; }
.atzb-acc-btn--outline { color: #000 !important; font-weight: 500; }
.atzb-acc-btn--outline::before { background: transparent; box-shadow: inset 0 0 0 1px #000; }
.atzb-acc-btn--small { height: 38px; padding: 0 18px; font-size: 13px; }

/* status badges */
.atzb-acc-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--atz-body, Sora, sans-serif); white-space: nowrap; background: #f1eef3; color: #3b3b3b; }
.atzb-acc-badge--pending { background: #f1eef3; color: #3b3b3b; }
.atzb-acc-badge--confirmed, .atzb-acc-badge--checkin, .atzb-acc-badge--inprogress { background: #fff7dc; color: #7a5a00; }
.atzb-acc-badge--ready { background: #f5c645; color: #423204; }
.atzb-acc-badge--delivered { background: #e6f4ea; color: #1e6b34; }
.atzb-acc-badge--cancelled { background: #fdecea; color: #a1301f; }

/* list */
.atzb-acc-list { display: grid; gap: 12px; }
.atzb-acc-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 20px; align-items: center; padding: 18px 22px; border: 1px solid #ece8ef; border-radius: 10px;
	background: #fff; color: #000 !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s; }
.atzb-acc-card:hover { border-color: #f5c645; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.atzb-acc-card__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.atzb-acc-card__ref { font-size: 12px; line-height: 16px; font-weight: 600; color: #8b8b8b; letter-spacing: .3px; }
.atzb-acc-card__title { font-size: 16px; line-height: 22px; font-weight: 700; }
.atzb-acc-card__meta { font-size: 14px; line-height: 20px; color: #3b3b3b; }
.atzb-acc-card__go { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: #f5c645; text-underline-offset: 3px; }
.atzb-acc-claim { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 0 0 28px; padding: 18px 22px; border-radius: 10px; background: #fff7dc; border: 1px solid #f5c645; font-size: 15px; line-height: 23px; }
.atzb-acc-claim form { flex: none; }
.atzb-acc-empty { padding: 8px 0; }
.atzb-acc-empty p { margin-bottom: 20px; }
.atzb-acc-more { margin-top: 28px !important; }

/* details */
.atzb-acc-back { margin-bottom: 18px !important; font-size: 14px; }
.atzb-acc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
body.atz-woo .woocommerce-MyAccount-content .atzb-acc-title { margin: 0 0 4px !important; }
.atzb-acc-sub { font-size: 14px; color: #767676; }
.atzb-acc-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 30px; padding: 0; list-style: none; counter-reset: none; }
.atzb-acc-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 4px; text-align: center; font-size: 13px; line-height: 18px; font-weight: 600; color: #8b8b8b; }
.atzb-acc-track li::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: #e7e2ea; z-index: 0; }
.atzb-acc-track li:first-child::before { display: none; }
.atzb-acc-track__dot { position: relative; z-index: 1; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 3px solid #e7e2ea; }
.atzb-acc-track li.is-done, .atzb-acc-track li.is-on { color: #000; }
.atzb-acc-track li.is-done::before, .atzb-acc-track li.is-on::before { background: #f5c645; }
.atzb-acc-track li.is-done .atzb-acc-track__dot { background: #f5c645; border-color: #f5c645; }
.atzb-acc-track li.is-on .atzb-acc-track__dot { border-color: #f5c645; box-shadow: 0 0 0 5px rgba(245, 198, 69, .25); }
.atzb-acc-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 0; border: 1px solid #ece8ef; border-radius: 10px; overflow: hidden; background: #ece8ef; }
.atzb-acc-dl > div { padding: 16px 20px; background: #fff; }
.atzb-acc-dl__wide { grid-column: 1 / -1; }
.atzb-acc-dl dt { margin: 0 0 4px; font-size: 13px; line-height: 18px; color: #767676; }
.atzb-acc-dl dd { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; }
.atzb-acc-dl dd small { font-weight: 400; color: #3b3b3b; font-size: 14px; }
.atzb-acc-note { margin: 24px 0 0; padding: 14px 18px; border-radius: 8px; border-left: 4px solid #f5c645; background: #fff7dc; font-size: 15px; line-height: 23px; }
.atzb-acc-note--bad { margin: 0 0 24px; border-left-color: #d97855; background: #fdf0eb; }
.atzb-acc-docs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.atzb-acc-docs li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid #ece8ef; border-radius: 10px; background: #fff; }
.atzb-acc-docs li.is-wait { background: #faf9fb; }
.atzb-acc-docs__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.atzb-acc-docs__text strong { font-size: 15px; line-height: 22px; }
.atzb-acc-docs__text small { font-size: 13px; line-height: 19px; color: #767676; }
.atzb-acc-docs__wait { flex: none; font-size: 13px; font-weight: 600; color: #a3a3a3; }
.atzb-acc-insp__sum { margin-bottom: 12px !important; font-size: 14px; color: #3b3b3b; }
.atzb-acc-counts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.atzb-acc-counts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; font-size: 14px; background: #f6f4f7; }
.atzb-acc-counts b { font-size: 18px; }
.atzb-acc-counts .is-good b { color: #1e6b34; }
.atzb-acc-counts .is-att b { color: #b37a00; }
.atzb-acc-counts .is-crit b { color: #a1301f; }
.atzb-acc-findings { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.atzb-acc-findings li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 16px; border-radius: 8px; border-left: 4px solid #f5c645; background: #fffbea; font-size: 14px; line-height: 21px; }
.atzb-acc-findings li.is-critical { border-left-color: #d97855; background: #fdf0eb; }
.atzb-acc-findings li small { color: #767676; }
.atzb-acc-findings li em { font-style: normal; font-weight: 700; }
.atzb-acc-findings li p { grid-column: 1 / -1; color: #3b3b3b; }
.atzb-acc-insp__notes { margin-top: 12px !important; font-size: 14px; line-height: 22px; color: #3b3b3b; }
.atzb-acc-work { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.atzb-acc-work th, .atzb-acc-work td { padding: 11px 14px; border-bottom: 1px solid #ece8ef; text-align: left; }
.atzb-acc-work thead th { font-size: 13px; color: #767676; font-weight: 600; background: #faf9fb; }
.atzb-acc-work td:nth-child(2), .atzb-acc-work th:nth-child(2) { width: 60px; text-align: center; }
.atzb-acc-work td:last-child, .atzb-acc-work th:last-child { width: 140px; text-align: right; white-space: nowrap; }
.atzb-acc-work tfoot th, .atzb-acc-work tfoot td { border-bottom: 0; font-weight: 700; font-size: 15px; text-align: right; }
.atzb-acc-facts { margin-top: 12px !important; font-size: 13px; line-height: 20px; color: #767676; }
.atzb-acc-help { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid #ece8ef; font-size: 14px; color: #3b3b3b; }

@media (max-width: 767px) {
	.atzb-acc-card { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
	.atzb-acc-card__go { grid-column: 1 / -1; }
	.atzb-acc-claim { flex-direction: column; align-items: stretch; }
	.atzb-acc-head { flex-direction: column; }
	.atzb-acc-track { grid-template-columns: 1fr; gap: 0; }
	.atzb-acc-track li { flex-direction: row; align-items: center; gap: 12px; padding: 0 0 16px; text-align: left; }
	.atzb-acc-track li::before { top: auto; bottom: 0; left: 9px; width: 3px; height: calc(100% - 21px); }
	.atzb-acc-track li:first-child::before { display: block; }
	.atzb-acc-track li:last-child::before { display: none; }
	.atzb-acc-track li:last-child { padding-bottom: 0; }
	.atzb-acc-docs li { flex-direction: column; align-items: flex-start; }
	.atzb-acc-work td:last-child, .atzb-acc-work th:last-child { width: auto; }
}
/* the theme draws table borders and zebra rows; this table only has row lines */
.atzb-acc-work, .atzb-acc-work th, .atzb-acc-work td { border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.atzb-acc-work { border: 0 !important; }
.atzb-acc-work tbody tr, .atzb-acc-work tbody tr:nth-child(odd) > td, .atzb-acc-work tfoot th, .atzb-acc-work tfoot td { background: transparent !important; }
/* Hello Elementor paints every <button> pink (#c36) on hover/focus; our buttons draw their own look. */
.atzb-acc button.atzb-acc-btn, .atzb-acc button.atzb-acc-btn:hover, .atzb-acc button.atzb-acc-btn:focus, .atzb-acc button.atzb-acc-btn:active {
	background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none;
}
.atzb-acc button.atzb-acc-btn--outline:focus:not(:hover) { color: #000 !important; }
.atzb-acc button.atzb-acc-btn--outline:focus:not(:hover)::before { background: transparent; box-shadow: inset 0 0 0 1px #000; }
.atzb-acc button.atzb-acc-btn:focus-visible::before { outline: 2px solid #f5c645; outline-offset: 2px; }
