﻿
/* Top bar -------------------------------------------------- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.back-link {
    font-size: 13px;
    color: var(--accent-pink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.12s ease, transform 0.12s ease;
}

    .back-link span.icon {
        font-size: 16px;
        line-height: 1;
    }

    .back-link:hover {
        opacity: 0.85;
        transform: translateX(-2px);
    }

.status-pill {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
}

/* Main card ------------------------------------------------ */

/* Left side ------------------------------------------------ */

.mascot-wrap {
    width: 190px;
    height: 190px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #fff7fb, #f4e9ff);
    box-shadow: 0 14px 40px rgba(148, 163, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .mascot-wrap img {
        width: 80%;
        height: 80%;
        object-fit: contain;
    }

.headline {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 8px;
    margin-bottom: 4px;
}

.subhead {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.order-id {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 4px;
}

.meta-line {
    font-size: 13px;
    margin-bottom: 2px;
}

    .meta-line span.label {
        font-weight: 600;
    }

.pickup-chip {
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--secondary-dark);
    color: #ffffff;
    align-items: center;
}

    .pickup-chip span.dot {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: var(--accent-deep);
    }

/* Timeline style for time (optional) */
.timeline {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

    .timeline strong {
        color: var(--text-main);
    }

/* Points box ----------------------------------------------- */
.points-box {
    margin-top: 22px;
    margin-bottom: 18px;
    padding: 16px 18px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px dashed rgba(185, 152, 255, 0.9);
    box-shadow: 0 10px 25px rgba(148, 163, 184, 0.18);
    max-width: 420px;
}

.points-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.points-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-deep);
}

.points-earned {
    font-size: 14px;
    margin-bottom: 4px;
}

    .points-earned span.points {
        font-weight: 800;
        color: var(--accent-pink);
    }

.points-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* Totals --------------------------------------------------- */
.totals {
    width: 100%;
    max-width: 420px;
    margin-top: 12px;
    font-size: 13px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(226, 232, 240, 0.9);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.85);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

    .total-row.total {
        font-weight: 700;
        margin-top: 4px;
    }

/* Right side ----------------------------------------------- */
.right {
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    padding-left: 28px;
}

@media (max-width: 900px) {
    .right {
        border-left: none;
        padding-left: 0;
        padding-top: 18px;
        margin-top: 6px;
    }
}

.right-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.right-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-pink);
}

.order-code-chip {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.9);
    color: var(--text-muted);
}

.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
}

.order-item-main {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.drink-thumb {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--accent-pink-soft);
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.25);
}

    .drink-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.order-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-item-name {
    font-size: 14px;
    font-weight: 600;
}

.order-item-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    min-width: 70px;
    text-align: right;
}

/* Little micro hover on list */
.order-item-row:hover .order-item-main {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

