/* ========================================================
   CSS STATUS PESANAN (PENDING TRANSACTIONS)
   ======================================================== */

.pending-wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    height: 100%;
}


.pending-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    color: #14213D;
    margin: 0 0 0.5rem 0;
}

.pending-subtitle {
    font-family: 'Inter', sans-serif;
    color: #64748B;
    font-size: 0.95rem;
    margin: 0;
}

/* Card Styling */
.pending-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.pending-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.pc-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.pc-icon-out {
    background-color: #EFF6FF;
    color: #2563EB;
}

/* Biru untuk Kuota */
.pc-icon-in {
    background-color: #F0FDF4;
    color: #16A34A;
}

/* Hijau untuk Top Up */

.pc-details h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E293B;
    margin: 0 0 0.2rem 0;
}

.pc-details .ref-id {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

.pc-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #14213D;
    margin-top: 0.5rem;
}

/* Timer & Actions */
.pc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.timer-badge {
    background-color: #FEF2F2;
    color: #DC2626;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timer-badge.expired {
    background-color: #F1F5F9;
    color: #64748B;
}

.pc-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-pc-pay {
    background-color: #14213D;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-pc-pay:hover {
    background-color: #FCA311;
    color: #14213D;
}

.btn-pc-cancel {
    background-color: #FFFFFF;
    color: #64748B;
    border: 1px solid #CBD5E1;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-pc-cancel:hover {
    background-color: #F8FAFC;
    color: #DC2626;
    border-color: #DC2626;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px dashed #CBD5E1;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar--open {
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    }

    .sidebar-overlay {
        display: block;
    }

    .pending-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .pc-right {
        width: 100%;
        align-items: flex-start;
        border-top: 1px dashed #E2E8F0;
        padding-top: 1rem;
    }

    .pc-actions {
        width: 100%;
    }

    .btn-pc-pay,
    .btn-pc-cancel {
        flex: 1;
        text-align: center;
    }
}