.mht-test {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background: #f8fff9;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.mht-question {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.mht-question.active {
    display: block;
}
.mht-radio input[type="radio"] {
    display: none;
}

.mht-radio label {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 8px 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mht-radio input[type="radio"]:checked + label {
    background: #e3f2fd;
    color: #007bff;
    border-color: #007bff;
}

.mht-radio label:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.mht-radio input[type="radio"]:checked + label:hover {
    background: #0056b3;
}

.mht-results {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    margin-top: 2rem;
}
.mht-warning {
    color: #d32f2f;
    background: #ffebee;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    display: none;
}
.mht-results h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
}
.mht-next-steps {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px
}
.mht-select select {
width: 100%;
padding: 5px;
border: 2px solid #e0f0e3;
border-radius: 6px;
background: white;
font-size: 16px;
}

.mht-scale {
margin: 2rem 0;
}

.mht-bar-wrapper {
background: #eee;
border-radius: 5px;
overflow: hidden;
height: 30px;
margin: 10px 0;
}

.mht-bar {
height: 100%;
background: #4CAF50;
transition: width 0.5s ease;
color: white;
padding: 0 10px;
line-height: 30px;
font-size: 14px;
}

.mht-info {
font-size: 15px;
color: #666;
margin-top: 10px;
}

.asrs-radios {
grid-template-columns: repeat(5, 1fr);
}

.mht-scale h4 {
color: #2e7d32;
margin-bottom: 0.5rem;
}

#asrsResults .mht-bar {
background: #2e7d32;
font-size: 13px;
}

/* PC-PTSD specific styles */
.mht-ptsd-question {
background: #fff8f8;
border-radius: 8px;
padding: 15px;
margin: 10px 0;
}

.ptsd-radios {
grid-template-columns: repeat(2, 1fr);
}

#ptsdWarning {
background: #fff3cd;
border-left: 4px solid #ffc107;
color: #856404;
margin: 1rem 0;
}

/* SWED-specific styles */
.mht-subquestions {
margin-left: 2rem;
border-left: 3px solid #4CAF50;
padding-left: 1rem;
}

.mht-optional input {
width: 200px;
padding: 8px;
border: 2px solid #e0f0e3;
border-radius: 4px;
}

#swedBar {
background: #4CAF50;
transition: width 0.5s ease;
}
/* EPDS-specific styles */
.epds-radios {
grid-template-columns: repeat(4, 1fr);
}

#epdsBar {
background: #4CAF50;
transition: width 0.5s ease;
}

.mht-test[data-test="epds"] .mht-intro {
font-size: 0.95em;
color: #666;
margin-bottom: 1.5rem;
}

/* SPIN-specific styles */
.mht-test[data-test="spin"] .mht-intro {
font-size: 0.95em;
color: #666;
margin-bottom: 1.5rem;
}

#spinBar {
background: #4CAF50;
transition: width 0.5s ease;
}

/* Step Navigation Styles */
.mht-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.mht-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mht-btn-next {
    background: #007bff;
    color: white;
}

.mht-btn-next:hover {
    background: #0056b3;
}

.mht-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.mht-btn-prev {
    background: #f8f9fa;
    color: #6c757d;
}

.mht-btn-prev:hover {
    background: #e9ecef;
}

.mht-progress {
    position: relative;
    height: 6px;
    background: #f5f5f5;
    border-radius: 3px;
    margin: 2rem 0;
    overflow: hidden;
}

.mht-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #007bff;
    transition: width 0.3s ease;
}

.mht-step-counter {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide CF7 form by default */
.wpcf7-form {
    display: none;
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.wpcf7-form.show-form {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Add new container styles */
.mht-question-container {
    position: relative;
    min-height: 200px;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Animation for question transitions */
.mht-question[style*="display: block"] {
    display: block !important;
    animation: fadeIn 0.3s ease-out;
}

/* Add these styles for the intro text */
.mht-intro-wrapper {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mht-intro {
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.5;
    margin: 1rem 0;
}

/* Update question container styles */
.mht-question-container {
    position: relative;
    min-height: 200px;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Ensure questions appear below intro */
.mht-question {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}