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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.screen {
    display: none;
    padding: 40px;
}

.screen.active {
    display: block;
}

.intro-content {
    text-align: center;
}

.intro-content h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2em;
}

.intro-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.scale-info {
    text-align: left;
    display: inline-block;
    margin: 20px 0;
    padding-left: 30px;
}

.scale-info li {
    margin-bottom: 8px;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

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

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

.progress-text {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-weight: 500;
}

.question-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.question-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.yes-no-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.yes-no-option {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.yes-no-option input[type="radio"] {
    display: none;
}

.yes-no-option label {
    display: block;
    padding: 20px 40px;
    background: white;
    border: 3px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 1.2em;
    color: #666;
}

.yes-label:hover {
    border-color: #28a745;
    background: #d4edda;
    transform: translateY(-2px);
    color: #155724;
}

.no-label:hover {
    border-color: #dc3545;
    background: #f8d7da;
    transform: translateY(-2px);
    color: #721c24;
}

.yes-no-option input[type="radio"]:checked + .yes-label {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.yes-no-option input[type="radio"]:checked + .no-label {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

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

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

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.holland-code {
    text-align: center;
    margin-bottom: 40px;
}

.code-display {
    font-size: 4em;
    font-weight: bold;
    color: #667eea;
    letter-spacing: 0.2em;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eaff 100%);
    border-radius: 8px;
    display: inline-block;
}

.top-three-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.type-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.type-card.first {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.type-card.second {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

.type-card.third {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.type-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.type-score {
    font-size: 1.2em;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: 600;
}

.type-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.type-careers {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.type-careers h4 {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.career-tag {
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #667eea;
    border: 1px solid #667eea;
}

.scores-section {
    margin-top: 40px;
}

.scores-section h3 {
    margin-bottom: 20px;
    color: #333;
}

#radar-chart {
    max-width: 100%;
    margin: 20px 0;
}

.scores-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.score-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.score-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.score-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

#loading-screen {
    text-align: center;
    padding: 60px;
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        border-radius: 8px;
    }

    header h1 {
        font-size: 2em;
    }

    .screen {
        padding: 20px;
    }

    .yes-no-buttons {
        flex-direction: column;
    }

    .yes-no-option {
        width: 100%;
        max-width: 100%;
    }

    .code-display {
        font-size: 2.5em;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

