.elementor-questionnaire-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.questionnaire-progress {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #4c6ef5;
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.step-question {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #34495e;
}

.form-group {
    margin-bottom: 25px;
}

.option-label {
    display: block;
    padding: 15px;
    margin-bottom: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-label:hover {
    border-color: #4c6ef5;
    background: #f8f9ff;
}

.option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-text {
    display: block;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
}

.option-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.option-label input[type="radio"]:checked + .option-text:before {
    border-color: #4c6ef5;
    background: #4c6ef5;
    box-shadow: inset 0 0 0 3px #fff;
}

.email-group {
    margin-top: 30px;
}

.email-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.email-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.email-group input:focus {
    border-color: #4c6ef5;
    outline: none;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.questionnaire-prev-btn,
.questionnaire-next-btn,
.questionnaire-submit-btn {
    padding: 12px 25px;
    border: 2px solid;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.questionnaire-prev-btn {
    background: #fff;
    color: #4c6ef5;
    border-color: #4c6ef5;
}

.questionnaire-prev-btn:hover {
    background: #f8f9ff;
}

.questionnaire-next-btn,
.questionnaire-submit-btn {
    background: #4c6ef5;
    color: #fff;
    border-color: #4c6ef5;
}

.questionnaire-next-btn:hover,
.questionnaire-submit-btn:hover {
    background: #3b5bdb;
    border-color: #3b5bdb;
}

.result-container {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-left: 4px solid #4c6ef5;
}

.result-title {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.result-message {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.questionnaire-loading,
.questionnaire-success {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4c6ef5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #40c057;
    color: #fff;
    border-radius: 50%;
    font-size: 30px;
    line-height: 60px;
    margin: 0 auto 20px;
}

.questionnaire-success h3 {
    color: #2b8a3e;
    margin-bottom: 15px;
}

.questionnaire-error {
    background: #fff5f5;
    border: 1px solid #ffa8a8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #c92a2a;
}

/* Responsive styles */
@media (max-width: 767px) {
    .elementor-questionnaire-form {
        padding: 20px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-question {
        font-size: 16px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .questionnaire-prev-btn,
    .questionnaire-next-btn {
        width: 100%;
        text-align: center;
    }
}