/* EZQ Activation Form */
.ezq-activation {
    max-width: 500px;
    margin: 0 auto;
}

.ezq-intro {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.ezq-field {
    margin-bottom: 1em;
}

.ezq-field label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: 600;
}

.ezq-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.ezq-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.ezq-submit {
    text-align: center;
    margin-top: 1.5em;
}

.ezq-btn {
    padding: 10px 30px;
    font-size: 1em;
    cursor: pointer;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.ezq-btn:hover {
    background-color: #005a87;
}

.ezq-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ezq-error {
    background-color: #fef0f0;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 1em;
}

.ezq-success {
    padding: 20px 0;
}

.ezq-success-merci {
    color: #155724;
    font-size: 1.1em;
}


/* Modal conditions */
.ezq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ezq-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 650px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ezq-modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: 50vh;
    font-size: 0.9em;
    line-height: 1.5;
}

.ezq-modal-footer {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.ezq-modal-footer .ezq-btn {
    margin: 0 10px;
}

.ezq-modal-note {
    padding: 5px 20px 15px;
    font-size: 0.8em;
    color: #666;
    text-align: center;
}

.ezq-btn-secondary {
    background-color: #6c757d;
}

.ezq-btn-secondary:hover {
    background-color: #545b62;
}

/* Code promo inline form */
.ezq-form-inline {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.ezq-field-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ezq-field-inline label {
    font-weight: 600;
    white-space: nowrap;
}

.ezq-field-inline input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.ezq-promo-valid-msg {
    color: #155724;
    font-weight: 600;
    margin-bottom: 1em;
}

#ezq-promo-step2 p{
    color: #B0C029;
}
#ezq-promo-step2 form h3, #ezq-promo-step2 form label{
    color: white;
}

/* Code promo — étape 3 confirmation */
#ezq-promo-step3 h2,
#ezq-promo-step3 p {
    color: #ffffff;
}

/* Code promo — grille 2 colonnes étape 2 */
.ezq-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.ezq-grid-2 .ezq-col-2 {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .ezq-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Confirmation après paiement */
#ezq-confirmation-wrapper h3,
#ezq-confirmation-wrapper p,
#ezq-confirmation-wrapper td,
#ezq-confirmation-wrapper small {
    color: #ffffff;
}

.ezq-confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.ezq-confirm-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ezq-confirm-table td:first-child {
    width: 40%;
    white-space: nowrap;
}
