/* Survey Page Styles */
.survey-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
    min-height: calc(100vh - 80px);
}

.survey-header {
    text-align: center;
    margin-bottom: 50px;
}

.survey-title {
    font-size: 2.5rem;
    color: #2d5a47;
    margin-bottom: 20px;
    font-weight: 700;
}

.survey-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.survey-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(45, 90, 71, 0.1);
    padding: 50px;
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    color: #2d5a47;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4ade80;
    font-weight: 600;
}

/* Question Blocks */
.question-block {
    margin-bottom: 40px;
}

.question-title {
    font-size: 1.2rem;
    color: #2d5a47;
    margin-bottom: 20px;
    font-weight: 500;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Radio and Checkbox Styles */
.option-radio,
.option-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.option-radio:hover,
.option-checkbox:hover {
    border-color: #4ade80;
    background: #f0fdf4;
}

.option-radio input[type="radio"],
.option-checkbox input[type="checkbox"] {
    display: none;
}

.radio-mark,
.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-mark {
    border-radius: 4px;
}

.option-radio input[type="radio"]:checked + .radio-mark,
.option-checkbox input[type="checkbox"]:checked + .checkbox-mark {
    background: #4ade80;
    border-color: #4ade80;
}

.option-radio input[type="radio"]:checked + .radio-mark::after,
.option-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.checkbox-mark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
    opacity: 1;
}

/* Text Inputs */
.text-input {
    margin-left: 15px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

.text-input:focus {
    outline: none;
    border-color: #4ade80;
}

/* Sortable List - Removed as sorting functionality has been replaced with multi-select */

/* Conditional Questions */
.question-block.conditional {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.question-block.conditional.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Feedback Textarea */
.feedback-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    background: white;
    min-height: 120px;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.feedback-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Contact Form - Removed as contact info is no longer collected */

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.privacy-note {
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Indicator */
.survey-progress {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .survey-section {
        padding: 80px 0 40px;
    }

    .survey-form {
        margin: 0 20px;
        padding: 30px 25px;
    }

    .survey-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .question-title {
        font-size: 1.1rem;
    }

    .option-radio,
    .option-checkbox {
        padding: 12px;
        flex-wrap: wrap;
    }



    .btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .survey-form {
        margin: 0 15px;
        padding: 20px 15px;
    }

    .survey-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .question-title {
        font-size: 1rem;
    }

    .option-radio,
    .option-checkbox,
    .sortable-item {
        padding: 10px;
    }

    .text-input {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .feedback-textarea {
        font-size: 14px;
        padding: 12px;
        min-height: 100px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
