/**
 * AgeBound Experience Suite – Trip Fit Finder Quiz Styles
 *
 * Scoped under .abx-trip-fit-quiz to prevent leaking style rules.
 */

.abx-trip-fit-quiz {
    max-width: 720px;
    margin: 3rem auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #21313c; /* Navy text */
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
 * Typography & Accents
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-kicker {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2E8B57; /* Sage Green */
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.abx-trip-fit-quiz .abx-quiz-serif-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A365D; /* Navy serif */
    line-height: 1.25;
    margin: 0 0 1.25rem 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.abx-trip-fit-quiz .abx-quiz-start-body {
    font-size: 1.15rem;
    color: #5f6c75;
    text-align: center;
    max-width: 580px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.abx-trip-fit-quiz .abx-quiz-start-note {
    font-size: 0.88rem;
    color: #8c979e;
    text-align: center;
    margin: 1rem 0 2rem 0;
}

/* ──────────────────────────────────────────────
 * Screen containers
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-screen {
    animation: abxFadeIn 0.35s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes abxFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ──────────────────────────────────────────────
 * Cards Setup
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-start-card,
.abx-trip-fit-quiz .abx-quiz-card,
.abx-trip-fit-quiz .abx-quiz-result-card {
    background: #ffffff;
    border: 1px solid rgba(26, 54, 93, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(21, 32, 44, 0.06);
    padding: 3rem 2.5rem;
    box-sizing: border-box;
}

.abx-trip-fit-quiz .abx-quiz-start-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ──────────────────────────────────────────────
 * Buttons & Inputs
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.abx-trip-fit-quiz .abx-btn-warm {
    background-color: #F3D5C2; /* Peach / soft warm CTA */
    color: #4a2f1b;
}

.abx-trip-fit-quiz .abx-btn-warm:hover {
    background-color: #ebc3aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 213, 194, 0.4);
}

.abx-trip-fit-quiz .abx-btn-warm:active {
    transform: translateY(0);
}

.abx-trip-fit-quiz .abx-btn-outline {
    background-color: transparent;
    color: #1A365D;
    border: 1px solid rgba(26, 54, 93, 0.2);
}

.abx-trip-fit-quiz .abx-btn-outline:hover {
    background-color: rgba(26, 54, 93, 0.04);
    border-color: #1A365D;
}

.abx-trip-fit-quiz .abx-quiz-start-btn-wrapper {
    margin: 0.5rem 0;
}

/* ──────────────────────────────────────────────
 * Start Screen Chips
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-preview-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.abx-trip-fit-quiz .abx-preview-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #edf1f3;
    color: #3b4e5a;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
}

.abx-trip-fit-quiz .abx-chip-icon {
    font-size: 0.95rem;
}

/* ──────────────────────────────────────────────
 * Quiz Question Screen
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-progress-container {
    margin-bottom: 2.25rem;
}

.abx-trip-fit-quiz .abx-quiz-progress-bar-wrapper {
    background: #edf1f3;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.abx-trip-fit-quiz .abx-quiz-progress-bar {
    background: #2E8B57; /* Sage Green */
    height: 100%;
    width: 0;
    transition: width 0.35s ease;
    border-radius: 10px;
}

.abx-trip-fit-quiz .abx-quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.abx-trip-fit-quiz .abx-quiz-counter {
    font-size: 0.88rem;
    font-weight: 600;
    color: #8c979e;
}

.abx-trip-fit-quiz .abx-quiz-restart-link {
    background: none;
    border: none;
    color: #8c979e;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.abx-trip-fit-quiz .abx-quiz-restart-link:hover {
    color: #1A365D;
}

.abx-trip-fit-quiz .abx-quiz-question-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A365D;
    margin: 0 0 1.75rem 0;
    line-height: 1.35;
    outline: none; /* remove default focus outline but allow reader focus */
}

/* ──────────────────────────────────────────────
 * Answer Choice Cards (Buttons)
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.abx-trip-fit-quiz .abx-quiz-answer-card {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(26, 54, 93, 0.12);
    border-radius: 12px;
    padding: 1.15rem 1.4rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    color: #21313c;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(21, 32, 44, 0.02);
}

.abx-trip-fit-quiz .abx-quiz-answer-card:hover {
    border-color: #2E8B57;
    background-color: rgba(46, 139, 87, 0.02);
    transform: translateY(-1px);
}

.abx-trip-fit-quiz .abx-quiz-answer-card:focus {
    outline: 2px solid #2E8B57;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.15);
}

.abx-trip-fit-quiz .abx-quiz-answer-card.selected {
    border-color: #2E8B57;
    background-color: rgba(46, 139, 87, 0.05);
    font-weight: 600;
}

.abx-trip-fit-quiz .abx-quiz-answer-card .abx-choice-dot {
    height: 16px;
    width: 16px;
    border: 2px solid rgba(26, 54, 93, 0.25);
    border-radius: 50%;
    margin-right: 1rem;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.abx-trip-fit-quiz .abx-quiz-answer-card:hover .abx-choice-dot {
    border-color: #2E8B57;
}

.abx-trip-fit-quiz .abx-quiz-answer-card.selected .abx-choice-dot {
    border-color: #2E8B57;
    background-color: #2E8B57;
}

.abx-trip-fit-quiz .abx-quiz-answer-card.selected .abx-choice-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.abx-trip-fit-quiz .abx-quiz-answer-card .abx-choice-label {
    flex-grow: 1;
}

.abx-trip-fit-quiz .abx-quiz-navigation {
    display: flex;
    justify-content: flex-start;
}

.abx-trip-fit-quiz .abx-btn-back {
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
}

.abx-trip-fit-quiz .abx-back-arrow {
    margin-right: 0.25rem;
}

/* ──────────────────────────────────────────────
 * Results Screen
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.abx-trip-fit-quiz .abx-result-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.abx-trip-fit-quiz .abx-result-badge-icon {
    font-size: 2.8rem;
    background: #edf6f0;
    border-radius: 14px;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.abx-trip-fit-quiz .abx-result-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2E8B57;
    display: block;
    margin-bottom: 0.25rem;
}

.abx-trip-fit-quiz .abx-result-header h2.abx-quiz-serif-heading {
    text-align: left;
    font-size: 1.85rem;
    margin: 0;
    outline: none;
}

.abx-trip-fit-quiz .abx-result-score-box {
    background: #1A365D;
    color: #ffffff;
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    text-align: center;
    min-width: 90px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
}

.abx-trip-fit-quiz .abx-result-score-num {
    font-family: Georgia, serif;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.0;
}

.abx-trip-fit-quiz .abx-result-score-denom {
    font-size: 0.8rem;
    opacity: 0.65;
    margin-bottom: 0.25rem;
}

.abx-trip-fit-quiz .abx-result-score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.abx-trip-fit-quiz .abx-result-description {
    font-size: 1.15rem;
    color: #3b4e5a;
    line-height: 1.65;
    margin: 0 0 2rem 0;
}

.abx-trip-fit-quiz .abx-divider {
    border: 0;
    height: 1px;
    background: rgba(26, 54, 93, 0.08);
    margin: 2.25rem 0;
}

/* Result Sections */
.abx-trip-fit-quiz .abx-result-section {
    margin-bottom: 1.75rem;
}

.abx-trip-fit-quiz .abx-result-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A365D;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.abx-trip-fit-quiz .abx-result-text {
    font-size: 1.02rem;
    color: #5f6c75;
    margin: 0;
}

/* Recs Grid (Chips / Cards) */
.abx-trip-fit-quiz .abx-result-recs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.abx-trip-fit-quiz .abx-rec-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
}

.abx-trip-fit-quiz .abx-rec-chip {
    background: #edf1f3;
    color: #3b4e5a;
    border: 1px solid rgba(26, 54, 93, 0.04);
}

.abx-trip-fit-quiz .abx-rec-link {
    background: #edf5f0;
    color: #2E8B57;
    border: 1px solid rgba(46, 139, 87, 0.12);
    transition: all 0.2s ease;
}

.abx-trip-fit-quiz .abx-rec-link:hover {
    background: #e2efe6;
    border-color: #2E8B57;
    transform: translateY(-1px);
}

.abx-trip-fit-quiz .abx-rec-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.abx-trip-fit-quiz .abx-rec-label {
    line-height: 1.3;
}

/* Avoid warning box */
.abx-trip-fit-quiz .abx-avoid-warning {
    display: flex;
    gap: 1rem;
    background: #fff8f5;
    border: 1px solid #ffdcd0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}

.abx-trip-fit-quiz .abx-warning-icon {
    font-size: 1.6rem;
    line-height: 1.0;
    flex-shrink: 0;
}

.abx-trip-fit-quiz .abx-avoid-warning .abx-result-section-title {
    color: #b54728; /* Warning reddish color */
}

/* Fallback category */
.abx-trip-fit-quiz .abx-fallback-text {
    font-size: 0.98rem;
    color: #5f6c75;
    margin: 1.5rem 0 0 0;
}

.abx-trip-fit-quiz .abx-fallback-link {
    color: #2E8B57;
    font-weight: 600;
    text-decoration: underline;
}

.abx-trip-fit-quiz .abx-fallback-link:hover {
    color: #1c5434;
}

/* ──────────────────────────────────────────────
 * Shared Restored Result Note Banner
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-result-shared-note {
    background: #E2ECDE; /* soft mint */
    border: 1px solid rgba(46, 139, 87, 0.15);
    color: #1e3f20;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: abxFadeIn 0.3s ease;
}

.abx-trip-fit-quiz .abx-result-shared-note::before {
    content: "🔗";
    font-size: 1rem;
}

/* ──────────────────────────────────────────────
 * Share Card Visual Representation (Pinterest Style)
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-result-share-preview {
    margin: 2.5rem 0;
    background: #FAF8F5;
    border-radius: 18px;
    padding: 2rem;
    border: 1px dashed rgba(26, 54, 93, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.abx-trip-fit-quiz .abx-share-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A365D;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.abx-trip-fit-quiz .abx-share-card-container {
    width: 100%;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.abx-trip-fit-quiz .abx-share-card {
    background: #FAF8F5;
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(21, 32, 44, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.abx-trip-fit-quiz .abx-share-card:hover {
    transform: translateY(-4px);
}

.abx-trip-fit-quiz .abx-share-card-header {
    background: #1A365D; /* Navy Header */
    color: #ffffff;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abx-trip-fit-quiz .abx-share-logo {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.abx-trip-fit-quiz .abx-share-card-body {
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: #F4EFE6; /* Beige Body */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.abx-trip-fit-quiz .abx-share-card-icon-wrapper {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.abx-trip-fit-quiz .abx-share-card-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2E8B57; /* Green */
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.abx-trip-fit-quiz .abx-share-card-name {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1A365D;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.abx-trip-fit-quiz .abx-share-card-score-badge {
    display: inline-block;
    background-color: #F3D5C2; /* Peach accent */
    color: #4a2f1b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.abx-trip-fit-quiz .abx-share-card-score-val {
    font-size: 0.85rem;
}

.abx-trip-fit-quiz .abx-share-card-hook {
    font-size: 0.92rem;
    color: #5f6c75;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.abx-trip-fit-quiz .abx-share-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.abx-trip-fit-quiz .abx-share-chip {
    background-color: #E2ECDE; /* Mint/green accent */
    color: #1e3f20;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
}

.abx-trip-fit-quiz .abx-share-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(26, 54, 93, 0.08);
    padding: 0.85rem 1.5rem;
    background-color: #FAF8F5;
}

.abx-trip-fit-quiz .abx-share-url {
    font-size: 0.78rem;
    color: #8c979e;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────
 * Modal Overlay & Dialog Setup
 * ────────────────────────────────────────────── */
body.abx-modal-open {
    overflow: hidden !important;
}

.abx-trip-fit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Modal overlay background */
.abx-trip-fit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 32, 44, 0.6); /* Navy/dark overlay with opacity */
    backdrop-filter: blur(4px); /* Modern blur effect */
    transition: opacity 0.3s ease;
}

/* Modal Dialog box */
.abx-trip-fit-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    z-index: 100000;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 1rem;
    animation: abxModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
}

@keyframes abxModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Close Button */
.abx-trip-fit-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: #8c979e;
    cursor: pointer;
    z-index: 100002;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0.25rem;
}

.abx-trip-fit-modal-close:hover {
    color: #1A365D;
    transform: scale(1.1);
}

.abx-trip-fit-modal-close:focus-visible {
    outline: 2px solid #1A365D;
    border-radius: 4px;
}

.abx-trip-fit-modal-body {
    padding: 1.5rem 0.5rem;
}

/* Reset quiz margins when nested in modal */
.abx-trip-fit-modal-body .abx-trip-fit-quiz {
    margin: 0 auto;
    max-width: 100%;
}

.abx-trip-fit-modal-body .abx-quiz-start-card,
.abx-trip-fit-modal-body .abx-quiz-card,
.abx-trip-fit-modal-body .abx-quiz-result-card {
    border: none;
    box-shadow: none;
    padding: 2rem 1.5rem;
}

/* Mobile full-screen requirements */
@media (max-width: 576px) {
    .abx-trip-fit-modal-dialog {
        max-height: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .abx-trip-fit-modal-body {
        padding: 3rem 0;
    }
    
    .abx-trip-fit-modal-close {
        top: 0.75rem;
        right: 1rem;
    }
}

.abx-trip-fit-quiz .abx-share-buttons {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
}

.abx-trip-fit-quiz .abx-share-buttons .abx-btn {
    font-size: 0.88rem;
    padding: 0.65rem 1.25rem;
    flex-grow: 1;
    max-width: 180px;
}

.abx-trip-fit-quiz .abx-share-toast {
    background: #21313c;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: abxFadeIn 0.2s ease forwards;
}

/* ──────────────────────────────────────────────
 * Final Action CTAs
 * ────────────────────────────────────────────── */
.abx-trip-fit-quiz .abx-result-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.abx-trip-fit-quiz .abx-result-ctas .abx-btn {
    width: 100%;
    max-width: 320px;
}

.abx-trip-fit-quiz .abx-btn-link-retake {
    background: none;
    border: none;
    color: #8c979e;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.abx-trip-fit-quiz .abx-btn-link-retake:hover {
    color: #1A365D;
}

/* ──────────────────────────────────────────────
 * Responsive Design (Mobile First adjustments)
 * ────────────────────────────────────────────── */
@media (max-width: 576px) {
    .abx-trip-fit-quiz {
        margin: 1.5rem auto;
        padding: 0 0.75rem;
    }

    .abx-trip-fit-quiz .abx-quiz-start-card,
    .abx-trip-fit-quiz .abx-quiz-card,
    .abx-trip-fit-quiz .abx-quiz-result-card {
        padding: 2rem 1.5rem;
    }

    .abx-trip-fit-quiz .abx-quiz-serif-heading {
        font-size: 1.75rem;
    }

    .abx-trip-fit-quiz .abx-quiz-question-text {
        font-size: 1.35rem;
    }

    .abx-trip-fit-quiz .abx-result-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .abx-trip-fit-quiz .abx-result-header h2.abx-quiz-serif-heading {
        text-align: center;
        font-size: 1.55rem;
    }

    .abx-trip-fit-quiz .abx-result-profile {
        flex-direction: column;
        align-items: center;
    }

    .abx-trip-fit-quiz .abx-result-recs-grid {
        grid-template-columns: 1fr;
    }

    .abx-trip-fit-quiz .abx-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }

    .abx-trip-fit-quiz .abx-share-buttons .abx-btn {
        width: 100%;
        max-width: 100%;
    }
}
