/* Survey page specific styles */

body {
    background: linear-gradient(135deg, #3b913b 0%, #1C451C 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 32px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    text-align: center;
    
}

.form-group {
    margin-bottom: 30px;
}

.section-header {
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3b913b;
}

.section-header:first-of-type {
    margin-top: 10px;
}

.section-title {
    color: #3b913b;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-description {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

label.main-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.question-tip {
    display: block;
    font-size: 16px;
    color: #3b913b;
    font-weight: 400;
    margin-top: 5px;
    font-style: italic;
}

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

.likert-option {
    flex: 1;
    min-width: 80px;
    text-align: center;
}

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

.likert-option label {
    display: block;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.likert-option label:hover {
    border-color: #3b913b;
    background: #f0f4ff;
}

.likert-option input[type="radio"]:checked + label {
    background: #3b913b;
    color: white;
    border-color: #3b913b;
    font-weight: 600;
}

.scale-number {
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.scale-text {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: inherit;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

button[type="submit"] {
    width: 100%;
}

.required {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    .likert-scale {
        flex-direction: column;
    }
    
    .likert-option {
        width: 100%;
    }
}

#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loadingOverlay.show {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3b913b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.analyzing-text {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}