.orders-page .content-page {
    background: #d1d6dc;
    border-radius: 0;
    min-height: calc(100vh - 120px);
}

.orders-page .container-fluid {
    max-width: 1120px;
}

.orders-title {
    color: #354f6a;
    font-size: 34px;
    letter-spacing: -0.02em;
}

.orders-head-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.orders-switch {
    display: inline-flex;
    gap: 8px;
}

.order-card {
    border-radius: 6px;
}

.order-time-wrap {
    background: #edf0f3;
}

.order-image-wrap {
    width: 170px;
    height: 120px;
    flex-shrink: 0;
}

.order-image-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid #d9e1ea;
    background: #f2f5f9;
}

.order-main-row {
    margin-bottom: 8px;
}

.order-meta {
    color: #495d75;
    line-height: 1.45;
}

.order-badge {
    background: #f07b7b;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
}

.order-continue-btn {
    background: #eacb6f;
    color: #ffffff;
    border: 1px solid #eacb6f;
}

.order-continue-btn:disabled {
    opacity: 1;
    background: #eacb6f;
    border-color: #eacb6f;
    color: #ffffff;
}

.order-alert {
    background: #f8dede;
    border: 1px solid #edc2c2;
    color: #7d2f2f;
}

.order-topup-btn {
    color: #1eb980;
    border-color: #63d2af;
    background: #f8fffb;
}

.order-topup-btn:hover {
    color: #ffffff;
    background: #1eb980;
    border-color: #1eb980;
}

.completed-badge {
    background: #29b26f;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
}

.completed-alert {
    background: #e8f7ee;
    border: 1px solid #c8e9d3;
    color: #1f6e42;
}

.order-toast-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1490;
    background: rgba(2, 6, 23, 0.56);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.order-toast-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.order-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1500;
    width: min(92vw, 500px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.order-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.order-toast.success {
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.98), rgba(15, 118, 110, 0.98));
}

.order-toast.error {
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.98), rgba(185, 28, 28, 0.98));
}

.order-toast__icon {
    flex: 0 0 36px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.18);
}

.order-toast__content {
    flex: 1;
    min-width: 0;
}

.order-toast__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.order-toast__message {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.93);
}

.order-toast__close {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.88;
}

.order-toast__close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .orders-title {
        font-size: 28px;
    }

    .orders-switch {
        width: 100%;
    }

    .orders-switch .btn {
        flex: 1;
    }

    .order-main-row {
        flex-direction: column;
    }

    .order-image-wrap {
        width: 100%;
        max-width: 260px;
        height: 170px;
    }

    .order-toast {
        width: min(92vw, 460px);
        padding: 16px 16px;
    }
}