/* --- WRAPPER GENERAL --- */
.perfo-checkout-wrapper {
    max-width: 550px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif, Helvetica, Arial;
    color: #333;
}

/* --- HEADER --- */
.perfo-header {
    text-align: center;
    margin-bottom: 25px;
}
.perfo-header h2 {
    color: #0A2342;
    margin-bottom: 5px;
    font-size: 24px;
    line-height: 1.2;
}
.perfo-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* --- FORMULAIRE --- */
#perfo-v2-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Sections */
.perfo-section { margin-bottom: 25px; }
.perfo-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0A2342;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
    margin-top: 0;
}

/* Inputs & Selects */
#perfo-v2-form input[type="text"],
#perfo-v2-form input[type="tel"],
#perfo-v2-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fdfdfd;
    font-size: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
    color: #333;
    height: 45px; /* Hauteur fixe pour alignement */
}

#perfo-v2-form input:focus, 
#perfo-v2-form select:focus {
    border-color: #0A2342;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 35, 66, 0.1);
}

.perfo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
@media (max-width: 480px) { .perfo-row { grid-template-columns: 1fr; } }

/* --- METHODES DE PAIEMENT --- */
.perfo-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.p-method {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    background: #fafafa;
}
.p-method:hover { background: #f0f0f0; }
.p-method input { margin-right: 12px; width: auto !important; height: auto !important; margin-bottom: 0 !important; }
.p-method span { font-weight: 500; font-size: 14px; color: #444; }

/* --- TOTAUX --- */
.perfo-totals {
    background: #f7f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}
.p-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}
.p-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    font-size: 16px;
    font-weight: 700;
    color: #0A2342;
}

/* --- EXTRAS SATIM --- */
#satim-extras {
    margin-bottom: 20px;
    padding: 10px;
    background: #fffbe6;
    border: 1px solid #faeab3;
    border-radius: 6px;
}
.perfo-cgv label {
    font-size: 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center;
}
.perfo-cgv input { 
    margin-right: 8px !important; 
    width: auto !important; 
    height: auto !important; 
    margin-bottom: 0 !important;
}

/* --- BOUTON --- */
.perfo-submit-btn {
    width: 100%;
    background: #0A2342;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.perfo-submit-btn:hover { background: #152a4d; transform: translateY(-2px); }
.perfo-submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* Messages */
#perfo-msg { display: none; }