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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #222650 0%, #0077B6 100%);
    min-height: 100vh;
    color: #333;
}

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

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

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.header h1 {
    color: #222650;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #0077B6;
    font-size: 1.2rem;
    font-weight: 400;
}

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

.instructions h2 {
    color: #222650;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.instructions p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.instructions ul {
    margin: 20px 0;
    padding-left: 30px;
}

.instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

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

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

.progress {
    height: 100%;
    background: linear-gradient(90deg, #48CAE4 0%, #0077B6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 10%;
}

.block-counter {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222650;
    margin-bottom: 30px;
}

.test-block {
    margin-bottom: 30px;
}

.block-title {
    color: #222650;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.statements-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.statement-item {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.statement-item:hover {
    border-color: #48CAE4;
    background: #f0f8ff;
}

.statement-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.statement-input {
    width: 60px;
    height: 40px;
    border: 2px solid #0077B6;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222650;
    background: white;
    margin-left: 15px;
}

.statement-input:focus {
    outline: none;
    border-color: #48CAE4;
    box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.2);
}

.statement-input.error {
    border-color: #dc3545;
    background-color: #ffe6e6;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #0077B6 0%, #48CAE4 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

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

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

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

.error-message {
    background: #ffe6e6;
    color: #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
    font-weight: 500;
}

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

.results h2 {
    color: #222650;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.chart-container {
    max-width: 600px;
    margin: 0 auto 30px;
    height: 400px;
}

.results-details {
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0077B6;
}

.result-label {
    font-weight: 600;
    color: #222650;
}

.result-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0077B6;
}

.motivators-descriptions {
    margin-top: 40px;
}

.motivators-descriptions h3 {
    color: #222650;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.motivator-desc {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #48CAE4;
}

.motivator-desc h4 {
    color: #222650;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.motivator-desc .icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.motivator-desc p {
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .statement-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .statement-input {
        margin-left: 0;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

