#formulaire-score-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    position: relative;
    min-height: 500px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #0073aa;
}

.intro-section h3 {
    color: #0073aa;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
}

.intro-section p {
    color: #1b122f;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.6;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.form-section {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section h3 {
    color: #1b122f;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6em;
    border-bottom: 3px solid #052a4d;
    padding-bottom: 10px;
}

.form-section p {
    color: #1b122f;
    margin-bottom: 25px;
    font-size: 1.1em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0073aa;
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #dddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #107ab1;
    box-shadow: 0 0 10px rgba(0, 115, 170, 0.2);
    transform: translateY(-2px);
}

.progress-container {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f18800,#ffc200,#00b7d7, #107ab1);
    transition: width 0.4s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-weight: bold;
    color: #052a4d;
    font-size: 1.1em;
}

.question-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #00b7d7;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.question-content {
    width: 100%;
}

#question-title {
    color: #1b122f;
    margin-bottom: 25px;
    font-size: 1.3em;
    line-height: 1.5;
    font-weight: 600;
}

#question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-button {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-size: 1em;
    color: #1b122f;
    position: relative;
    overflow: hidden;
}

.option-button:hover {
    border-color: #09b8d7;
    transform: translateY(-2px);
}

.option-button.selected {
    background: #09b8d7;
    color: white;
    border-color: #09b8d7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.3);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.navigation-buttons button {
    background-color:#09b8d7;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.navigation-buttons button:active:not(:disabled) {
    transform: translateY(-2px);
}

.navigation-buttons button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#prev-question, #back-to-questions {
    background: #ffc200;
}

#prev-question:hover, #back-to-questions:hover,#next-question:hover {
    transform: translateY(-2px);
}

#get-results {
    background: #00b7d7;
}

#get-results:hover:not(:disabled) {
    transform: translateY(-2px);
}

.results-container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}

.results-container h3 {
    color: #1b122f;
    margin-bottom: 30px;
    font-size: 1.8em;
}

#score-message {
    font-size: 1.2em;
    margin: 30px 0;
    padding: 25px;
    border-radius: 10px;
    background: #f9f9f9;
    line-height: 1.6;
}

.error-message {
    color: #d32f2f;
    background: #ffebee;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #f8bbd9;
    font-size: 0.9em;
}

.success-message {
    color: #2e7d32;
    background: #e8f5e8;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #c8e6c9;
    font-size: 0.9em;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    #formulaire-score-container {
        padding: 10px;
        max-width: 100%;
    }
    
    .intro-section {
        padding: 25px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .question-container {
        padding: 20px;
        min-height: 200px;
    }
    
    #question-title {
        font-size: 1.1em;
    }
    
    .option-button {
        padding: 15px;
        font-size: 0.95em;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .navigation-buttons button {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .results-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .form-group input[type="text"],
    .form-group input[type="email"] {
        padding: 12px;
        font-size: 16px;
    }
    
    #question-title {
        font-size: 1em;
    }
    
    .option-button {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .intro-section h3 {
        font-size: 1.5em;
    }
}