/* 问卷页面专用样式 */

.questionnaire-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.questionnaire-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.questionnaire-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.info-box p {
    margin: 0.5rem 0;
}

.notice {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid #ffd700;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
}

.notice i {
    margin-right: 8px;
}

.notice a {
    color: #ffd700;
    text-decoration: underline;
}

.questionnaire-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.form-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.section-subtitle {
    color: #555;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.question-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.radio-group label:hover,
.checkbox-group label:hover {
    background-color: #f0f0f0;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-group input[type="text"],
.checkbox-group input[type="text"] {
    margin-left: 10px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    max-width: 300px;
}

.tool-category {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.tool-category h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tool-category h5 {
    color: #555;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
}

.limit-3 {
    position: relative;
}

.form-hint {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
    font-style: italic;
}

.notice-small {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.notice-small i {
    color: #ffc107;
    margin-right: 8px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

.optional-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.questionnaire-result {
    margin-top: 40px;
}

.success-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.success-message i {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #2ecc71;
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .questionnaire-header h1 {
        font-size: 1.8rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .half-width {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

