/**
 * Styles pour le questionnaire de profil client
 */

/* FORCER TOUT LE TEXTE EN NOIR */
.profile-quiz-container,
.profile-quiz-container *,
.profile-quiz-container span,
.profile-quiz-container label,
.profile-quiz-container p,
.profile-quiz-container h2,
.profile-quiz-container h3 {
    color: #000 !important;
}

.profile-quiz-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-quiz-intro {
    text-align: center;
    margin-bottom: 30px;
}

.profile-quiz-intro h2 {
    font-size: 24px;
    color: #775e59;
    margin-bottom: 10px;
}

.profile-quiz-intro p {
    color: #666;
    font-size: 14px;
}

.profile-quiz-intro .xp-info {
    display: inline-block;
    background: #775e59;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.profile-quiz-question {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.profile-quiz-question-text {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

span.profile-quiz-question-text {
    color: #000 !important;
}

.profile-quiz-question * {
    color: #333 !important;
}

.profile-quiz-container .profile-quiz-question .profile-quiz-question-text {
    color: #000 !important;
}

.profile-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-quiz-option {
    position: relative;
}

.profile-quiz-option label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333 !important;
}

.profile-quiz-option label:hover {
    border-color: #775e59;
    background: #fafafa;
}

.profile-quiz-option input[type="radio"],
.profile-quiz-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.profile-quiz-option input[type="radio"]:checked ~ span,
.profile-quiz-option input[type="checkbox"]:checked ~ span {
    color: #775e59 !important;
    font-weight: 600;
}

.profile-quiz-option label span {
    flex: 1;
    font-size: 14px;
    color: #333 !important;
}

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

.profile-quiz-submit button {
    background: #775e59;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-quiz-submit button:hover:not(:disabled) {
    background: #5d4a46;
}

.profile-quiz-submit button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.profile-quiz-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

.profile-quiz-success h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.profile-quiz-success p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.xp-reward {
    font-size: 32px;
    font-weight: bold;
    color: #775e59;
    margin: 20px 0;
}

.btn-acceder-parcours {
    background: #775e59;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.btn-acceder-parcours:hover {
    background: #5d4a46;
}

/* Responsive */
@media (max-width: 600px) {
    .profile-quiz-container {
        padding: 15px;
    }
    
    .profile-quiz-intro h2 {
        font-size: 20px;
    }
    
    .profile-quiz-question {
        padding: 15px;
    }
    
    .profile-quiz-option label {
        padding: 10px 12px;
    }
}
