/* css/payment-gateway.css — PART 1: Dual Checkout & Payment Gateway Internal */

.btn-pay-gateway {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
}

.btn-qris-auto {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border: none;
    margin-bottom: 8px;
}

.checkout-login-hint {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.pay-modal {
    max-width: 480px;
}

.pay-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.pay-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.pay-summary-row strong {
    color: #22c55e;
    font-size: 18px;
}

.pay-summary-products {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

.pay-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.pay-method-option {
    position: relative;
    cursor: pointer;
}

.pay-method-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pay-method-option span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 11.5px;
    text-align: center;
    transition: all 0.2s ease;
}

.pay-method-option span img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pay-method-option input:checked + span {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    box-shadow: 0 0 0 1px #22c55e inset;
}

.pay-transfer-detail {
    background: rgba(34, 197, 94, 0.08);
    border: 1px dashed rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 14px 0;
    text-align: center;
}

.pay-bank-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.pay-bank-number {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #22c55e;
}

.pay-bank-holder {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.pay-bank-note {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    margin: 4px 0 0;
}

.pay-qris-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-top: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.pay-proof-preview {
    margin-top: 8px;
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pay-status-msg {
    min-height: 18px;
    font-size: 13px;
    text-align: center;
    margin: 10px 0;
}

.pay-status-msg.is-error {
    color: #ef4444;
}

.pay-status-msg.is-success {
    color: #22c55e;
}

/* ==================== BADGE STATUS TRANSAKSI ==================== */
.tx-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.tx-badge-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.tx-badge-approved {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.tx-badge-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

@media (max-width: 480px) {
    .pay-method-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
