.customerAppShell {
    min-height: 100vh;
    background: #f6f6f3;
    color: #151515;
    padding-bottom: 92px;
}
.customerAppHeader {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    padding: 12px 16px;
}
.customerAppHeader > div {
    display: grid;
}
.customerAppHeader small {
    color: #d1d5db;
}
.customerAppHeader button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: #242424;
    color: #fff;
    font-size: 20px;
}
.customerAppMain {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 16px 32px;
}
.customerPanelSection {
    display: grid;
    gap: 15px;
}
.customerGreeting {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 10px 2px;
}
.customerGreeting h1,
.customerPanelTitle h1 {
    margin: 2px 0 0;
    font-size: 30px;
}
.customerGreeting p {
    margin: 5px 0 0;
    color: #6b7280;
}
.customerAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f6a30a;
    font-weight: 950;
}
.customerAvatar.large {
    width: 66px;
    height: 66px;
    font-size: 20px;
}
.customerOrderNow {
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 19px;
    background: #111;
    color: #fff;
    padding: 17px;
    text-align: left;
}
.customerOrderNow > span {
    font-size: 30px;
}
.customerOrderNow div {
    display: grid;
    gap: 3px;
}
.customerOrderNow small {
    color: #c9c9c9;
}
.customerOrderNow strong {
    font-size: 28px;
}
.customerSectionTitle,
.customerPanelTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}
.customerSectionTitle h2,
.customerPanelSection > h2 {
    margin: 0;
    font-size: 19px;
}
.customerSectionTitle button {
    border: 0;
    background: none;
    color: #00789d;
    font-weight: 900;
}
.customerPanelTitle small {
    font-size: 11px;
    font-weight: 900;
    color: #00789d;
}
.customerLiveBadge {
    border-radius: 999px;
    padding: 6px 9px;
    background: #e8f7ee;
    color: #176b3a;
    font-size: 10px;
    font-weight: 950;
}
.customerLiveHint {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #6b7280;
    font-size: 12px;
}
.customerLiveHint span {
    color: #25a55f;
    font-size: 10px;
}
.customerOrderCard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 12px;
    box-shadow: 0 7px 20px #00000005;
}
.customerOrderCard.activeOrder {
    border-color: #efd08b;
    box-shadow: 0 10px 28px #f6a30a12;
}
.customerPendingCard {
    border-color: #ffd27a;
    background: #fffaf0;
}
.customerOrderTop {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.customerOrderTop > div {
    display: grid;
    gap: 4px;
}
.customerOrderNumber {
    font-size: 12px;
    color: #6b7280;
    font-weight: 900;
}
.customerOrderCard p {
    margin: 0;
    color: #414141;
}
.customerOrderCard small {
    color: #6b7280;
}
.customerTimeline {
    display: grid;
    gap: 3px;
    position: relative;
    padding-top: 3px;
}

.customerTimeline.deliveryTimeline {
    grid-template-columns: repeat(4, 1fr);
}

.customerTimeline.pickupTimeline {
    grid-template-columns: repeat(3, 1fr);
}
.customerTimeline > div {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    text-align: center;
    color: #9ca3af;
}
.customerTimeline > div::before {
    content: '';
    position: absolute;
    top: 13px;
    right: 50%;
    width: 100%;
    height: 3px;
    background: #ececec;
    z-index: 0;
}
.customerTimeline > div:first-child::before {
    display: none;
}
.customerTimeline span {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ececec;
    color: #777;
    font-size: 11px;
    font-weight: 950;
}
.customerTimeline div.done span,
.customerTimeline div.done::before {
    background: #f6a30a;
    color: #111;
}
.customerTimeline div.current small {
    color: #111;
    font-weight: 900;
}
.customerTimeline small {
    font-size: 9px;
}
.customerDriverBlock,
.customerPendingIconRow,
.customerDeliveryAddress {
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 14px;
    padding: 11px;
    background: #f7f7f4;
}
.customerDriverIcon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff3d5;
    font-size: 21px;
}
.customerDriverBlock > div:last-child,
.customerPendingIconRow > div,
.customerDeliveryAddress > div {
    display: grid;
    gap: 2px;
}
.customerDriverBlock span {
    color: #6b7280;
    font-size: 12px;
}
.customerPendingIconRow > span {
    font-size: 28px;
}
.customerDeliveryAddress > span {
    font-size: 20px;
}
.customerDeliveryAddress small {
    display: block;
}
.customerCardActions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.customerSecondary {
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 11px;
    padding: 10px 12px;
    font-weight: 900;
}
.customerMapLink {
    color: #006b8b;
    text-decoration: none;
    font-size: 13px;
}
.customerStatsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.customerStatsGrid > div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 13px;
    display: grid;
    gap: 6px;
}
.customerStatsGrid span {
    font-size: 11px;
    color: #6b7280;
}
.customerStatsGrid b {
    font-size: 17px;
}
.customerEmptyMini {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 17px;
    padding: 18px;
    display: grid;
    gap: 5px;
    color: #6b7280;
}
.customerEmptyMini b {
    color: #171717;
}
.customerHistoryTitle {
    margin-top: 12px !important;
}
.customerBottomNav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 50;
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px #0000000b;
}
.customerBottomNav button {
    border: 0;
    background: none;
    display: grid;
    justify-items: center;
    gap: 3px;
    font-size: 10px;
    color: #6b7280;
    font-weight: 800;
}
.customerBottomNav button span {
    font-size: 20px;
}
.customerBottomNav button.active {
    color: #111;
}
.customerBottomNav .orderFab {
    margin-top: -29px;
}
.customerBottomNav .orderFab span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f6a30a;
    color: #111;
    font-size: 30px;
    box-shadow: 0 8px 18px #0003;
}
.customerAddressList {
    display: grid;
    gap: 10px;
}
.customerAddressCard {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 11px;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 17px;
    padding: 14px;
}
.customerAddressIcon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff3d5;
    display: grid;
    place-items: center;
}
.customerAddressCard p {
    margin: 5px 0;
}
.customerAddressCard small {
    color: #6b7280;
}
.customerAddressHeading {
    display: flex;
    gap: 7px;
    align-items: center;
}
.customerAddressHeading span {
    font-size: 10px;
    background: #e8f7ee;
    color: #176b3a;
    padding: 4px 6px;
    border-radius: 999px;
    font-weight: 900;
}
.customerPinSaved,
.customerPinMissing {
    display: block;
    margin-top: 5px;
    font-weight: 800;
}
.customerPinSaved {
    color: #176b3a !important;
}
.customerPinMissing {
    color: #a11919 !important;
}
.customerAddressButtons {
    display: flex;
    gap: 5px;
}
.customerAddressButtons button {
    border: 0;
    border-radius: 9px;
    padding: 8px;
    background: #f2f2f2;
}
.customerAddAddressButton {
    border: 1px dashed #00789d;
    background: #eef8fb;
    color: #006b8b;
    border-radius: 15px;
    padding: 14px;
    font-weight: 900;
}
.customerAddressForm,
.customerAccountForm {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 10px;
}
.customerAddressForm h2 {
    margin: 0;
}
.customerAddressForm small {
    color: #6b7280;
}
.customerAddressMap {
    height: 230px;
    min-height: 230px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.customerCheck {
    display: flex;
    gap: 8px;
    align-items: center;
}
.customerCheck input {
    width: auto;
}
.customerProfileHero {
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.customerProfileHero > div:last-child {
    display: grid;
    gap: 4px;
}
.customerProfileHero span,
.customerProfileHero small {
    color: #cfcfcf;
}
.customerAccountForm label {
    display: grid;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 800;
}
.customerAccountLinks {
    display: grid;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}
.customerAccountLinks button {
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    padding: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
}
.customerAccountLinks button:last-child {
    border-bottom: 0;
}
.customerAccountLinks .customerLogout {
    color: #b42318;
}
.customerPanelError {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}
.customerPanelErrorCard {
    max-width: 430px;
    padding: 24px;
    display: grid;
    gap: 12px;
}
.customerPanelErrorCard h2,
.customerPanelErrorCard p {
    margin: 0;
}
.hide {
    display: none !important;
}
@media (max-width: 520px) {
    .customerAppMain {
        padding: 16px 13px 28px;
    }
    .customerStatsGrid {
        grid-template-columns: 1fr 1fr;
    }
    .customerStatsGrid > div:last-child {
        grid-column: 1 / -1;
    }
    .customerGreeting h1,
    .customerPanelTitle h1 {
        font-size: 27px;
    }
    .customerTimeline {
        gap: 1px;
    }
    .customerTimeline small {
        font-size: 8px;
    }
}
