.order-arrival-alert {
    position: fixed;
    top: 18px;
    left: 50%;
    width: min(760px, calc(100vw - 32px));
    z-index: 1000;
    pointer-events: none;
}

.order-arrival-alert--hidden {
    opacity: 0;
    transform: translate(-50%, -14px);
}

.order-arrival-alert--show {
    animation: order-arrival-alert-in 3s ease-out forwards;
}

.order-arrival-alert__inner {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 190px;
    gap: 16px;
    align-items: center;
    min-height: 72px;
    padding: 12px 18px;
    border: 1px solid rgba(112, 232, 218, 0.75);
    border-radius: 8px;
    background: rgba(6, 12, 16, 0.94);
    box-shadow: 0 0 24px rgba(112, 232, 218, 0.26), 0 12px 36px rgba(0, 0, 0, 0.34);
}

.order-arrival-alert__label {
    color: #70e8da;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.order-arrival-alert__main {
    min-width: 0;
    overflow: hidden;
}

.order-arrival-alert__order {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-arrival-alert__customer {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #d1d5db;
    font-size: 17px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-arrival-alert__meta {
    min-width: 0;
    text-align: right;
}

.order-arrival-alert__amount {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-arrival-alert__owner {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #f2c94c;
    font-size: 16px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes order-arrival-alert-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -18px);
        filter: drop-shadow(0 0 0 rgba(112, 232, 218, 0));
    }
    12% {
        opacity: 1;
        transform: translate(-50%, 0);
        filter: drop-shadow(0 0 16px rgba(112, 232, 218, 0.56));
    }
    72% {
        opacity: 1;
        transform: translate(-50%, 0);
        filter: drop-shadow(0 0 10px rgba(112, 232, 218, 0.34));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -8px);
        filter: drop-shadow(0 0 0 rgba(112, 232, 218, 0));
    }
}

@media (max-width: 720px) {
    .order-arrival-alert {
        top: 12px;
        width: calc(100vw - 24px);
    }

    .order-arrival-alert__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-height: 0;
    }

    .order-arrival-alert__meta {
        text-align: left;
    }
}
