/**
 * Quiz Assessment Pro - Frontend Styles
 * All sections visible, one question at a time per section
 * Matches provided design screenshot
 */

/* ==============================
   WRAPPER (uses CSS variables from settings)
   ============================== */
   .qap-wrap {
    max-width: var(--qap-max-width, 860px);
    margin: 0 auto;
    padding: 30px 20px;
    font-family: var(--qap-font-body, inherit);
    font-weight: var(--qap-font-weight-body, 400);
    font-style: var(--qap-font-style-body, normal);
    line-height: var(--qap-font-lh-body, 1.6);
    color: var(--qap-text, #333);
    background: var(--qap-bg, transparent);
}
.qap-wrap *,
.qap-wrap *::before,
.qap-wrap *::after {
    box-sizing: border-box;
}
.qap-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* ==============================
   PAGE HEADER (above all sections)
   ============================== */
.qap-page-header {
    text-align: center;
    margin-bottom: 36px;
    background: #f8f6f4;
    border-radius: var(--qap-card-radius, 16px);
    padding: 36px 40px;
}
.qap-page-heading {
    font-family: var(--qap-font-title, inherit);
    font-size: calc(var(--qap-font-size-title, 26px) + 2px);
    font-weight: var(--qap-font-weight-title, 700);
    font-style: var(--qap-font-style-title, normal);
    text-transform: var(--qap-font-transform-title, none);
    letter-spacing: var(--qap-font-spacing-title, 0px);
    line-height: var(--qap-font-lh-title, 1.3);
    color: var(--qap-title-color, #1a1a2e);
    margin: 0 0 14px;
}
.qap-page-subheading {
    font-size: 14px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}
/* Rich HTML content styling */
.qap-page-subheading h1,
.qap-page-subheading h2,
.qap-page-subheading h3,
.qap-page-subheading h4,
.qap-page-subheading h5,
.qap-page-subheading h6 {
    color: var(--qap-title-color, #1a1a2e);
    margin: 14px 0 8px;
    line-height: 1.3;
}
.qap-page-subheading h1 { font-size: 24px; }
.qap-page-subheading h2 { font-size: 20px; }
.qap-page-subheading h3 { font-size: 18px; }
.qap-page-subheading h4 { font-size: 16px; }
.qap-page-subheading h5 { font-size: 14px; }
.qap-page-subheading h6 { font-size: 13px; }
.qap-page-subheading p {
    margin: 0 0 10px;
}
.qap-page-subheading strong,
.qap-page-subheading b {
    font-weight: 700;
    color: var(--qap-title-color, #1a1a2e);
}
.qap-page-subheading em,
.qap-page-subheading i {
    font-style: italic;
}
.qap-page-subheading ul,
.qap-page-subheading ol {
    margin: 8px 0 12px 20px;
    padding: 0;
}
.qap-page-subheading li {
    margin-bottom: 4px;
}
.qap-page-subheading table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
}
.qap-page-subheading table th,
.qap-page-subheading table td {
    padding: 8px 12px;
    border: 1px solid var(--qap-border, #e5e7eb);
    text-align: left;
}
.qap-page-subheading table th {
    background: var(--qap-primary, #E87D0F);
    color: #fff;
    font-weight: 600;
}
.qap-page-subheading table tr:nth-child(even) td {
    background: #f8f9fb;
}
.qap-page-subheading a {
    color: var(--qap-primary, #E87D0F);
    text-decoration: underline;
}
.qap-page-subheading blockquote {
    border-left: 3px solid var(--qap-primary, #E87D0F);
    margin: 12px 0;
    padding: 8px 16px;
    color: #666;
    font-style: italic;
    background: #fafafa;
    border-radius: 0 6px 6px 0;
}
.qap-page-subheading hr {
    border: none;
    border-top: 1px solid var(--qap-border, #e5e7eb);
    margin: 14px 0;
}
.qap-page-subheading img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ==============================
   SECTION
   ============================== */
.qap-section {
    margin-bottom: 40px;
}

/* ==============================
   SECTION CARD
   ============================== */
.qap-section-card {
    background: var(--qap-card-bg, #fff);
    border-radius: var(--qap-card-radius, 16px);
    box-shadow: var(--qap-card-shadow, 0 2px 12px rgba(0,0,0,0.06));
    padding: 36px 40px;
}

/* ==============================
   SECTION TITLE
   ============================== */
.qap-sec-title {
    font-family: var(--qap-font-title, inherit);
    font-size: var(--qap-font-size-title, 26px);
    font-weight: var(--qap-font-weight-title, 700);
    font-style: var(--qap-font-style-title, normal);
    text-transform: var(--qap-font-transform-title, none);
    letter-spacing: var(--qap-font-spacing-title, 0px);
    line-height: var(--qap-font-lh-title, 1.3);
    color: var(--qap-title-color, #1a1a2e);
    margin: 0 0 24px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--qap-border, #e5e7eb);
}

/* ==============================
   QUESTION
   ============================== */
.qap-question {
    animation: qapFadeIn 0.3s ease;
}
@keyframes qapFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.qap-q-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #555;
	/* background: #f3f4f6; */
    background: #ffffff;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: var(--qap-font-body, inherit);
	border: 1px solid rgb(175 175 175 / 44%);
	border-radius: 8px;
}
.qap-q-text {
    font-size: calc(var(--qap-font-size-base, 15px) + 1px);
    font-weight: 500;
    color: var(--qap-text, #222);
    margin: 0 0 22px;
    line-height: 1.6;
    font-family: var(--qap-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* ==============================
   ANSWER OPTIONS
   ============================== */
.qap-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.qap-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border: 2px solid var(--qap-opt-border, #e5e7eb);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--qap-opt-bg, #fff);
    position: relative;
}
.qap-option:hover {
    border-color: var(--qap-opt-hover-border, #f5c48a);
    background: var(--qap-opt-hover-bg, #fffaf3);
}
.qap-option.selected {
    border-color: var(--qap-opt-active-border, #E87D0F);
    background: var(--qap-opt-active-bg, #fff8f0);
}
.qap-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.qap-opt-letter {
    font-weight: 700;
    font-size: 15px;
    color: #444;
    min-width: 22px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}
.qap-opt-text {
    font-size: var(--qap-font-size-base, 15px);
    color: var(--qap-text, #333);
    flex: 1;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.qap-option.selected .qap-opt-letter,
.qap-option.selected .qap-opt-text {
    color: #222;
}

/* ==============================
   NAVIGATION
   ============================== */
.qap-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* Buttons */
.qap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--qap-font-button, inherit);
    font-size: var(--qap-font-size-button, 14px);
    font-weight: var(--qap-font-weight-button, 600);
    font-style: var(--qap-font-style-button, normal);
    text-transform: var(--qap-font-transform-button, none);
    letter-spacing: var(--qap-font-spacing-button, 0px);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    line-height: 1.4;
    white-space: nowrap;
}

/* Previous (Secondary Button) */
.qap-prev {
    background: var(--qap-btn-secondary-bg, #1a1a2e);
    color: var(--qap-btn-secondary-text, #fff);
}
.qap-prev:disabled {
    background: var(--qap-btn-disabled-bg, #e5e7eb);
    color: var(--qap-btn-disabled-text, #aaa);
    cursor: not-allowed;
}
.qap-prev:hover:not(:disabled) {
    background: var(--qap-btn-secondary-hover, #2c2c4a);
}

/* Next (Primary Button) */
.qap-next {
    background: var(--qap-btn-primary-bg, #E87D0F);
    color: var(--qap-btn-primary-text, #fff);
}
.qap-next:disabled {
    background: var(--qap-btn-disabled-bg, #e5e7eb);
    color: var(--qap-btn-disabled-text, #aaa);
    cursor: not-allowed;
}
.qap-next:hover:not(:disabled) {
    background: var(--qap-btn-primary-hover, #d06d0a);
}

/* ==============================
   PROGRESS BAR
   ============================== */
.qap-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}
.qap-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--qap-border, #e5e7eb);
    border-radius: 3px;
    overflow: hidden;
}
.qap-progress-fill {
    height: 100%;
    background: var(--qap-primary, #E87D0F);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0;
}
.qap-progress-pct {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 38px;
    text-align: right;
    white-space: nowrap;
}

/* ==============================
   CONTACT FORM (per section)
   ============================== */
.qap-contact-form-area {
    max-width: 500px;
    margin: 0 auto;
    animation: qapFadeIn 0.3s ease;
}
.qap-form-title {
    font-family: var(--qap-font-title, inherit);
    font-size: var(--qap-form-title-size, 24px);
    font-weight: var(--qap-form-title-weight, 700);
    font-style: var(--qap-form-title-style, italic);
    color: var(--qap-title-color, #1a1a2e);
    text-align: center;
    margin: 0 0 30px;
    line-height: 1.4;
}
.qap-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.qap-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qap-field label {
    font-size: var(--qap-font-size-label, 14px);
    font-weight: var(--qap-font-weight-label, 600);
    font-style: var(--qap-font-style-label, normal);
    text-transform: var(--qap-font-transform-label, none);
    color: #333;
}
.qap-input {
    padding: 13px 16px;
    font-family: var(--qap-font-field, inherit);
    font-size: var(--qap-font-size-field, 15px);
    font-weight: var(--qap-font-weight-field, 400);
    border: 2px solid var(--qap-border, #e5e7eb);
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: var(--qap-text, #333);
    transition: border-color 0.2s ease;
    width: 100%;
}
.qap-input:focus {
    border-color: var(--qap-primary, #E87D0F);
}
.qap-input::placeholder {
    color: #bbb;
}
.qap-field.has-error .qap-input {
    border-color: #dc3545;
}
.qap-field-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 2px;
}
.qap-form-submit {
    background: var(--qap-btn-primary-bg, #E87D0F);
    color: var(--qap-btn-primary-text, #fff);
    width: 100%;
    padding: 14px;
    font-size: var(--qap-form-submit-size, 16px);
    font-weight: var(--qap-form-submit-weight, 600);
    border-radius: 10px;
    margin-top: 6px;
}
.qap-form-submit:hover:not(:disabled) {
    background: var(--qap-btn-primary-hover, #d06d0a);
}

/* ==============================
   RESULT POPUP (matches screenshot design)
   ============================== */
.qap-result-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: qapFadeIn 0.3s ease;
}
.qap-result-popup {
    background: #fff;
    border-radius: 6px;
    width: 520px;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 50px 44px 40px;
    animation: qapPopupIn 0.35s ease-out;
}
@keyframes qapPopupIn {
    from { opacity: 0; transform: scale(0.92) translateY(-20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Circle icon - block level, centered */
.qap-result-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--qap-popup-icon-bg, #E87D0F);
    color: var(--qap-popup-icon-color, #fff);
    margin: 0 auto 16px;
}
.qap-result-icon-circle .dashicons {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: inherit;
}
.qap-result-icon-circle i {
    font-size: 46px;
    color: inherit;
}
.qap-result-icon-circle svg {
    width: 54px;
    height: 54px;
}

/* Milestone Achievement badge - block on new line */
.qap-result-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 14px;
    font-size: 11px;
    font-weight: 500;
    color: #555;
    border: 1px solid #ddd;
    padding: 4px 16px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* Thank You heading */
.qap-result-title {
    font-family: var(--qap-popup-title-font, var(--qap-font-title, inherit));
    font-size: var(--qap-popup-title-size, 34px);
    font-weight: var(--qap-popup-title-weight, 700);
    font-style: var(--qap-popup-title-style, italic);
    text-transform: var(--qap-popup-title-transform, none);
    color: var(--qap-title-color, #1a1a2e);
    margin: 0 0 14px;
}

/* Section name */
.qap-result-section-name {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 14px;
}

/* Recommendation text (supports rich HTML) */
.qap-result-recommendation {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 20px;
    word-wrap: break-word;
}
.qap-result-recommendation p { margin: 0 0 10px; }
.qap-result-recommendation p:last-child { margin-bottom: 0; }
.qap-result-recommendation h1,
.qap-result-recommendation h2,
.qap-result-recommendation h3,
.qap-result-recommendation h4,
.qap-result-recommendation h5,
.qap-result-recommendation h6 {
    margin: 0 0 10px;
    color: var(--qap-title-color, #1a1a2e);
    line-height: 1.3;
}
.qap-result-recommendation h1 { font-size: 1.8em; }
.qap-result-recommendation h2 { font-size: 1.5em; }
.qap-result-recommendation h3 { font-size: 1.25em; }
.qap-result-recommendation h4 { font-size: 1.1em; }
.qap-result-recommendation h5 { font-size: 1em; }
.qap-result-recommendation h6 { font-size: 0.9em; }
.qap-result-recommendation strong,
.qap-result-recommendation b { font-weight: 700; }
.qap-result-recommendation em,
.qap-result-recommendation i { font-style: italic; }
.qap-result-recommendation u { text-decoration: underline; }
.qap-result-recommendation ul,
.qap-result-recommendation ol {
    margin: 8px 0 12px 20px;
    padding-left: 10px;
    text-align: left;
}
.qap-result-recommendation ul { list-style: disc; }
.qap-result-recommendation ol { list-style: decimal; }
.qap-result-recommendation li { margin-bottom: 4px; }
.qap-result-recommendation table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
}
.qap-result-recommendation table th,
.qap-result-recommendation table td {
    border: 1px solid var(--qap-border, #e5e7eb);
    padding: 8px 12px;
    text-align: left;
}
.qap-result-recommendation table th {
    background: var(--qap-primary, #E87D0F);
    color: #fff;
    font-weight: 600;
}
.qap-result-recommendation table tr:nth-child(even) td {
    background: rgba(0,0,0,0.02);
}
.qap-result-recommendation a {
    color: var(--qap-primary, #E87D0F);
    text-decoration: underline;
}
.qap-result-recommendation blockquote {
    margin: 10px 0;
    padding: 10px 16px;
    border-left: 4px solid var(--qap-primary, #E87D0F);
    background: rgba(0,0,0,0.02);
    font-style: italic;
}
.qap-result-recommendation hr {
    border: none;
    border-top: 1px solid var(--qap-border, #e5e7eb);
    margin: 12px 0;
}
.qap-result-recommendation img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Score tag - small, between content and button */
.qap-result-score-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 5px 18px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #555;
}
.qap-result-score-tag strong {
    color: var(--qap-btn-primary-bg, #E87D0F);
    font-size: 16px;
    font-weight: 700;
}

/* Popup Buttons Row */
.qap-result-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Back To Home button */
.qap-result-close {
    background: var(--qap-btn-primary-bg, #E87D0F);
    color: var(--qap-btn-primary-text, #fff);
    padding: 13px 44px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 180px;
}
.qap-result-close:hover {
    background: var(--qap-btn-primary-hover, #d06d0a);
}

/* Contact Us button */
.qap-btn-contact {
    background: var(--qap-btn-contact-bg, #1a1a2e);
    color: var(--qap-btn-contact-text, #fff) !important;
    padding: 13px 44px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 180px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.15s;
    cursor: pointer;
    border: none;
    text-align: center;
}
.qap-btn-contact:hover {
    background: var(--qap-btn-contact-hover, #2c2c4a);
    color: var(--qap-btn-contact-text, #fff) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ==============================
   SECTION DONE STATE
   ============================== */
/* ==============================
   SECTION DONE - Animated Success
   ============================== */
.qap-section-done {
    text-align: center;
    padding: 50px 30px 45px;
    animation: qapFadeSlideUp 0.5s ease;
}

/* Animated SVG Checkmark */
.qap-done-check {
    display: inline-block;
    margin: 0 auto 22px;
    width: 72px;
    height: 72px;
}
.qap-done-checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4ade80;
    stroke-miterlimit: 10;
    animation: qapCheckFill 0.4s ease-in-out 0.4s forwards, qapCheckScale 0.3s ease-in-out 0.9s both;
    box-shadow: inset 0 0 0 #4ade80;
}
.qap-done-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4ade80;
    fill: none;
    animation: qapCheckStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.qap-done-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #4ade80;
    animation: qapCheckStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes qapCheckStroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes qapCheckScale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes qapCheckFill {
    100% { box-shadow: inset 0 0 0 36px rgba(74, 222, 128, 0.08); }
}
@keyframes qapFadeSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.qap-done-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--qap-title-color, #1a1a2e);
    font-family: var(--qap-font-title);
}
.qap-done-subtitle {
    margin: 0 0 24px;
    color: #999;
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* Retake Button */
.qap-retake-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 10px 28px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--qap-primary, #5b6abf) !important;
    background: transparent !important;
    border: 1.5px solid var(--qap-primary, #5b6abf) !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.25s ease;
}
.qap-retake-btn:hover {
    background: var(--qap-primary, #5b6abf) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(91, 106, 191, 0.25);
}
.qap-retake-btn svg {
    flex-shrink: 0;
}

/* ==============================
   LOADING STATE
   ============================== */
.qap-btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.qap-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -9px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: qapSpin 0.7s linear infinite;
}
@keyframes qapSpin {
    to { transform: rotate(360deg); }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 640px) {
    .qap-wrap {
        padding: 16px 10px;
    }
    .qap-page-header {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    .qap-page-heading {
        font-size: 22px;
    }
    .qap-page-subheading {
        font-size: 13px;
    }
    .qap-section {
        margin-bottom: 24px;
    }
    .qap-section-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .qap-sec-title {
        font-size: 21px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    .qap-q-text {
        font-size: 15px;
    }
    .qap-option {
        padding: 12px 14px;
        gap: 10px;
    }
    .qap-opt-letter {
        font-size: 14px;
    }
    .qap-opt-text {
        font-size: 14px;
    }
    .qap-nav {
        flex-wrap: wrap;
        gap: 12px;
    }
    .qap-btn {
        padding: 10px 22px;
        font-size: 13px;
        min-width: 100px;
    }
    .qap-progress {
        order: 3;
        width: 100%;
    }
    .qap-form-title {
        font-size: 20px;
    }
    .qap-input {
        padding: 11px 14px;
        font-size: 14px;
    }
    .qap-result-popup {
        padding: 36px 24px 30px;
    }
    .qap-result-icon-circle {
        width: 90px;
        height: 90px;
    }
    .qap-result-icon-circle .dashicons {
        font-size: 42px;
        width: 42px;
        height: 42px;
    }
    .qap-result-icon-circle i {
        font-size: 38px;
    }
    .qap-result-icon-circle svg {
        width: 44px;
        height: 44px;
    }
    .qap-result-title {
        font-size: 26px;
    }
    .qap-result-recommendation {
        font-size: 13px;
    }
    .qap-result-score-tag {
        font-size: 12px;
    }
    .qap-section-done {
        padding: 35px 20px 30px;
    }
    .qap-done-check {
        width: 60px;
        height: 60px;
    }
    .qap-done-checkmark {
        width: 60px;
        height: 60px;
    }
    .qap-done-title {
        font-size: 17px;
    }
    .qap-done-subtitle {
        font-size: 12.5px;
    }
}

@media (max-width: 400px) {
    .qap-section-card {
        padding: 18px 14px;
    }
    .qap-sec-title {
        font-size: 19px;
    }
    .qap-nav {
        flex-direction: column;
    }
    .qap-btn {
        width: 100%;
    }
    .qap-progress {
        order: 0;
        width: 100%;
    }
}
