/* Customer account pages (sign in, My Account, order tracking) */
.ac-page { padding-bottom: 48px; font-size: 14px; }
.ac-page h1, .ac-page h2, .ac-page h3, .ac-page p { margin: 0; }
.ac-narrow { max-width: 480px; }
.ac-muted { color: var(--sf-muted); font-size: 13px; line-height: 1.5; }
.ac-card { background: #fff; border: 1px solid var(--sf-line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(30, 50, 110, .05); min-width: 0; }
.ac-card h2 { font-size: 16px; font-weight: 800; margin-bottom: 12px; } .ac-card h3 { font-size: 13px; font-weight: 700; margin: 14px 0 8px; }
.ac-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; } .ac-head h1 { font-size: 24px; font-weight: 800; }
.ac-crumbs { margin: 18px 0 0; font-size: 12.5px; color: var(--sf-muted); } .ac-crumbs a:hover { color: var(--sf-blue); } .ac-crumbs b { color: var(--sf-text); }
.ac-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; margin-bottom: 16px; } .ac-stack, .ac-side { display: grid; gap: 14px; min-width: 0; }
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--sf-line); background: #fff; font-weight: 600; font-size: 13px; color: var(--sf-text); cursor: pointer; } .ac-btn:hover { background: #f1f5ff; }
.ac-btn--primary { border-color: var(--sf-blue); background: var(--sf-blue); color: #fff; } .ac-btn--primary:hover { background: var(--sf-blue-d); } .ac-btn--danger { border-color: #f1b4b6; color: #c4262c; } .ac-btn--danger:hover { background: #fdeeee; } .ac-btn--sm { min-height: 32px; padding: 0 12px; font-size: 12px; } .ac-btn:disabled { opacity: .6; cursor: wait; }
.ac-field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; } .ac-field small { font-weight: 400; color: var(--sf-muted); }
.ac-field input { height: 44px; padding: 0 12px; border: 1px solid #cfd8ea; border-radius: 10px; font: inherit; font-size: 14px; background: #fff; outline: 0; } .ac-field input:focus { border-color: var(--sf-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); } .ac-field input:disabled { background: #f3f5fa; color: var(--sf-muted); }
.ac-err { margin: 0 0 14px !important; padding: 10px 12px; border-radius: 9px; background: #fdeaea; color: #b4232a; font-size: 13px; }
.ac-auth { display: grid; gap: 4px; margin-top: 28px; } .ac-auth h1 { font-size: 24px; font-weight: 800; margin-top: 8px; } .ac-auth .ac-muted { margin-bottom: 14px; } .ac-auth .ac-btn--primary { width: 100%; height: 46px; }
.ac-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: #eef2fb; } .ac-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--sf-muted); } .ac-tabs a.is-on { background: #fff; color: var(--sf-text); box-shadow: 0 1px 4px rgba(30, 50, 110, .12); }
.ac-alt { margin-top: 14px !important; font-size: 12.5px; color: var(--sf-muted); } .ac-alt a, .ac-card a:not(.ac-btn) { color: var(--sf-blue); font-weight: 600; } .ac-hint { margin-top: 10px !important; font-size: 12px; color: var(--sf-muted); }
.ac-empty { color: var(--sf-muted); padding: 8px 0; }
.ac-tablewrap { overflow-x: auto; } .ac-table { width: 100%; border-collapse: collapse; font-size: 13px; } .ac-table th { padding: 8px 10px; text-align: left; font-size: 11.5px; font-weight: 600; color: var(--sf-muted); border-bottom: 1px solid var(--sf-line); white-space: nowrap; } .ac-table td { padding: 11px 10px; border-bottom: 1px solid #eef1f8; } .ac-table .r { text-align: right; } .ac-table tr:last-child td { border-bottom: 0; }
.ac-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; } .ac-pill--ok { background: #e6f6ee; color: #0f7a46; } .ac-pill--wait { background: #fff3dc; color: #a35f06; } .ac-pill--bad { background: #fdeaea; color: #b4232a; }
.ac-qa { list-style: none; margin: 0; padding: 0; display: grid; } .ac-qa li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid #eef1f8; } .ac-qa li:last-child { border-bottom: 0; } .ac-qa a { font-size: 12px; } .ac-qa b { font-size: 13.5px; } .ac-qa span { font-size: 13px; color: #3a4764; } .ac-qa small { color: var(--sf-muted); font-size: 11.5px; }
.ac-order > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; } .ac-order h2 { margin-bottom: 2px; }
.ac-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); } .ac-steps li { display: grid; justify-items: center; gap: 6px; position: relative; text-align: center; font-size: 11.5px; color: var(--sf-muted); }
.ac-steps li + li::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #dfe5f2; z-index: 0; } .ac-steps li.is-done + li::before, .ac-steps li.is-now::before { background: var(--sf-green); }
.ac-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #dfe5f2; background: #fff; font-weight: 700; font-size: 12px; } .ac-steps .is-done span { background: var(--sf-green); border-color: var(--sf-green); color: #fff; } .ac-steps .is-now span { border-color: var(--sf-green); color: var(--sf-green); } .ac-steps .is-now em, .ac-steps .is-done em { color: var(--sf-text); font-weight: 600; } .ac-steps em { font-style: normal; }
.ac-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: #f2f7ff; border: 1px solid #d3e1fb; font-size: 13px; margin-bottom: 14px !important; } .ac-info i, .ac-info svg { color: var(--sf-blue); } .ac-info--bad { background: #fdeeee; border-color: #f4c3c5; } .ac-info--bad i, .ac-info--bad svg { color: #c4262c; }
.ac-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .ac-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; } .ac-items small { display: block; color: var(--sf-muted); font-size: 12px; }
.ac-img { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; } .ac-img img { width: 100%; height: 100%; object-fit: contain; } .ac-img i, .ac-img svg { width: 22px; height: 22px; opacity: .7; }
.ac-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e1e7f5; display: grid; gap: 10px; } .ac-timeline li { position: relative; display: grid; gap: 1px; font-size: 13px; } .ac-timeline li::before { content: ''; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sf-blue); border: 2px solid #fff; } .ac-timeline small { color: var(--sf-muted); font-size: 11.5px; }
.ac-sum { margin: 0; display: grid; gap: 8px; } .ac-sum div { display: flex; justify-content: space-between; font-size: 13.5px; } .ac-sum dt, .ac-sum dd { margin: 0; } .ac-sum dd { font-weight: 700; } .ac-sum .is-green { color: #0f7a46; } .ac-sum .is-total { padding-top: 10px; border-top: 1px solid var(--sf-line); font-size: 17px; font-weight: 800; }
.ac-card address { font-style: normal; font-size: 13.5px; line-height: 1.6; }
@media (max-width: 900px) { .ac-cols { grid-template-columns: minmax(0, 1fr); } .ac-steps em { font-size: 10px; } }

/* AED currency sign (owner-provided glyph) beside every price */
img.yv-aed { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.22em; margin-inline-end: 0.1em; object-fit: contain; background: transparent; }
.sf-price img.yv-aed, .mx-balance img.yv-aed, .pl-price img.yv-aed, .sf-line b img.yv-aed { width: 1.25em; height: 1.25em; }
