/*
 * EDS Multi-Step Form Styles
 */

.step-indicator {
    padding: 0;
    margin: 0;
}

.step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-indicator .step span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #888;
    border: 2px solid #f0f0f0;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-indicator .step p {
    font-size: 14px;
    margin-top: 8px;
    color: #888;
    font-weight: 500;
}

.step-indicator .step.active span {
    background-color: #fff;
    border-color: #e40e1a; /* red-color */
    color: #e40e1a;
}

.step-indicator .step.active p {
    color: #333;
    font-weight: bold;
}

.step-indicator hr {
    border-top: 2px solid #f0f0f0;
}

/* Form Styling */
.form-step {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 20px;
}

input.is-invalid, select.is-invalid, textarea.is-invalid {
    border-color: #e40e1a !important; /* red-color */
    box-shadow: 0 0 0 0.25rem rgba(228, 14, 26, 0.25);
}

.button-secondary {
    background-color: #6c757d;
    color: #fff;
}

.button-secondary:hover {
    background-color: #5a6268;
}

.remove-enfant {
    padding: 5px 10px;
    font-size: 12px;
}

.cursor {
    cursor: pointer;
    text-decoration: underline;
    color: #007bff;
}

#checkout {
    margin-top: 20px;
}

.prev-step,
.remove-enfant {
    background-color: #D7002D;
    color: #FCFCFC;
    border: none;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: "poppins", sans-serif;
    font-size: 16px;
    cursor: pointer;
    width: fit-content;
    display: block;
}
