.status {
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.status.pending,
.status.processing {
    background: rgba(255, 204, 0, 0.12);
    border-color: rgba(255, 204, 0, 0.3);
    color: #ffe079;
}

.status.completed {
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.34);
    color: #78ffc2;
}

.status.failed,
.status.cancelled {
    background: rgba(255, 75, 114, 0.12);
    border-color: rgba(255, 75, 114, 0.32);
    color: #ff9ab1;
}

.orders-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

/* ── Order Chat / Track ── */
.order-chat-link-row {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.order-chat-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.12), rgba(123, 47, 255, 0.10));
    border: 1px solid rgba(0, 200, 255, 0.25);
    color: #00e0ff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(0, 200, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 4;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.order-chat-link-btn::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e0ff;
    box-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
    animation: chatPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
    pointer-events: none;
}

@keyframes chatPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.order-chat-link-btn:hover {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.22), rgba(123, 47, 255, 0.18));
    border-color: rgba(0, 200, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 255, 0.18), 0 0 0 1px rgba(0, 200, 255, 0.1);
}

.order-chat-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 200, 255, 0.1);
}

.order-chat-link-btn i {
    font-size: 0.95rem;
}
