.col-md-8.col-sm-8:has(.student-guide-form-container) {
    width: 100%;
}

.student-guide-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.student-guide-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

.radio-label span {
    font-size: 16px;
    color: #333;
}

.required {
    color: #dc3232;
    margin-left: 4px;
}

.champs-obligatoires {
    font-size: 14px;
    color: #dc3232;
    margin-top: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #005177;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Styles pour la page de récapitulatif */
.student-guide-recap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.student-guide-recap-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.recap-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.service-section {
    margin-bottom: 40px;
}

.service-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.conseillers-etudiants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.form-introduction {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.form-introduction h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

.form-introduction p {
    color: #576574;
    line-height: 1.6;
    margin: 0;
}

.form-conclusion {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.form-conclusion p {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-conclusion ul {
    margin: 0;
    padding-left: 20px;
}

.form-conclusion li {
    color: #576574;
    line-height: 1.6;
    margin-bottom: 8px;
}

.form-conclusion li:last-child {
    margin-bottom: 0;
}

/* Styles pour la barre de progression */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}

.step.completed:after {
    background: #2ecc71;
}

.step.completed .step-label {
    color: #2ecc71;
}

.step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background-color: var(--primary-color);
}

.step.completed .step-number {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.step-label {
    display: block;
    font-size: 14px;
    color: #666;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Styles pour les boutons de navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.form-navigation button {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.prev-step {
    background-color: #6c757d;
    color: white;
    font-weight: 600;
}

.prev-step:hover {
    background-color: #aaa;
}

.next-step {
    background-color: var(--primary-color);
    font-weight: 600;
    color: white;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .step:not(:last-child):after {
        top: 25%;
    }
    .student-guide-form {
        padding: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-section h3 {
        font-size: 20px;
    }

    .submit-button {
        width: 100%;
    }
}