.my-deliveries {
    --delivery-ink: #07122d;
    --delivery-muted: #617083;
    --delivery-line: rgba(7, 18, 45, .1);
    --delivery-accent: #04c995;
    display: none;
    width: min(100% - 32px, 1060px);
    margin: 0 auto clamp(3rem, 8vw, 7rem);
    padding: clamp(1.25rem, 4vw, 2.5rem);
    color: var(--delivery-ink);
    direction: rtl;
    text-align: right;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(241, 247, 248, .92));
    border: 1px solid rgba(135, 156, 175, .2);
    border-radius: 24px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .09);
}

.delivery-optional {
    border: 1px solid #dce4ed;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 0;
    color: var(--text-color);
}

.delivery-optional summary {
    cursor: pointer;
    min-height: 44px;
    align-content: center;
    font-weight: 600;
}

.delivery-optional summary small {
    font-weight: 400;
    margin-inline-start: 8px;
}

.delivery-optional summary:focus-visible {
    outline: 2px solid #2460e8;
    outline-offset: 4px;
}

.delivery-optional[open] summary {
    margin-bottom: 12px;
}

.my-deliveries.is-visible {
    display: block;
    animation: deliveries-enter .4s ease both;
}

.deliveries-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.deliveries-eyebrow {
    margin: 0 0 .3rem;
    color: var(--delivery-accent);
    font: 700 .78rem/1 var(--hebo-font);
    letter-spacing: .08em;
}

.deliveries-header h2 {
    margin: 0;
    color: var(--delivery-ink);
    font: 800 clamp(1.55rem, 3vw, 2rem)/1.2 var(--hebo-font);
}

.deliveries-description {
    margin: .35rem 0 0;
    color: var(--delivery-muted);
    font: 400 1rem/1.5 var(--hebo-font);
}

.deliveries-count {
    flex: 0 0 auto;
    padding: .5rem .75rem;
    color: #087d61;
    background: rgba(4, 201, 149, .11);
    border: 1px solid rgba(4, 201, 149, .2);
    border-radius: 999px;
    font: 700 .9rem var(--hebo-font);
}

.deliveries-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: 1rem;
}

.delivery-item {
    min-width: 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--delivery-line);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
    animation: deliveries-card-enter .4s ease both;
    animation-delay: calc(var(--delivery-index) * 60ms);
}

.delivery-item-header,
.delivery-tracking-row,
.delivery-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.delivery-item-header {
    margin-bottom: 1.25rem;
}

.delivery-item-number,
.delivery-label,
.delivery-meta {
    color: var(--delivery-muted);
    font: 500 .85rem var(--hebo-font);
}

.delivery-item-number bdi,
.delivery-tracking-number {
    direction: ltr;
    unicode-bidi: plaintext;
}

.delivery-status {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: #526274;
    font: 700 .9rem var(--hebo-font);
}

.delivery-status i {
    font-size: .7rem;
}

.delivery-status--active {
    color: #087d61;
}

.delivery-status--active i {
    animation: delivery-pulse 2.2s ease-in-out infinite;
}

.delivery-status--delivered,
.delivery-status--confirmed {
    color: #197044;
}

.delivery-status--cancelled,
.delivery-status--failed {
    color: #b43737;
}

.delivery-tracking {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--delivery-line);
}

.delivery-tracking-row {
    margin-top: .35rem;
    justify-content: flex-start;
}

.delivery-tracking-number {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--delivery-ink);
    font: 800 clamp(1rem, 3vw, 1.25rem)/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.btn-copy-tracking {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 34px;
    padding: .35rem .55rem;
    color: var(--delivery-muted);
    background: transparent;
    border: 1px solid var(--delivery-line);
    border-radius: 8px;
    cursor: pointer;
    font: 600 .75rem var(--hebo-font);
}

.btn-copy-tracking:hover,
.btn-copy-tracking:focus-visible {
    color: #087d61;
    border-color: var(--delivery-accent);
}

.btn-copy-tracking.is-copied {
    color: #087d61;
    border-color: rgba(4, 201, 149, .5);
}

.delivery-progress {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .25rem;
    margin: 1.15rem 0;
}

.delivery-progress-step {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: #9aa6b3;
    font: 500 .68rem var(--hebo-font);
    text-align: center;
}

.delivery-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 9px;
    inset-inline-start: 50%;
    width: 100%;
    height: 2px;
    background: #dde5e8;
    z-index: 0;
}

.delivery-progress-step.is-complete {
    color: #087d61;
}

.delivery-progress-step.is-complete:not(:last-child)::after {
    background: rgba(4, 201, 149, .45);
}

.delivery-progress-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: white;
    background: #d9e2e6;
    border: 3px solid white;
    border-radius: 50%;
    font-size: .65rem;
    box-shadow: 0 0 0 1px #d9e2e6;
}

.delivery-progress-step.is-complete .delivery-progress-dot {
    background: var(--delivery-accent);
    box-shadow: 0 0 0 1px var(--delivery-accent);
}

.delivery-progress-step.is-current .delivery-progress-dot {
    box-shadow: 0 0 0 3px rgba(4, 201, 149, .16);
}

.delivery-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-bottom: 1.1rem;
}

.delivery-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.btn-view-delivery,
.btn-delivery-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 44px;
    padding: .65rem 1rem;
    color: #07382e;
    background: var(--main-color);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: 800 .9rem var(--hebo-font);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn-view-delivery {
    width: 100%;
}

.btn-view-delivery:hover,
.btn-view-delivery:focus-visible,
.btn-delivery-retry:hover,
.btn-delivery-retry:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(4, 201, 149, .2);
}

.btn-view-delivery i {
    transition: transform 180ms ease;
}

.btn-view-delivery:hover i,
.btn-view-delivery:focus-visible i {
    transform: translateX(-3px);
}

.btn-view-delivery.is-loading {
    opacity: .65;
    pointer-events: none;
}

.delivery-empty,
.delivery-error,
.delivery-inline-message {
    grid-column: 1 / -1;
    padding: 2.5rem 1rem;
    color: var(--delivery-muted);
    text-align: center;
    font-family: var(--hebo-font);
}

.delivery-empty i,
.delivery-error>i {
    display: block;
    margin-bottom: .8rem;
    color: var(--delivery-accent);
    font-size: 2.3rem;
}

.delivery-empty h3,
.delivery-error h3 {
    margin: 0 0 .35rem;
    color: var(--delivery-ink);
    font-size: 1.25rem;
}

.delivery-empty p,
.delivery-error p {
    margin: 0 0 1rem;
}

.delivery-error>i {
    color: #c97832;
}

.delivery-loading {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: 1rem;
}

.delivery-skeleton {
    min-height: 240px;
    border-radius: 16px;
    background: linear-gradient(100deg, #e8eff0 30%, #f8fbfb 45%, #e8eff0 60%);
    background-size: 200% 100%;
    animation: delivery-skeleton 1.5s linear infinite;
}

.delivery-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(7, 18, 45, .48);
    animation: deliveries-fade-in 180ms ease both;
}

.delivery-modal-content {
    position: relative;
    width: min(100%, 600px);
    max-height: min(720px, calc(100vh - 2rem));
    overflow: auto;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--delivery-ink);
    direction: rtl;
    background: #fbfdfd;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    box-shadow: 0 25px 75px rgba(7, 18, 45, .25);
    animation: delivery-modal-enter 220ms ease both;
}

.delivery-modal-content h2 {
    margin: 0;
    font: 800 1.7rem var(--hebo-font);
}

.delivery-modal-close {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--delivery-muted);
    background: #eef4f4;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.delivery-modal-close:hover,
.delivery-modal-close:focus-visible {
    color: var(--delivery-ink);
    background: #dfeceb;
}

.delivery-modal-tracking {
    margin: .35rem 0 1.2rem;
    color: var(--delivery-muted);
    font: 700 1rem ui-monospace, monospace;
    overflow-wrap: anywhere;
}

.delivery-status--large {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.delivery-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
}

.delivery-detail-field {
    min-width: 0;
    padding: .8rem;
    background: #f2f7f7;
    border-radius: 10px;
}

.delivery-detail-field dt {
    color: var(--delivery-ink) !important;
    font-size: .78rem;

}

.delivery-detail-field dd {
    margin: .25rem 0 0;
    color: var(--delivery-ink) !important;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.delivery-inline-message {
    padding: .7rem;
    color: #a33a3a;
    background: #fff3f1;
    border-radius: 10px;
}

.my-deliveries button:focus-visible,
.delivery-modal-content:focus-visible {
    outline: 3px solid rgba(4, 201, 149, .45);
    outline-offset: 3px;
}

@keyframes deliveries-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes deliveries-card-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes deliveries-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes delivery-modal-enter {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes delivery-pulse {
    50% {
        transform: scale(1.25);
    }
}

@keyframes delivery-skeleton {
    to {
        background-position: -200% 0;
    }
}

/* =========================================================
   DRIVER GPS — APPLE STYLE
   ========================================================= */

.driver-gps-widget {
    --gps-accent: var(--primary-color, #04f9b4);
    --gps-progress: 70%;

    position: fixed;
    inset-inline-start: 18px;
    inset-block-start: max(88px, env(safe-area-inset-bottom));
    z-index: 1400;

    display: flex;
    align-items: center;
    gap: .75rem;

    width: max-content;
    min-width: 225px;
    max-width: calc(100vw - 36px);

    padding: .55rem .7rem .55rem .62rem;

    direction: rtl;

    color: var(--header-color, #ebeef3);

    background:
        linear-gradient(180deg,
            rgba(19, 26, 41, .94),
            rgba(12, 18, 30, .92));

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;

    box-shadow:
        0 12px 35px rgba(7, 18, 45, .22),
        0 3px 10px rgba(0, 0, 0, .10),
        inset 0 1px 0 rgba(255, 255, 255, .06);

    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);

    transition:
        opacity .25s ease,
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.driver-gps-widget[hidden] {
    display: none;
}

/* =========================================================
   ORB
   ========================================================= */

.driver-gps-widget__orb {
    position: relative;

    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;
}

/* progress ring */
.driver-gps-widget__ring {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        conic-gradient(var(--gps-accent) var(--gps-progress),
            rgba(255, 255, 255, .09) var(--gps-progress) 100%);

    mask: radial-gradient(farthest-side,
            transparent calc(100% - 3px),
            #000 calc(100% - 2px));

    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(100% - 3px),
            #000 calc(100% - 2px));

    transform: rotate(-90deg);

    transition:
        background .5s ease,
        opacity .3s ease;
}

/* center */
.driver-gps-widget__orb-inner {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--gps-accent);

    background:
        radial-gradient(circle at 35% 30%,
            rgba(4, 249, 180, .17),
            rgba(4, 249, 180, .055) 55%,
            rgba(255, 255, 255, .035));

    border: 1px solid rgba(4, 249, 180, .13);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 0 18px rgba(4, 249, 180, .08);
}

.driver-gps-widget__orb-inner i {
    font-size: 1rem;
}

/* pulse */
.driver-gps-widget__pulse {
    position: absolute;
    inset: 5px;

    border-radius: 50%;

    border: 1px solid var(--gps-accent);

    opacity: 0;

    pointer-events: none;
}

.driver-gps-widget.is-active .driver-gps-widget__pulse {
    animation: driverGpsPulse 2.2s ease-out infinite;
}

@keyframes driverGpsPulse {
    0% {
        transform: scale(.72);
        opacity: .35;
    }

    70% {
        transform: scale(1.18);
        opacity: 0;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

/* =========================================================
   CONTENT
   ========================================================= */

.driver-gps-widget__content {
    min-width: 0;
    flex: 1;
}

.driver-gps-widget__top {
    display: flex;
    align-items: center;
    gap: .4rem;

    min-width: 0;

    line-height: 1;
}

.driver-gps-widget__label {
    font-family: var(--hebo-font, system-ui, sans-serif);

    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .02em;

    color: rgba(235, 238, 243, .96);
}

.driver-gps-widget__status {
    overflow: hidden;

    max-width: 140px;

    text-overflow: ellipsis;
    white-space: nowrap;

    font-family: var(--texts-font, system-ui, sans-serif);

    font-size: .72rem;
    font-weight: 500;

    color: var(--muted-color, rgba(235, 245, 244, .74));
}

.driver-gps-widget__dot {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--gps-accent);

    box-shadow:
        0 0 0 3px rgba(4, 249, 180, .08),
        0 0 10px rgba(4, 249, 180, .35);

    transition:
        background .25s ease,
        box-shadow .25s ease;
}

/* =========================================================
   NUMBERS
   ========================================================= */

.driver-gps-widget__numbers {
    display: flex;
    align-items: center;

    margin-top: .28rem;
}

.driver-gps-widget__metric {
    display: flex;
    align-items: baseline;
    gap: .28rem;
}

.driver-gps-widget__metric-value {
    font-family: var(--hebo-font, system-ui, sans-serif);

    font-size: .76rem;
    font-weight: 700;

    color: rgba(255, 255, 255, .93);

    font-variant-numeric: tabular-nums;
}

.driver-gps-widget__metric-label {
    font-family: var(--texts-font, system-ui, sans-serif);

    font-size: .65rem;
    font-weight: 500;

    color: rgba(235, 238, 243, .42);
}

.driver-gps-widget__divider {
    width: 1px;
    height: 11px;

    margin-inline: .52rem;

    background: rgba(255, 255, 255, .09);
}

/* =========================================================
   GPS LEVELS
   ========================================================= */

/* Excellent */
.driver-gps-widget[data-level="excellent"] {
    --gps-accent: #04f9b4;
    --gps-progress: 96%;
}

/* Good */
.driver-gps-widget[data-level="good"] {
    --gps-accent: #7de8c9;
    --gps-progress: 76%;
}

/* Medium */
.driver-gps-widget[data-level="fair"] {
    --gps-accent: #f6d77a;
    --gps-progress: 52%;
}

/* Poor */
.driver-gps-widget[data-level="poor"] {
    --gps-accent: #ffad66;
    --gps-progress: 30%;
}

/* Error / unavailable */
.driver-gps-widget[data-level="offline"] {
    --gps-accent: #8993a5;
    --gps-progress: 10%;
}

.driver-gps-widget[data-level="offline"] .driver-gps-widget__orb-inner {
    color: #8993a5;

    background:
        rgba(255, 255, 255, .045);

    border-color: rgba(255, 255, 255, .08);
}

.driver-gps-widget[data-level="offline"] .driver-gps-widget__dot {
    background: #8993a5;

    box-shadow:
        0 0 0 3px rgba(137, 147, 165, .07);
}

.driver-gps-widget[data-level="offline"] .driver-gps-widget__pulse {
    animation: none;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .driver-gps-widget {
        inset-inline-start: 12px;
        inset-block-end: max(85px, env(safe-area-inset-bottom));
        inset-block-start: auto;
        min-width: 0;
        width: auto;
        max-width: max-content;
        /* TODO(TD-04): assess whether the compact shipment status control needs more room on mobile. */
        padding: 4px;
        gap: 0;
        border-radius: 50px;
        background: rgba(12, 18, 30, 0.75);
    }

    .driver-gps-widget__content {
        display: none;
    }

    .driver-gps-widget__orb {
        width: 38px;
        height: 38px;
    }

    .driver-gps-widget__orb-inner {
        width: 28px;
        height: 28px;
    }

    .driver-gps-widget__orb-inner i {
        font-size: 0.85rem;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .driver-gps-widget,
    .driver-gps-widget__ring,
    .driver-gps-widget__dot {
        transition: none;
    }

    .driver-gps-widget__pulse {
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .my-deliveries {
        width: min(100% - 20px, 1060px);
        padding: 1rem;
        border-radius: 18px;
    }

    .deliveries-header {
        align-items: flex-start;
    }

    .deliveries-count {
        font-size: .75rem;
    }

    .delivery-details-grid {
        grid-template-columns: 1fr;
    }

    .delivery-modal-content {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .my-deliveries *,
    .my-deliveries *::before,
    .my-deliveries *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.delivery-form .form-actions .delivery-type-options {
    margin-bottom: 1rem
}

.delivery-form .form-actions .delivery-type-options small {
    display: block;
    width: 100%;
    color: #617083;
    font-size: .8rem
}

.delivery-form-notice {
    margin: .35rem 0 0;
    color: #617083;
    font-size: .82rem;
    line-height: 1.5
}

.delivery-form-notice a {
    color: #087d61;
    text-underline-offset: 3px
}

/* A bounded shipment list and one live detail panel keep long histories readable. */
.my-delivery-panel[hidden] {
    display: none;
}

.my-delivery-panel {
    margin-bottom: 22px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid #b9dcd1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 54, 49, .09);
}

.my-delivery-panel-head,
.my-delivery-panel-summary,
.my-delivery-panel-actions,
.my-deliveries-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.my-delivery-panel-head {
    margin-bottom: 20px;
}

.my-delivery-panel-head h3 {
    margin: 0;
    color: #102d41;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    overflow-wrap: anywhere;
}

.my-delivery-panel-close,
.my-deliveries-pager button,
.my-delivery-panel-actions .btn-open-tracking {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #b6d5cb;
    border-radius: 11px;
    background: #f1faf6;
    color: #075f50;
    font: 700 .9rem var(--hebo-font);
    cursor: pointer;
}

.my-delivery-panel-close:hover,
.my-deliveries-pager button:not(:disabled):hover,
.my-delivery-panel-actions .btn-open-tracking:hover {
    background: #ddf3e9;
}

.my-deliveries-pager button:disabled {
    cursor: default;
    opacity: .45;
}

.my-delivery-panel-summary {
    padding: 17px;
    border-radius: 14px;
    background: #edf8f4;
}

.my-delivery-panel-summary>div {
    min-width: 0;
}

.my-delivery-panel-summary>div>span {
    display: block;
    color: #516d68;
    font-size: .82rem;
}

.my-delivery-panel-summary strong {
    display: block;
    margin-top: 3px;
    color: #102d41;
    overflow-wrap: anywhere;
}

.my-delivery-panel .delivery-progress {
    margin: 24px 0;
}

.my-delivery-panel .delivery-details-grid {
    margin: 0;
}

.my-delivery-panel-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
}

.my-delivery-panel-actions .btn-copy-tracking {
    min-height: 42px;
    padding: 9px 15px;
}

.my-deliveries-pager {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 16px;
    color: #35566a;
    font-weight: 700;
}

.delivery-panel-loading {
    margin: 0;
    padding: 20px;
    color: #516d68;
}

.delivery-notice {
    position: fixed;
    z-index: 100100;
    top: max(18px, env(safe-area-inset-top));
    left: 50%;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: min(520px, calc(100vw - 28px));
    padding: 17px;
    border: 1px solid #a8d8c7;
    border-radius: 18px;
    background: #f0fbf6;
    color: #123c36;
    box-shadow: 0 20px 55px rgba(8, 47, 43, .22);
    transform: translateX(-50%);
    direction: rtl;
    text-align: right;
}

.delivery-notice.is-error {
    border-color: #e7b6b1;
    background: #fff5f3;
    color: #7e2824;
}

.delivery-notice.is-primary {
    border-color: #b7d8e7;
    background: #f2f9fc;
    color: #16485f;
}

.delivery-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    height: 35px;
    border-radius: 11px;
    background: #d6f3e6;
    color: #087960;
}

.delivery-notice.is-error .delivery-notice-icon {
    background: #fbe2de;
    color: #a3423a;
}

.delivery-notice.is-primary .delivery-notice-icon {
    background: #dceff7;
    color: #176481;
}

.delivery-notice-body {
    min-width: 0;
    flex: 1;
    line-height: 1.5;
}

.delivery-notice-body strong {
    display: block;
    font-size: 1.02rem;
}

.delivery-notice-body p {
    margin: 3px 0 0;
}

.delivery-notice-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 11px;
}

.delivery-notice-actions bdi {
    font: 700 .86rem ui-monospace, monospace;
    overflow-wrap: anywhere;
}

.delivery-notice-actions button {
    padding: 7px 11px;
    border: 1px solid #80bda8;
    border-radius: 9px;
    background: #fff;
    color: #075f50;
    font-weight: 800;
    cursor: pointer;
}

.delivery-notice-close {
    flex: 0 0 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    cursor: pointer;
}

.delivery-notice button:focus-visible,
.my-delivery-panel button:focus-visible,
.my-deliveries-pager button:focus-visible {
    outline: 3px solid #07836b;
    outline-offset: 2px;
}

.delivery-empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.delivery-support-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #04f9b4;
    border-radius: 11px;
    color: #04f9b3;
    background: #0548388b;
    font-weight: 700;
    transition: all .4s;
    text-decoration: none;
}

.delivery-support-link:hover,
.delivery-support-link:focus-visible {
    background: #04f9b4;
    color: var(--text-color);
    outline: 2px solid rgb(91, 220, 194);
    outline-offset: 2px;
    cursor: pointer;
}

@media (max-width: 600px) {

    .my-delivery-panel-head,
    .my-delivery-panel-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-delivery-panel .delivery-details-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .my-deliveries-pager {
        gap: 8px;
        font-size: .83rem;
    }

    .my-deliveries-pager button {
        padding: 8px;
        font-size: .8rem;
    }

    .delivery-notice {
        padding: 14px;
    }
}