/* Theme consistency fixes for customer alerts, live tracking and the order center. */

html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction{
    border-color:color-mix(in srgb,var(--theme-accent) 42%,var(--theme-line))!important;
    background:radial-gradient(circle at 88% 8%,var(--theme-accent-soft),transparent 38%),linear-gradient(125deg,var(--theme-panel-strong),var(--theme-panel))!important;
    color:var(--theme-text)!important;
    box-shadow:0 18px 48px var(--theme-shadow),inset 0 1px color-mix(in srgb,var(--theme-text) 7%,transparent)!important;
}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction:after{background:var(--theme-accent)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction .ampol-correction-required-card__icon{background:linear-gradient(135deg,var(--theme-action-from),var(--theme-action-to))!important;color:var(--theme-action-text)!important;box-shadow:0 9px 24px var(--theme-accent-soft)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction .dashboard-action-card__kicker{color:var(--theme-accent-text)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction .dashboard-action-card__title{color:var(--theme-text)!important;-webkit-text-fill-color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction .dashboard-action-card__copy{color:var(--theme-muted)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction .dashboard-action-card__order{border-color:color-mix(in srgb,var(--theme-accent) 24%,var(--theme-line))!important;background:color-mix(in srgb,var(--theme-panel-strong) 86%,transparent)!important;color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-correction>.btn-primary{border:1px solid color-mix(in srgb,var(--theme-accent) 36%,transparent)!important;background:linear-gradient(135deg,var(--theme-action-from),var(--theme-action-to))!important;color:var(--theme-action-text)!important;box-shadow:0 10px 25px var(--theme-accent-soft)!important}

html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity{
    border-color:color-mix(in srgb,var(--theme-accent) 42%,var(--theme-line))!important;
    background:radial-gradient(circle at 88% 8%,var(--theme-accent-soft),transparent 38%),linear-gradient(125deg,var(--theme-panel-strong),var(--theme-panel))!important;
    box-shadow:0 18px 48px var(--theme-shadow),inset 0 1px color-mix(in srgb,var(--theme-text) 7%,transparent)!important;
}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity:after{background:var(--theme-accent)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity .ampol-kyc-required-card__icon{background:linear-gradient(135deg,var(--theme-action-from),var(--theme-action-to))!important;color:var(--theme-action-text)!important;box-shadow:0 9px 24px var(--theme-accent-soft)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity .dashboard-action-card__kicker{color:var(--theme-accent)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity .dashboard-action-card__title{color:var(--theme-text)!important;-webkit-text-fill-color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity .dashboard-action-card__copy{color:var(--theme-muted)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity .dashboard-action-card__order{border-color:color-mix(in srgb,var(--theme-accent) 24%,var(--theme-line))!important;background:color-mix(in srgb,var(--theme-panel-strong) 86%,transparent)!important;color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-dashboard-route .dashboard-action-card.is-identity>.btn-primary{border:1px solid color-mix(in srgb,var(--theme-accent) 36%,transparent)!important;background:linear-gradient(135deg,var(--theme-action-from),var(--theme-action-to))!important;color:var(--theme-action-text)!important;box-shadow:0 10px 25px var(--theme-accent-soft)!important}

html[data-theme] body.ampol-app .live-order-board{
    --live-accent:var(--theme-accent);
    --live-accent-2:var(--theme-accent-2);
    --live-panel:var(--theme-panel);
    --live-soft:var(--theme-panel-soft);
    --live-text:var(--theme-text);
    --live-muted:var(--theme-muted);
    --live-line:color-mix(in srgb,var(--theme-text) 15%,transparent);
    border-color:color-mix(in srgb,var(--theme-accent) 46%,var(--theme-line))!important;
    background:radial-gradient(circle at 88% 4%,var(--theme-accent-soft),transparent 34%),radial-gradient(circle at 8% 100%,color-mix(in srgb,var(--theme-accent-2) 12%,transparent),transparent 38%),linear-gradient(145deg,var(--theme-panel-strong),var(--theme-panel))!important;
    color:var(--theme-text)!important;
    box-shadow:0 28px 72px var(--theme-shadow),inset 0 1px color-mix(in srgb,var(--theme-text) 8%,transparent)!important;
}
html[data-theme] body.ampol-app .live-order-board:before{color:color-mix(in srgb,var(--theme-accent) 6%,transparent)!important;text-shadow:0 0 40px var(--theme-accent-soft)!important}
html[data-theme] body.ampol-app .live-order-board__head{border-color:color-mix(in srgb,var(--theme-accent) 20%,transparent)!important}
html[data-theme] body.ampol-app .live-order-board .live-order-board__head h2{background:linear-gradient(100deg,var(--theme-text),color-mix(in srgb,var(--theme-accent) 72%,var(--theme-text)))!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
html[data-theme] body.ampol-app .live-order-board .live-order-board__head p,
html[data-theme] body.ampol-app .live-order-board .live-order-stage-summary small,
html[data-theme] body.ampol-app .live-order-board .live-queue-grid small,
html[data-theme] body.ampol-app .live-order-board .live-eta small,
html[data-theme] body.ampol-app .live-order-board .live-timeline b,
html[data-theme] body.ampol-app .live-order-board .live-timeline small,
html[data-theme] body.ampol-app .live-order-board .live-queue-grid span,
html[data-theme] body.ampol-app .live-order-board .live-eta>p,
html[data-theme] body.ampol-app .live-order-board .live-plus-note span,
html[data-theme] body.ampol-app .live-order-board .live-order-board__privacy{color:var(--theme-muted)!important}
html[data-theme] body.ampol-app .live-order-board .live-sync{border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--theme-line))!important;background:color-mix(in srgb,var(--theme-panel-strong) 88%,transparent)!important}
html[data-theme] body.ampol-app .live-order-card{border-color:color-mix(in srgb,var(--live-state,var(--theme-accent)) 42%,var(--theme-line))!important;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--live-state,var(--theme-accent)) 12%,transparent),transparent 34%),linear-gradient(145deg,var(--theme-panel-strong),var(--theme-panel))!important;box-shadow:0 18px 45px var(--theme-shadow),inset 0 0 0 1px color-mix(in srgb,var(--theme-text) 4%,transparent)!important}
html[data-theme] body.ampol-app .live-order-stage-summary,
html[data-theme] body.ampol-app .live-queue-grid>div,
html[data-theme] body.ampol-app .live-eta>div{border-color:color-mix(in srgb,var(--live-state,var(--theme-accent)) 26%,var(--theme-line))!important;background:linear-gradient(145deg,color-mix(in srgb,var(--theme-accent) 6%,var(--theme-panel-soft)),var(--theme-panel-strong))!important}
html[data-theme] body.ampol-app .live-order-board .live-order-card__top h3,
html[data-theme] body.ampol-app .live-order-board .live-order-stage-summary b,
html[data-theme] body.ampol-app .live-order-board .live-queue-grid b,
html[data-theme] body.ampol-app .live-order-board .live-eta b{color:var(--theme-text)!important;-webkit-text-fill-color:var(--theme-text)!important;text-shadow:none!important}
html[data-theme] body.ampol-app .live-order-board .live-order-card>footer{border-color:color-mix(in srgb,var(--theme-accent) 18%,var(--theme-line))!important;background:color-mix(in srgb,var(--theme-panel-strong) 88%,transparent)!important;color:var(--theme-muted)!important}
html[data-theme] body.ampol-app .live-order-board .live-order-card>footer b,
html[data-theme] body.ampol-app .live-order-board .live-order-card>footer span{color:var(--theme-text)!important}
html[data-theme] body.ampol-app .live-order-board .live-plus-note{border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--theme-line))!important;background:var(--theme-accent-soft)!important}
html[data-theme] body.ampol-app .live-order-board .live-plus-note b{color:var(--theme-accent)!important}

html[data-theme] body.ampol-app.is-admin-route .ampol-orders-table .ampol-compact-order.is-plus-order{
    border-color:color-mix(in srgb,#e6ad20 62%,var(--theme-line))!important;
    background:radial-gradient(circle at 91% 0,rgba(250,204,21,.22),transparent 38%),linear-gradient(100deg,color-mix(in srgb,#facc15 9%,var(--theme-panel-strong)),var(--theme-panel) 58%,color-mix(in srgb,#f59e0b 7%,var(--theme-panel-strong)))!important;
    box-shadow:inset 4px 0 #eab308,0 8px 24px color-mix(in srgb,#d99a05 14%,var(--theme-shadow))!important;
}
html[data-theme] body.ampol-app.is-admin-route .ampol-compact-order__badges .ampol-row-pill.is-plus{border-color:#d99a05!important;background:linear-gradient(135deg,#8a5700,#e2a514 58%,#ffd968)!important;color:#fff8df!important;box-shadow:0 4px 14px rgba(217,154,5,.28)!important}
html[data-theme] body.ampol-app.is-admin-route .ampol-orders-table .ampol-compact-order.is-plus-order :is(.ampol-compact-order__identity b,.ampol-compact-order__product b,.ampol-compact-order__amount b){color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-admin-route .ampol-orders-table .ampol-compact-order.is-plus-order :is(.ampol-compact-order__identity small,.ampol-compact-order__product small,.ampol-compact-order__amount small){color:var(--theme-muted)!important}

html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-panel{
    border-color:color-mix(in srgb,var(--theme-accent) 34%,var(--theme-line))!important;
    background:radial-gradient(circle at 92% 4%,var(--theme-accent-soft),transparent 38%),linear-gradient(145deg,var(--theme-panel-strong),var(--theme-panel))!important;
    color:var(--theme-text)!important;
    box-shadow:0 18px 48px var(--theme-shadow),inset 0 1px color-mix(in srgb,var(--theme-text) 7%,transparent)!important;
}
html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-panel :is(h2,.ampol-order-correction-field>span){color:var(--theme-text)!important;-webkit-text-fill-color:var(--theme-text)!important}
html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-panel>div:first-child p:last-child{color:var(--theme-muted)!important;-webkit-text-fill-color:var(--theme-muted)!important}
html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-submit{border-color:var(--theme-line)!important;background:color-mix(in srgb,var(--theme-panel-soft) 90%,transparent)!important}
html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-submit p{color:var(--theme-muted)!important;-webkit-text-fill-color:var(--theme-muted)!important;opacity:1!important}
html[data-theme] body.ampol-app.is-orders-route .ampol-order-correction-submit button{border:1px solid color-mix(in srgb,var(--theme-accent) 36%,transparent)!important;background:linear-gradient(135deg,var(--theme-action-from),var(--theme-action-to))!important;color:var(--theme-action-text)!important;-webkit-text-fill-color:var(--theme-action-text)!important;box-shadow:0 10px 25px var(--theme-accent-soft)!important}
