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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #EBF5F7 0%, #D4E9EE 100%);
    padding: 20px;
    min-height: 100vh;
}

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

.header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.header p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.progress-bar {
    background: #E8F4F8;
    height: 8px;
    position: relative;
}

.progress-fill {
    background: var(--accent);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.form-content {
    padding: 40px;
}

.section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 26px;
    color: #1B3A5C;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-description {
    font-size: 18px;
    color: #4A6580;
    margin-bottom: 30px;
    line-height: 1.6;
}

.question-block {
    margin-bottom: 35px;
    padding: 25px;
    background: #F8FCFD;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.question-label {
    font-size: 20px;
    color: #1B3A5C;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
    line-height: 1.5;
}

.required {
    color: #E87C7C;
    margin-left: 4px;
}

.input-text {
    width: 100%;
    padding: 14px 18px;
    font-size: 18px;
    border: 2px solid #D4E9F2;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-text:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-shadow), 0.1);
}

textarea.input-text {
    min-height: 120px;
    resize: vertical;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border: 2px solid #D4E9F2;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover, .checkbox-option:hover {
    border-color: var(--accent);
    background: #F8FCFD;
}

.radio-option.selected, .checkbox-option.selected {
    border-color: var(--accent);
    background: #E8F4F8;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    cursor: pointer;
}

.radio-option label,
.checkbox-option label {
    font-size: 18px;
    color: #1B3A5C;
    cursor: pointer;
    flex: 1;
}

.checkbox-option input[type="checkbox"],
.checkbox-option label {
    pointer-events: none;
}

.scale-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.scale-option {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: white;
    border: 2px solid #D4E9F2;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #4A6580;
}

.scale-option:hover {
    border-color: var(--accent);
    background: #F8FCFD;
}

.scale-option.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 16px;
    color: #4A6580;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #E8F4F8;
}

.btn {
    padding: 16px 32px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-shadow), 0.3);
}

.btn-secondary {
    background: #E8F4F8;
    color: #1B3A5C;
}

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

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

.thank-you {
    text-align: center;
    padding: 60px 40px;
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color:lightseagreen;
}

.thank-you h2 {
    font-size: 32px;
    color: #1B3A5C;
    margin-bottom: 16px;
}

.thank-you p {
    font-size: 20px;
    color: #4A6580;
    line-height: 1.6;
}

.help-text {
    font-size: 16px;
    color: #7B9BA5;
    margin-top: 8px;
    font-style: italic;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 26px;
    }

    .header p {
        font-size: 18px;
    }

    .form-content {
        padding: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .scale-group {
        flex-wrap: wrap;
    }

    .scale-option {
        min-width: 60px;
    }
}
