.rvv-quiz-card {
    background: #f6fafd;
    border: 1px solid #d7e8f5;
    border-radius: 8px;
    padding: 20px 22px;
    box-sizing: border-box;
}

.rvv-quiz-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rvv-quiz-title-main {
    font-size: 18px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
}

.rvv-quiz-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #009de1;
    white-space: nowrap;
}

.rvv-quiz-progress {
    width: 100%;
    height: 6px;
    background: #dfeef8;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.rvv-quiz-progress-fill {
    height: 100%;
    width: 25%;
    background: #009de1;
    transition: width 0.25s ease;
}

.rvv-quiz-step {
    display: none;
}

.rvv-quiz-step.is-active {
    display: block;
}

.rvv-quiz-q {
    font-size: 15.5px;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 12px;
}

.rvv-quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.rvv-quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d7e6f2;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    color: #2c3e50;
    transition: border-color 0.18s ease, background-color 0.18s ease;
    margin: 0;
}

.rvv-quiz-option:hover {
    border-color: #009de1;
}

.rvv-quiz-option.is-selected {
    border-color: #009de1;
    background: #edf7fd;
    color: #0f293a;
    font-weight: 600;
}

.rvv-quiz-option input {
    margin: 3px 0 0;
    accent-color: #009de1;
    flex-shrink: 0;
}

.rvv-quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.rvv-quiz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 5px;
    border: 1px solid #009de1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rvv-quiz-next {
    background: #009de1;
    color: #ffffff;
    margin-left: auto;
}

.rvv-quiz-next:hover {
    background: #0086c2;
}

.rvv-quiz-prev {
    background: #ffffff;
    color: #009de1;
}

.rvv-quiz-prev:hover {
    background: #edf7fd;
}

.rvv-quiz-summary-preview {
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    background: #ffffff;
    border: 1px dashed #b9d9ee;
    border-radius: 5px;
    padding: 9px 12px;
    margin-bottom: 12px;
}

.rvv-quiz-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.rvv-quiz-fields input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
}

.rvv-quiz-submit {
    width: 100%;
    background: #009de1 !important;
    border-color: #009de1 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .rvv-quiz-card {
        padding: 15px 14px;
        margin-top: 18px;
    }
    .rvv-quiz-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .rvv-quiz-fields {
        grid-template-columns: 1fr;
    }
}
