/**
 * Payment QR page styles (pay subdomain)
 */

.qr-page {
    background: linear-gradient(135deg, #198754 0%, #157347 50%, #0f5132 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.qr-wrapper {
    width: 100%;
    max-width: 440px;
}

.qr-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    padding: 2rem 2rem 2.25rem;
}

.qr-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(25, 135, 84, 0.3);
}

.qr-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.qr-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.payment-details {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: #212529;
    text-align: right;
}

.amount-value {
    color: #198754;
    font-size: 1.1rem;
}

.qr-image-box {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0;
}

.qr-image {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    padding: 0.5rem;
    background: #fff;
}

.qr-placeholder {
    width: 260px;
    height: 260px;
    border: 2px dashed #ced4da;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-align: center;
    padding: 1rem;
}

.qr-placeholder i {
    font-size: 4rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.qr-placeholder p {
    font-size: 0.85rem;
    margin: 0;
}

.upi-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #d1e7dd;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.upi-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f5132;
    text-transform: uppercase;
}

.upi-value {
    flex: 1;
    font-weight: 600;
    color: #212529;
    word-break: break-all;
}

.bank-details {
    font-size: 0.875rem;
    color: #495057;
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    line-height: 1.6;
}

.qr-note {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .qr-card {
        padding: 1.5rem;
    }

    .qr-image,
    .qr-placeholder {
        max-width: 220px;
        width: 220px;
        height: 220px;
    }
}
