* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

.header {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.header h1 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 2.2em;
}

.header p {
    color: #718096;
    font-size: 1.1em;
}

.test-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.question-counter {
    text-align: center;
    color: #718096;
    margin-bottom: 20px;
    font-weight: 500;
}

.question {
    font-size: 1.3em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.5;
}

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

.option {
    background: #f7fafc;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.option.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.option-letter {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #4299e1;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9em;
}

.option.selected .option-letter {
    background: white;
    color: #667eea;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.result-container {
    display: none;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.style-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.style-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #e2e8f0;
}

.style-card.dominant {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
}

.style-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.style-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.5em;
}

.analytique { background: #4299e1; }
.meneur { background: #f56565; }
.expressif { background: #ed8936; }
.aimable { background: #48bb78; }

.style-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #2d3748;
}

.style-percentage {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.style-description {
    color: #4a5568;
    line-height: 1.6;
}

.restart-btn {
    display: block;
    margin: 30px auto 0;
    padding: 15px 40px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .question {
        font-size: 1.1em;
    }
    
    .option {
        padding: 15px;
    }
    
    .style-cards {
        grid-template-columns: 1fr;
    }
}