/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
 select {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.woocommerce select,
.woocommerce input {
    font-size: 16px !important;
}

.cash-to-cash-step p,
.cash-to-cash-step li,
.cash-to-cash-step .payment-instructions {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}

                
                .cash-to-cash-step {
                    display: none;
                    margin-top: 15px;
                }
                .cash-to-cash-step.active {
                    display: block;
                }
                .cash-to-cash-loader {
                    border: 3px solid #f3f3f3;
                    border-top: 3px solid #2196f3;
                    border-radius: 50%;
                    width: 28px;
                    height: 28px;
                    animation: spin 1s linear infinite;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 10px;
                    background: none;
                }
                @keyframes spin {
                    0% { transform: rotate(0deg);}
                    100% { transform: rotate(360deg);}
                }
                #cash_to_cash_beneficiary_select {
                    width: 100%;
                    max-width: 300px;
                    padding: 5px;
                    margin-top: 5px;
                }
                .cash-to-cash-error {
                    color: red;
                    margin-top: 5px;
                    display: none;
                }
                #cash_to_cash_phone {
                    width: 100%;
                    max-width: 300px;
                    padding: 5px;
                    font-size: 1em;
                    box-sizing: border-box;
                }

                /* Boutons alignés avec les champs */
                #cash_to_cash_phone_validate,
                #cash_to_cash_finalize_payment {
                    margin-top: 20px;
                    width: 100%;
                    max-width: 300px;
                    display: block;
                    box-sizing: border-box;
                }
                /* ===========================
   Style général du formulaire
=========================== */

.cash-to-cash-step {
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.payment_box.payment_method_cash-to-cash-payments-for-woocommerce {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* ===========================
   Champs
=========================== */

.cash-to-cash-step input,
.cash-to-cash-step select {
    background: #f8fafc;
    border: 2px solid #d9e4ef;
    border-radius: 8px;
    transition: all .25s ease;
}

/* Au survol */

.cash-to-cash-step input:hover,
.cash-to-cash-step select:hover {
    border-color: #0164b3;
    background: #ffffff;
}

/* Quand le champ est actif */

.cash-to-cash-step input:focus,
.cash-to-cash-step select:focus {
    border-color: #0164b3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(1,100,179,.15);
    outline: none;
}

/* ===========================
   Boutons
=========================== */

.cash-to-cash-step .button {
    background: #0164b3 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 12px 20px;
    transition: .25s;
}

.cash-to-cash-step .button:hover {
    background: #014b85 !important;
    transform: translateY(-1px);
}

/* ===========================
   Titres
=========================== */

.cash-to-cash-step h3,
.cash-to-cash-step h4 {
    color: #0164b3;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

/* ===========================
   Labels
=========================== */

.cash-to-cash-step label {
    color: #333;
    font-weight: 600;
}

/* ===========================
   Select désactivé
=========================== */

#cash_to_cash_beneficiary_select {
    background: #eef6ff;
    color: #0164b3;
    font-weight: bold;
}

/* ===========================
   Loader
=========================== */

.cash-to-cash-loader {
    border-top-color: #0164b3;
}

/* ===========================
   Animation
=========================== */

.cash-to-cash-step.active {
    animation: fadeCash .35s ease;
}

@keyframes fadeCash {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
