/* Questionnaire Styles */
.questionnaire-main {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.questionnaire-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.questionnaire-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cccccc;
}

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

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ff6b6b);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 16.67%; /* 1/6 for first page */
}

.progress-text {
    display: block;
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
}

.questionnaire-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.question-page {
    display: none;
}

.question-page.active {
    display: block;
}

.question-block {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.question-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
}

.question-block.error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.question-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #cccccc;
    line-height: 1.5;
}

.option-label:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.option-label input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #00d4ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.option-label input[type="radio"]:checked + .option-text {
    color: #00d4ff;
    font-weight: 500;
}

.option-text {
    flex: 1;
}

.text-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.text-input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
}

.text-input::placeholder {
    color: #888;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prev-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prev-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

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

.next-btn, .submit-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
}

.next-btn:hover, .submit-btn:hover {
    background: linear-gradient(45deg, #0099cc, #007aa3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .questionnaire-main {
        padding: 100px 0 40px;
    }
    
    .questionnaire-header h1 {
        font-size: 2rem;
    }
    
    .questionnaire-form {
        margin: 0 20px;
        padding: 25px;
    }
    
    .question-block {
        padding: 20px;
    }
    
    .question-title {
        font-size: 1.1rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .questionnaire-header h1 {
        font-size: 1.8rem;
    }
    
    .questionnaire-description {
        font-size: 1rem;
    }
    
    .question-block {
        padding: 15px;
    }
    
    .option-label {
        padding: 10px;
    }
}

