/* Payment page styles */
/* 1. Container & Layout */
.payment__content {
    max-width: 600px;
    margin: 0 auto;
 }
/* 2. Fix the "Payment Required" message */
.payment__order-payment-required {
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #feb2b2;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}
/* 3. Modernize the Order Total Section */
.payment__order-total {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}
.payment__order-total-value {
    font-size: 17px;
    color: #1e293b;
    font-weight: 800;
}
.payment__cc_surcharge-amount {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}
/* 4. Payment Provider Cards */
.payment__provider {
    margin-bottom: 12px;
    border-radius: 12px;
    
    transition: all 0.2s ease;
    background: white;
}
/* Highlight the active selection */
.payment__provider:has(.mat-radio-checked) {
    border-color: #1db4dd;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(29, 180, 221, 0.1);
}
/* Make the radio label area clickable and spacious */
.payment__option-button {
    width: 100%;
    padding: 16px;
    margin: 0 !important;
}
.mat-radio-label {
    width: 100%;
    cursor: pointer !important;
}
/* 5. The "Proceed to Payment" Box */
.payment__option-card--expanded {
    padding: 0 16px 16px 16px;
    margin-top: -8px;
}
.pay-button {
    width: 100%;
    height: 50px;
    background: #1db4dd !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s;
}
.pay-button:active {
    transform: scale(0.98);
}
/* Adjust Angular Material Radio Alignment */
.mat-radio-label-content {
    font-weight: 600;
    color: #334155;
    padding-left: 8px !important;
}
/* Container for the expanded payment options */
 .payment .payment__option-card {
    max-width: 95% !important;
    margin-bottom: -10px !important;
    /* Clean up the box if you want to remove the default shadow/padding */
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Overwriting the Material Radio Button Colors */
.payment .mat-radio-button.mat-accent .mat-radio-outer-circle {
    border-color: #ED2124 !important;
}
 .payment .mat-radio-inner-circle{
    background-color: #ED2124 !important;
}
/* Ensuring the ripple (click effect) also matches your brand color */
 .payment .mat-radio-button.mat-accent .mat-radio-persistent-ripple {
    background-color: #ED2124 !important;
}
