/* Inscription multi-étapes */

/* --- Logo --- */
.enrollment-logo {
    position: absolute;
    top: 20px;
    left: 25px;
}

.enrollment-logo img {
    height: 18px;
}

/* --- Wrapper: centrage vertical --- */
.enrollment-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 40px;
    overflow-y: auto;
}

/* Quand le formulaire est long (étape form), pas de centrage vertical, hauteur auto */
.enrollment-wrapper-form {
    justify-content: flex-start;
    min-height: auto;
    height: auto;
    padding-top: 20px;
    padding-bottom: 40px;
}

/* --- Steps indicator (above card) --- */
.enrollment-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    padding: 0 20px;
}

.enrollment-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.4;
}

.enrollment-step.active,
.enrollment-step.done {
    opacity: 1;
}

.enrollment-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 6px;
    border: 2px solid transparent;
}

.enrollment-step.active .step-number {
    background: #eb1c24;
    color: #fff;
    border-color: #eb1c24;
}

.enrollment-step.done .step-number {
    background: transparent;
    border: 2px solid #eb1c24;
    color: #eb1c24;
}

.enrollment-step .step-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enrollment-step.active .step-label {
    color: #fff;
    font-weight: bold;
}

.enrollment-step.done .step-label {
    color: rgba(255, 255, 255, 0.7);
}

.enrollment-step-separator {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
    margin-bottom: 25px;
}

/* --- Card --- */
.enrollment-panel {
    background: #fff;
    border-radius: 8px;
    padding: 45px 50px;
    max-width: 520px;
    margin: 0 auto 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.enrollment-panel-form {
    max-width: 960px;
    text-align: left;
}

.enrollment-panel h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.enrollment-panel h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #555;
    text-align: left;
}

/* --- Icon circle (centered in card) --- */
.enrollment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #eb1c24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.enrollment-icon-success {
    background: #e8f5e9;
    color: #28a745;
}

.enrollment-icon-error {
    background: #fbe9e7;
    color: #dc3545;
}

/* --- Text --- */
.enrollment-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.enrollment-hint {
    color: #999;
    font-size: 12px;
    margin-top: 15px;
}

.enrollment-attempts {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- Form elements --- */
.enrollment-panel .form-control-lg {
    height: 48px;
    font-size: 16px;
    padding: 10px 16px;
}

.enrollment-panel .text-center {
    text-align: center;
}

.enrollment-panel .required {
    color: #eb1c24;
}

.enrollment-panel .btn-primary {
    background: #eb1c24;
    border-color: #eb1c24;
}

.enrollment-panel .btn-primary:hover {
    background: #c91620;
    border-color: #c91620;
}

.enrollment-panel .btn-lg {
    padding: 12px 30px;
    font-size: 15px;
}

.enrollment-panel label {
    text-align: left;
    display: block;
}

#siret-cooldown {
    margin-top: 10px;
}

#siret-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
