@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');

:root {
  --orange: #f15a24;
  --orange-dark: #d94316;
  --orange-soft: #fff0e9;
  --gold: #ffc44d;
  --teal: #007c78;
  --ink: #172626;
  --muted: #6e7776;
  --line: #e7e9e6;
  --paper: #fffdf8;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(38, 49, 46, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #d9dfdc; color: var(--ink); font-family: "Noto Sans SC", sans-serif; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.app-shell { width: min(100%, 540px); min-height: 100vh; margin: 0 auto; background: #f5f5f1; position: relative; box-shadow: 0 0 50px rgba(17, 31, 29, .18); padding-bottom: 92px; overflow: hidden; }
.topbar { height: 70px; padding: 10px 18px; background: rgba(255, 253, 248, .94); backdrop-filter: blur(18px); display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(231,233,230,.8); }
.brand-lockup { border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; }
.brand-lockup > span:last-child { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-lockup strong { font-size: 16px; letter-spacing: .06em; }
.brand-lockup small { font: 600 7px/1.5 "DM Sans"; letter-spacing: .18em; color: var(--orange); }
.brand-mark { width: 35px; height: 35px; border-radius: 12px 5px 12px 5px; display: grid; place-items: center; background: var(--orange); color: white; font-weight: 900; transform: rotate(-5deg); box-shadow: 3px 3px 0 var(--gold); }
.icon-button, .language-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.back-button { visibility: hidden; }
.back-button.visible { visibility: visible; }
.language-button { font: 800 12px "DM Sans"; background: var(--ink); color: white; }

.page { display: none; min-height: calc(100vh - 162px); animation: page-in .3s ease both; }
.page.active { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

.hero { min-height: 390px; padding: 185px 24px 30px; color: white; background-image: linear-gradient(90deg, rgba(11,30,29,.97) 0%, rgba(11,30,29,.84) 48%, rgba(11,30,29,.28) 100%), url("app-header-selected.png"); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(transparent, rgba(8,24,23,.7)); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 430px; }
.eyebrow { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hero h1 { margin: 12px 0 10px; font-size: clamp(31px, 8vw, 43px); line-height: 1.16; letter-spacing: -.04em; }
.hero p { margin: 0; color: rgba(255,255,255,.84); font-size: 14px; }
.hero-route-chip { position: absolute; z-index: 3; right: 22px; top: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 10px 13px; background: rgba(255,255,255,.12); backdrop-filter: blur(9px); color: white; font: 800 11px "DM Sans"; }
.route-card { position: absolute; right: 23px; bottom: 79px; display: flex; align-items: center; z-index: 2; transform: rotate(-5deg); }
.country { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font: 800 20px "DM Sans"; box-shadow: var(--shadow); }
.country.china { background: var(--gold); color: var(--orange-dark); }
.country.indo { background: white; color: var(--teal); }
.route-line { width: 54px; height: 28px; border-top: 2px dashed white; text-align: center; }
.route-line i { color: white; transform: translateY(-12px) rotate(8deg); }
.hero-pills { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-pills span { padding: 10px 6px; background: rgba(105,26,6,.25); border: 1px solid rgba(255,255,255,.17); backdrop-filter: blur(8px); border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; }

.content-stack { padding: 15px; display: grid; gap: 14px; }
.home-content { margin-top: -28px; position: relative; z-index: 4; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 10px; border-radius: 26px; background: white; box-shadow: 0 14px 34px rgba(28,48,43,.13); }
.action-card { min-height: 108px; border: 0; border-radius: 18px; padding: 14px; background: #fff9f5; display: flex; align-items: flex-start; gap: 12px; text-align: left; box-shadow: none; cursor: pointer; transition: transform .2s, background .2s; }
.action-card:active { transform: scale(.98); }
.action-card i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 18px; }
.action-card span { display: flex; flex-direction: column; gap: 6px; }
.action-card strong { font-size: 18px; }
.action-card small { color: var(--muted); font-size: 11px; }
.action-card.featured { background: #fff8f4; color: var(--ink); }
.action-card.featured i { background: rgba(241,90,36,.12); color: var(--orange); }
.action-card.featured small { color: var(--muted); }
.action-card:nth-child(2) { background: #f5fbf9; }
.action-card:nth-child(2) i { background: rgba(0,124,120,.12); color: var(--teal); }
.action-card:nth-child(3) { background: #fffaf0; }
.action-card:nth-child(3) i { background: rgba(244,194,74,.18); color: #b58528; }
.action-card:nth-child(4) { background: #f4f7ff; }
.action-card:nth-child(4) i { background: rgba(47,128,237,.12); color: #2f80ed; }
.action-card.wd-purchase-home { background: #fbf8f1; }
.action-card.wd-purchase-home i { background: rgba(181,133,40,.14); color: #a4741e; }
.action-card.warehouse-action { background: #f2faf8; }
.action-card.warehouse-action i { background: rgba(0,124,120,.12); color: var(--teal); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: var(--radius); padding: 15px 6px; }
.mini-grid button { border: 0; background: transparent; display: grid; justify-items: center; gap: 9px; font-size: 11px; cursor: pointer; }
.mini-grid i { font-size: 21px; color: var(--teal); }
.promo-card { border-radius: 24px; min-height: 140px; color: white; background: linear-gradient(115deg, var(--teal), var(--ink)); padding: 22px; display: flex; justify-content: space-between; align-items: flex-end; overflow: hidden; position: relative; }
.promo-card::after { content: ""; position: absolute; width: 140px; height: 140px; border: 25px solid rgba(255,255,255,.09); border-radius: 50%; top: -55px; right: -24px; }
.promo-card h2 { margin: 10px 0 5px; font-size: 27px; }
.promo-card p { margin: 0; font-size: 12px; color: rgba(255,255,255,.76); }
.promo-card button { position: relative; z-index: 2; border: 0; border-radius: 14px; padding: 11px 12px; background: var(--gold); font-size: 12px; font-weight: 800; display: flex; gap: 6px; cursor: pointer; }
.status-strip { display: grid; grid-template-columns: repeat(3,1fr); padding: 16px 0; }
.status-strip div { display: grid; text-align: center; border-right: 1px solid var(--line); }
.status-strip div:last-child { border: 0; }
.status-strip b { font: 800 18px "DM Sans"; color: var(--orange); }
.status-strip span { font-size: 10px; color: var(--muted); }

.page-heading { padding: 34px 22px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { background: var(--orange-soft); color: var(--orange); }
.page-heading h1 { font-size: 31px; margin: 12px 0 8px; }
.page-heading p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.7; }
.orange-heading { background: linear-gradient(145deg, var(--orange), var(--orange-dark)); color: white; border: 0; }
.orange-heading .eyebrow { background: rgba(255,255,255,.17); color: white; }
.orange-heading p { color: rgba(255,255,255,.78); }

.steps { padding-top: 18px; }
.step-card { background: white; border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.step-number { width: 46px; height: 46px; border-radius: 15px; background: var(--orange-soft); color: var(--orange); font: 800 16px/46px "DM Sans"; text-align: center; }
.step-card h2 { margin: 1px 0 7px; font-size: 18px; }
.step-card p { margin: 0 0 11px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-link { border: 0; padding: 0; background: transparent; color: var(--orange); font-weight: 700; cursor: pointer; }
.empty-packages { padding: 12px; background: #f5f6f3; border-radius: 12px; color: var(--muted); font-size: 12px; }

.form-card, .warehouse-card, .timeline, .saved-packages, .rate-list, .order-overview, .menu-list, .faq-list { margin: 15px; background: white; border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 24px rgba(49,56,54,.04); }
.form-card { display: grid; gap: 17px; }
.form-card label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.form-card input, .form-card select, .form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: #fafaf8; padding: 13px; outline: none; color: var(--ink); font-weight: 500; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.form-card label[hidden] { display: none !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card fieldset { border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; margin: 0; }
.form-card legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.radio { display: inline-flex !important; grid-template-columns: auto auto; margin-right: 20px; }
.radio input { width: auto; }
.primary-button { border: 0; border-radius: 14px; background: var(--orange); color: white; padding: 14px 20px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(241,90,36,.18); }
.primary-button.small { padding: 9px 14px; font-size: 12px; }
.primary-button.full { width: 100%; }

.estimate-result { margin: 15px; padding: 23px; border-radius: var(--radius); color: white; background: var(--ink); display: grid; gap: 4px; }
.estimate-result span { font-size: 12px; color: rgba(255,255,255,.66); }
.estimate-result strong { font: 800 36px "DM Sans"; color: var(--gold); }
.estimate-result small { font-size: 10px; color: rgba(255,255,255,.52); }
.rate-list h2, .saved-packages h2, .timeline h2, .order-overview h2 { margin: 0 0 14px; font-size: 17px; }
.rate-list > div { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }
.rate-list b { color: var(--orange); }

.saved-packages { padding-bottom: 10px; }
.package-item { padding: 13px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.package-item strong { font: 700 13px "DM Sans"; }
.package-item span { color: var(--muted); font-size: 11px; }
.package-item b { color: var(--teal); font-size: 11px; align-self: center; }
.empty-state { padding: 20px 0; text-align: center; color: var(--muted); font-size: 12px; }

.tracking-search { margin: 18px 15px 12px; height: 58px; border-radius: 18px; background: white; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; padding: 7px; box-shadow: var(--shadow); }
.tracking-search i { text-align: center; color: var(--muted); }
.tracking-search input { border: 0; outline: 0; min-width: 0; }
.tracking-search button { border: 0; border-radius: 12px; background: var(--orange); color: white; padding: 11px 17px; font-weight: 700; }
.tracking-result { margin: 15px; min-height: 245px; border-radius: var(--radius); background: white; padding: 22px; }
.tracking-empty { min-height: 200px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.tracking-empty i { font-size: 34px; color: var(--orange); }
.tracking-empty h2 { margin: 4px 0 0; font-size: 18px; color: var(--ink); }
.tracking-empty p { margin: 0; font-size: 12px; }
.track-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.track-head b { color: var(--teal); }
.track-timeline { list-style: none; margin: 17px 0 0; padding: 0; }
.track-timeline li { border-left: 2px solid var(--line); padding: 0 0 18px 18px; position: relative; font-size: 12px; color: var(--muted); }
.track-timeline li::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--line); left: -5.5px; top: 4px; }
.track-timeline li:first-child { color: var(--ink); }
.track-timeline li:first-child::before { background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }
.human-help { margin: 15px; border-radius: 18px; padding: 16px; background: #e7f6f4; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; }
.human-help > i { color: var(--teal); font-size: 21px; }
.human-help-copy { display: grid; }
.human-help strong { font-size: 12px; }
.human-help span { font-size: 10px; color: var(--muted); }
.human-help-actions { display: flex; gap: 6px; }
.human-help-actions button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--teal); color: white; border-radius: 11px; padding: 9px; font-size: 10px; white-space: nowrap; }
.human-help-actions button span { color: inherit; font-size: inherit; }
.human-help-actions button.wechat { background: #18a765; }

.warehouse-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 3px solid var(--orange); }
.warehouse-title div { display: grid; gap: 3px; }
.warehouse-title span { font-size: 17px; font-weight: 800; }
.warehouse-title strong { color: var(--muted); font-size: 10px; }
.warehouse-title button { border: 0; color: white; background: var(--orange); border-radius: 999px; padding: 9px 13px; font-size: 11px; font-weight: 700; }
.warehouse-card dl { margin: 9px 0 0; }
.warehouse-card dl div { display: grid; grid-template-columns: 70px 1fr 32px; align-items: center; min-height: 49px; border-bottom: 1px solid var(--line); font-size: 12px; }
.warehouse-card dt { color: var(--muted); }
.warehouse-card dd { margin: 0; font-weight: 600; }
.warehouse-card dl button { border: 0; background: transparent; color: var(--orange); }
.timeline > div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; min-height: 78px; position: relative; }
.timeline > div:not(:last-child)::after { content: ""; position: absolute; width: 1px; height: 38px; background: var(--line); left: 21px; top: 40px; }
.timeline b { width: 43px; height: 43px; border: 1px solid var(--orange); border-radius: 50%; display: grid; place-items: center; color: var(--orange); font: 700 13px "DM Sans"; }
.timeline span { display: grid; align-content: start; gap: 4px; }
.timeline strong { font-size: 15px; }
.timeline small { color: var(--muted); font-size: 11px; }

.faq-list details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list details:last-child { border: 0; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.faq-list p { color: var(--muted); font-size: 12px; line-height: 1.8; }

.profile-hero { padding: 32px 23px; background: linear-gradient(135deg, var(--ink), #254744); color: white; display: flex; gap: 15px; align-items: center; }
.avatar { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 23px; }
.profile-hero span { color: rgba(255,255,255,.62); font-size: 12px; }
.profile-hero h1 { margin: 3px 0; font-size: 23px; }
.profile-hero small { color: rgba(255,255,255,.58); }
.order-overview > div { display: grid; grid-template-columns: repeat(4,1fr); }
.order-overview button { border: 0; background: transparent; display: grid; justify-items: center; gap: 7px; position: relative; font-size: 10px; }
.order-overview i { font-size: 20px; color: var(--orange); }
.order-overview b { position: absolute; right: 8px; top: -8px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: white; font: 700 9px/18px "DM Sans"; }
.menu-list { padding: 4px 18px; }
.menu-list button { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 32px 1fr 20px; align-items: center; min-height: 58px; text-align: left; font-size: 13px; }
.menu-list button:last-child { border: 0; }
.menu-list button i:first-child { color: var(--teal); }
.menu-list button i:last-child { color: #bdc3c1; font-size: 10px; }
.profile-logout { width: calc(100% - 30px); min-height: 54px; margin: 4px 15px 24px; padding: 0 20px; border: 1px solid #f1d5cc; border-radius: 16px; background: #fff8f5; color: #d94b2a; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.profile-logout i { width: 20px; font-size: 16px; }

.floating-service { position: fixed; z-index: 30; right: max(18px, calc((100vw - 540px) / 2 + 18px)); bottom: 103px; width: 52px; height: 52px; border: 4px solid white; border-radius: 50%; background: #24d366; color: white; font-size: 24px; box-shadow: var(--shadow); cursor: pointer; }
.floating-service.hidden-on-page { display: none; }
.bottom-nav { position: fixed; z-index: 25; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 540px); height: calc(76px + env(safe-area-inset-bottom)); padding: 8px 12px env(safe-area-inset-bottom); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.bottom-nav button { border: 0; background: transparent; display: grid; justify-items: center; align-content: center; gap: 5px; color: var(--muted); cursor: pointer; }
.bottom-nav i { font-size: 18px; }
.bottom-nav span { font-size: 10px; }
.bottom-nav button.active { color: var(--orange); }

.toast { position: fixed; z-index: 80; bottom: 110px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 999px; padding: 11px 18px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 25px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,27,25,.58); backdrop-filter: blur(5px); }
.modal-card { width: min(100%, 380px); position: relative; background: white; border-radius: 26px; padding: 30px 24px 22px; text-align: center; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 12px; right: 12px; border: 0; background: #f1f2ef; border-radius: 50%; width: 34px; height: 34px; }
.modal-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto; border-radius: 20px; background: var(--orange-soft); color: var(--orange); font-size: 24px; }
.modal-card h2 { margin: 17px 0 8px; }
.modal-card p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 20px; }

@media (min-width: 760px) {
  body { background: radial-gradient(circle at 15% 20%, rgba(241,90,36,.18), transparent 26%), radial-gradient(circle at 88% 76%, rgba(0,124,120,.18), transparent 25%), #dfe4e0; }
}

body:has(.page[data-page="home"].active) header:has(#languageButton) { position: absolute; z-index: 20; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 540px); background: transparent; border-bottom: 0; color: white; }
body:has(.page[data-page="home"].active) header:has(#languageButton) strong { color: white; }
body:has(.page[data-page="home"].active) header:has(#languageButton) small { color: var(--gold); }

@media (max-width: 380px) {
  .hero { min-height: 408px; }
  .action-card { padding: 13px; gap: 8px; }
  .action-card strong { font-size: 16px; }
  .route-card { opacity: .75; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.account-button { margin-top: 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.1); color: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.account-modal { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; padding: 20px; }
.account-modal.open { display: grid; }
.account-backdrop { position: absolute; inset: 0; background: rgba(12,27,25,.64); backdrop-filter: blur(6px); }
.account-panel { width: min(100%, 410px); position: relative; z-index: 1; border-radius: 28px; padding: 25px; background: white; box-shadow: var(--shadow); }
.account-panel h2 { margin: 6px 0 5px; font-size: 25px; }
.account-panel > p { margin: 0 0 19px; color: var(--muted); font-size: 12px; }
.account-close { position: absolute; right: 15px; top: 15px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: #f0f2ef; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #f1f2ef; margin-bottom: 17px; }
.auth-tabs button { border: 0; border-radius: 11px; padding: 10px; background: transparent; font-weight: 700; font-size: 12px; }
.auth-tabs button.active { background: white; color: var(--orange); box-shadow: 0 3px 10px rgba(30,43,40,.08); }
.auth-form { display: grid; gap: 13px; }
.auth-form.hidden { display: none; }
.auth-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.auth-form input { border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; outline: 0; }
.auth-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.account-summary { display: none; }
.account-summary.active { display: grid; gap: 14px; }
.member-card { padding: 18px; border-radius: 18px; background: var(--ink); color: white; display: grid; gap: 4px; }
.member-card span { color: rgba(255,255,255,.58); font-size: 11px; }
.member-card strong { color: var(--gold); font: 800 23px "DM Sans"; }
.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-actions a, .account-actions button { text-decoration: none; text-align: center; border: 0; border-radius: 13px; padding: 12px; background: var(--orange-soft); color: var(--orange); font-size: 12px; font-weight: 800; cursor: pointer; }
.package-item[data-package-events] {
  cursor: pointer;
}

.account-orders {
  margin-top: 18px;
  border-top: 1px solid #e7e4dc;
  padding-top: 16px;
}

.account-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.account-section-title h3 {
  margin: 0;
  font-size: 16px;
}

.account-section-title span {
  color: #8a8f8b;
  font-size: 11px;
}

.account-order-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.account-order,
.account-empty {
  border-radius: 14px;
  background: #f4f6f2;
  padding: 13px;
}

.account-order > div,
.account-order dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-order > div b {
  border-radius: 999px;
  background: #ffeadf;
  color: #f45b2a;
  padding: 4px 8px;
  font-size: 11px;
}

.account-order p {
  color: #737a75;
  margin: 7px 0 10px;
  font-size: 12px;
}

.account-order dl {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 12px;
}

.account-order dt {
  color: #8a8f8b;
}

.account-order dd {
  margin: 0;
  color: #172c29;
  font-weight: 700;
  text-align: right;
}

.account-empty {
  color: #8a8f8b;
  text-align: center;
  font-size: 13px;
}

.track-timeline li {
  display: grid;
  gap: 4px;
}

.track-timeline li span,
.track-timeline li small {
  color: #7a817c;
}
.account-order[data-order-events] {
  cursor: pointer;
}

.order-events-slot {
  margin-top: 10px;
  border-top: 1px dashed #d8ddd7;
  padding-top: 9px;
  color: #74807a;
  font-size: 11px;
}

.order-events-slot ol {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-events-slot li {
  border-left: 2px solid #f45b2a;
  padding-left: 10px;
}

.order-events-slot li strong,
.order-events-slot li span,
.order-events-slot li small {
  display: block;
}

.order-events-slot li p {
  margin: 3px 0;
}
.notification-list { display: grid; gap: 12px; padding: 15px 15px 110px; }
.notification-card { display: grid; grid-template-columns: 42px 1fr; gap: 12px; border: 1px solid #e6e8e3; border-radius: 18px; background: #fff; padding: 15px; box-shadow: 0 8px 24px rgba(49,56,54,.04); cursor: pointer; }
.notification-card.unread { border-color: #ffd3c3; background: #fffaf7; }
.notification-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e7f5f1; color: #098c7e; }
.notification-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notification-card header b { border-radius: 999px; background: #f45b2a; color: #fff; padding: 3px 7px; font-size: 9px; }
.notification-card p { margin: 6px 0; color: #626b66; font-size: 13px; line-height: 1.55; }
.notification-card small { color: #9aa09c; font-size: 10px; }
.notification-empty { display: grid; justify-items: center; gap: 8px; border-radius: 18px; background: #fff; padding: 42px 20px; color: #8a928d; text-align: center; }
.notification-empty i { font-size: 28px; color: #f45b2a; }
.bottom-nav button { position: relative; }
.nav-badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 999px; background: #f45b2a; color: #fff; padding: 0 4px; font-size: 9px; line-height: 16px; }
.tracking-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 15px 15px 0; border-radius: 14px; background: #e7e9e5; padding: 4px; }
.tracking-tabs button { border: 0; border-radius: 11px; background: transparent; padding: 11px 8px; color: #69716d; font-weight: 700; cursor: pointer; }
.tracking-tabs button.active { background: #fff; color: #f45b2a; box-shadow: 0 3px 12px rgba(49,56,54,.08); }
.mark-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.mark-summary span { display: grid; gap: 4px; border-radius: 12px; background: #f3f6f3; padding: 12px; }
.mark-summary small { color: #87908a; font-size: 10px; }
.mark-summary strong { font-size: 13px; }
.proof-upload { display: inline-flex; justify-content: center; margin-top: 10px; border: 1px dashed #f45b2a; border-radius: 10px; color: #f45b2a; padding: 8px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.customer-image-gallery, .admin-image-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.customer-image-gallery a, .admin-image-gallery a { display: grid; gap: 4px; color: #5f6863; font-size: 10px; text-align: center; text-decoration: none; }
.customer-image-gallery img, .admin-image-gallery img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.shipping-fields { display: grid; gap: 10px; margin-top: 12px; }
.shipping-fields label { display: grid; gap: 6px; color: #59635e; font-size: 12px; font-weight: 700; }
.shipping-fields select, .shipping-fields textarea { width: 100%; border: 1px solid #dfe4df; border-radius: 10px; background: #fff; padding: 10px; outline: 0; }
.order-card-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.order-card-actions button { border: 1px solid #d8ddd8; border-radius: 9px; background: #fff; color: #707873; padding: 8px 10px; font-size: 11px; cursor: pointer; }
.order-card-actions .proof-upload { flex: 1; margin: 0; }
.order-mark { color: #f45b2a !important; }
.order-package-list { display: grid; gap: 5px; margin-bottom: 12px; border-radius: 10px; background: #f2f5f2; padding: 10px; }
.order-package-list span { color: #626b66; font-size: 11px; }
.change-password { margin-top: 14px; border-top: 1px solid #e7e4dc; padding-top: 13px; }
.change-password summary { color: #66716b; font-size: 13px; font-weight: 700; cursor: pointer; }
.change-password form { display: grid; gap: 10px; margin-top: 12px; }
.change-password label { display: grid; gap: 5px; color: #727b76; font-size: 11px; }
.change-password input { border: 1px solid #dfe4df; border-radius: 10px; padding: 10px; }
.change-password button { border: 0; border-radius: 10px; background: #173330; color: #fff; padding: 10px; font-weight: 700; cursor: pointer; }
.ticket-create-card, .customer-tickets { margin: 15px; border-radius: 18px; background: #fff; padding: 16px; }
.ticket-create-card > div { display: grid; gap: 3px; }
.ticket-create-card > div span { color: #7b847f; font-size: 11px; }
.ticket-create-card > button, .ticket-create-card form button { width: 100%; margin-top: 12px; border: 0; border-radius: 11px; background: #f45b2a; color: #fff; padding: 11px; font-weight: 700; cursor: pointer; }
.ticket-create-card form { display: grid; gap: 10px; margin-top: 14px; border-top: 1px solid #eceeea; padding-top: 14px; }
.ticket-create-card form[hidden] { display: none; }
.ticket-create-card label { display: grid; gap: 5px; color: #626b66; font-size: 11px; font-weight: 700; }
.ticket-create-card input, .ticket-create-card select, .ticket-create-card textarea { width: 100%; border: 1px solid #dde3de; border-radius: 10px; padding: 10px; outline: 0; }
.customer-tickets h2 { margin: 0 0 12px; font-size: 16px; }
#customerTicketList { display: grid; gap: 10px; }
.customer-ticket { border: 1px solid #e4e7e3; border-radius: 14px; padding: 13px; cursor: pointer; }
.customer-ticket header { display: flex; justify-content: space-between; gap: 10px; }
.customer-ticket header div { display: grid; gap: 3px; }
.customer-ticket header span, .customer-ticket > small { color: #87908a; font-size: 10px; }
.customer-ticket header b { align-self: start; border-radius: 999px; background: #e7f5f1; color: #078574; padding: 4px 8px; font-size: 10px; }
.customer-ticket h3 { margin: 10px 0 5px; font-size: 13px; }
.ticket-empty { border-radius: 12px; background: #f5f7f4; color: #8a928d; padding: 22px; text-align: center; font-size: 12px; }
.ticket-conversation { margin-top: 10px; border-top: 1px dashed #dfe3df; padding-top: 9px; color: #87908a; font-size: 11px; }
.ticket-message { margin-top: 8px; border-radius: 10px; background: #f3f6f3; padding: 9px; }
.ticket-message.admin { background: #fff0e8; }
.ticket-message p { margin: 4px 0; color: #59625d; line-height: 1.5; }
.ticket-message small { color: #959c98; }
