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

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

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

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

.progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Question Styling */
.question-container {
    margin-bottom: 30px;
}

.question {
    display: none;
    animation: fadeIn 0.5s ease;
}

.question.active {
    display: block;
}

.question h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 500;
}

.question p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.scale-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
    gap: 10px;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.scale-labels span {
    text-align: center;
    max-width: 120px;
}

.likert-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.likert-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.likert-option:hover {
    transform: scale(1.05);
}

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

.likert-option label {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #666;
}

.likert-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

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

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover:not(:disabled) {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Results Section */
.results-container {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

#scalesChart canvas {
    width: 900px !important;
    max-width: 100%;
    height: auto !important;
    display: block;
}

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

.scores-grid {
    display: grid;
    gap: 15px;
}

.score-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.score-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.score-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.score-description {
    color: #666;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .section {
        padding: 25px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .results-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chart-container {
        min-height: 300px;
    }
    
    .scale-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .likert-scale {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 20px;
    }
    
    .likert-option label {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .scale-labels {
        font-size: 0.8rem;
    }
}

.likert-label {
    font-size: 0.95rem;
    color: #666;
    min-width: 90px;
    text-align: center;
    font-weight: 500;
    margin: 0 8px;
}

.likert-label-left {
    order: 0;
}

.likert-label-right {
    order: 2;
}

@media (max-width: 600px) {
    .likert-label {
        min-width: 60px;
        font-size: 0.85rem;
    }
    .scale-container {
        flex-direction: column;
        gap: 8px;
    }
} 