/* ========================================
   GLASSMORPHISM UI - Full Color Integration
   ======================================== */

/* Icon Font Fix - Ensure vanilla font loads properly */
/* The vanilla icon font is loaded in core.css and should work automatically */



/* Global Body with Soft Lavender Tint */
body {
    background-color: #f8f7fa;
    background-image: radial-gradient(at 0% 0%, rgba(155, 143, 180, 0.05) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(124, 123, 173, 0.05) 0, transparent 50%);
    min-height: 100vh;
    color: var(--color-text-dark);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism Base with Lavender Tint */
.component,
.block,
.article {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 143, 180, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(155, 143, 180, 0.08);
    transition: all 0.3s ease;
}

.component:hover,
.block:hover {
    transform: translateY(-4px);
    border-color: var(--color-lavender);
    box-shadow:
        0 12px 48px rgba(155, 143, 180, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 0 2px rgba(155, 143, 180, 0.2);
}


/* Page Header Refined - Solid Color */
.page__header,
.menu__header,
.page__title-container {
    background: #7c7bad;
    /* Solid Mûre Givrée */
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(124, 123, 173, 0.2);
}


/* Body Text with Subtle Color */
.component__body,
.block__body,
p {
    color: var(--color-text-dark);
    line-height: 1.8;
}

.component__body strong,
.block__body strong,
p strong {
    color: var(--color-primary);
    font-weight: 600;
}

.component__body em,
.block__body em,
p em {
    color: var(--color-accent);
    font-style: italic;
}

/* Modern Checkbox & Radio with Color States */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 244, 249, 0.5) 100%);
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(124, 123, 173, 0.15);
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(180, 180, 216, 0.2) 0%, rgba(149, 197, 176, 0.2) 100%);
    box-shadow: 0 0 0 4px rgba(180, 180, 216, 0.15);
    transform: scale(1.1);
}

input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(124, 123, 173, 0.3);
}

input[type="radio"]:checked {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-mint) 100%);
    border-color: var(--color-accent);
}

input[type="checkbox"]:checked::after {
    content: 'ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Glassmorphic Buttons with Shine Effect */
.btn,
button:not(.icon),
.btn__action,
.btn-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(124, 123, 173, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn::before,
button:not(.icon)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before,
button:not(.icon):hover::before {
    left: 100%;
}

.btn:hover,
button:not(.icon):hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(180, 180, 216, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn:active,
button:not(.icon):active {
    transform: translateY(-1px);
}

/* Secondary Button Variant */
.btn--secondary {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-mint) 100%);
}

.btn--tertiary {
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-honey) 100%);
}

/* Headings with Refined Accents */
h1,
h2 {
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

h1::after,
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 2px;
}

h3 {
    color: var(--color-primary);
    font-weight: 600;
    border-left: 4px solid var(--color-accent);
    padding-left: 16px;
    margin-left: -20px;
}

h4 {
    color: var(--color-sage);
    font-weight: 600;
}

h5 {
    color: var(--color-lavender);
    font-weight: 600;
}

h6 {
    color: var(--color-sand);
    font-weight: 600;
}

/* Links with Animated Underline */
a {
    color: var(--color-accent);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-mint));
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover {
    color: var(--color-primary);
}

/* Lists with Color Bullets */
ul li::marker {
    color: var(--color-accent);
}

ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

/* Blockquotes with Color Accent */
blockquote {
    border-left: 4px solid var(--color-lavender);
    background: linear-gradient(90deg, rgba(155, 143, 180, 0.1) 0%, transparent 100%);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--color-text-dark);
}

/* Code Blocks with Color Theme */
code {
    background: linear-gradient(135deg, rgba(124, 123, 173, 0.1) 0%, rgba(180, 180, 216, 0.1) 100%);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(180, 180, 216, 0.2);
}

pre {
    background: linear-gradient(135deg, rgba(124, 123, 173, 0.05) 0%, rgba(180, 180, 216, 0.05) 100%);
    border: 1px solid rgba(180, 180, 216, 0.2);
    border-left: 4px solid var(--color-accent);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

/* Accordion with Rainbow Color Cycling */
.accordion__item {
    margin-bottom: 16px;
}

.accordion__item-title {
    backdrop-filter: blur(10px);
    border: 2px solid;
    color: var(--color-text-dark);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.accordion__item:nth-child(1) .accordion__item-title {
    background: linear-gradient(135deg, rgba(123, 158, 137, 0.2) 0%, rgba(149, 197, 176, 0.15) 100%);
    border-color: var(--color-sage);
    box-shadow: 0 4px 12px rgba(123, 158, 137, 0.15);
}

.accordion__item:nth-child(2) .accordion__item-title {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(247, 201, 124, 0.15) 100%);
    border-color: var(--color-sand);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.accordion__item:nth-child(3) .accordion__item-title {
    background: linear-gradient(135deg, rgba(155, 143, 180, 0.2) 0%, rgba(232, 180, 184, 0.15) 100%);
    border-color: var(--color-lavender);
    box-shadow: 0 4px 12px rgba(155, 143, 180, 0.15);
}

.accordion__item:nth-child(4) .accordion__item-title {
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.2) 0%, rgba(247, 201, 124, 0.15) 100%);
    border-color: var(--color-rose);
    box-shadow: 0 4px 12px rgba(232, 180, 184, 0.15);
}

.accordion__item-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.accordion__item-title:hover::before {
    left: 100%;
}

.accordion__item-title:hover {
    transform: translateX(8px);
}

.accordion__item-body {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 0 0 12px 12px;
    margin-top: -8px;
    border: 2px solid rgba(180, 180, 216, 0.1);
    border-top: none;
}

/* Feedback with Full Color Integration */
.notify__popup,
.feedback,
.notify {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.notify__popup::before,
.feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.notify--correct,
.feedback--correct,
.is-correct {
    background: linear-gradient(135deg,
            rgba(149, 197, 176, 0.25) 0%,
            rgba(212, 237, 218, 0.2) 100%);
    border-color: var(--color-mint);
    box-shadow: 0 8px 32px rgba(149, 197, 176, 0.2);
}

.notify--correct::before,
.feedback--correct::before {
    background: linear-gradient(180deg, var(--color-sage) 0%, var(--color-mint) 100%);
}

.notify--incorrect,
.feedback--incorrect,
.is-incorrect {
    background: linear-gradient(135deg,
            rgba(232, 180, 184, 0.25) 0%,
            rgba(248, 215, 218, 0.2) 100%);
    border-color: var(--color-rose);
    box-shadow: 0 8px 32px rgba(232, 180, 184, 0.2);
}

.notify--incorrect::before,
.feedback--incorrect::before {
    background: linear-gradient(180deg, #c47479 0%, var(--color-rose) 100%);
}

.notify--warning,
.feedback--partly-correct,
.is-partly-correct {
    background: linear-gradient(135deg,
            rgba(247, 201, 124, 0.25) 0%,
            rgba(255, 243, 205, 0.2) 100%);
    border-color: var(--color-honey);
    box-shadow: 0 8px 32px rgba(247, 201, 124, 0.2);
}

.notify--warning::before,
.feedback--partly-correct::before {
    background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-honey) 100%);
}

/* MCQ/GMCQ Item Cards with Color States */
.mcq-item,
.gmcq-item,
.matching-item,
.mcq__item,
.gmcq__item {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(244, 244, 249, 0.4) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(180, 180, 216, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.mcq-item::before,
.gmcq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mcq-item:hover,
.gmcq-item:hover {
    border-color: var(--color-accent);
    background: linear-gradient(135deg,
            rgba(180, 180, 216, 0.15) 0%,
            rgba(149, 197, 176, 0.1) 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(180, 180, 216, 0.25);
}

.mcq-item:hover::before,
.gmcq-item:hover::before {
    transform: scaleY(1);
}

.mcq-item.is-selected,
.gmcq-item.is-selected {
    background: linear-gradient(135deg,
            rgba(124, 123, 173, 0.15) 0%,
            rgba(180, 180, 216, 0.15) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(124, 123, 173, 0.25);
}

.mcq-item.is-correct,
.gmcq-item.is-correct {
    background: linear-gradient(135deg,
            rgba(149, 197, 176, 0.2) 0%,
            rgba(123, 158, 137, 0.15) 100%);
    border-color: var(--color-sage);
}

.mcq-item.is-incorrect,
.gmcq-item.is-incorrect {
    background: linear-gradient(135deg,
            rgba(232, 180, 184, 0.2) 0%,
            rgba(196, 116, 121, 0.15) 100%);
    border-color: var(--color-rose);
}

/* Progress Indicators with Rainbow Fill */
.progress-bar,
.pageLevelProgress__indicator-bar,
.progress {
    background: linear-gradient(90deg,
            rgba(245, 247, 250, 0.9) 0%,
            rgba(244, 244, 249, 0.5) 100%);
    backdrop-filter: blur(10px);
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(180, 180, 216, 0.2);
}

.progress-bar__fill,
.pageLevelProgress__indicator-bar-fill,
.progress__fill {
    background: linear-gradient(90deg,
            var(--color-accent) 0%,
            var(--color-primary) 25%,
            var(--color-mint) 50%,
            var(--color-sage) 75%,
            var(--color-lavender) 100%);
    background-size: 200% 100%;
    animation: progressShine 3s linear infinite;
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(180, 180, 216, 0.4);
}

@keyframes progressShine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Navigation Bar with Solid Color */
.nav,
.navigation {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav__inner {
    display: flex;
    align-items: center;
}

.nav__spacer {
    flex: 1;
    background: transparent !important;
    height: 100%;
}

/* Specific Styling for the 3 Navigation Buttons */
.nav__back-btn,
.nav__pagelevelprogress-btn,
.nav__drawer-btn {
    background: linear-gradient(135deg, #7c7bad 0%, #9b8fb4 100%) !important;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    margin: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav__back-btn:hover,
.nav__pagelevelprogress-btn:hover,
.nav__drawer-btn:hover {
    background: linear-gradient(135deg, #7c7bad 0%, #9b8fb4 100%) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border-color: white !important;
}

/* Sidebar Drawer - Remove all gradients */
.drawer__item-btn,
.drawer__nav-btn,
.drawer__filter-btn,
.drawer__item.is-selected .drawer__item-btn,
.drawer__item.is-active .drawer__item-btn {
    background: #7c7bad !important;
    background-image: none !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
}

.drawer__item-btn:hover,
.drawer__nav-btn:hover {
    background: #9b8fb4 !important;
    transform: translateX(4px);
}

/* Narrative Component with Color Accents */
.narrative__slider-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(124, 123, 173, 0.15);
    border: 2px solid rgba(180, 180, 216, 0.2);
}

.narrative__content {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(243, 240, 248, 0.6) 100%);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(155, 143, 180, 0.2);
}

.narrative__strapline {
    background: linear-gradient(135deg,
            var(--color-lavender) 0%,
            var(--color-rose) 50%,
            var(--color-honey) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(155, 143, 180, 0.3);
}

.narrative__controls-btn {
    background: #7c7bad;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.narrative__controls-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(180, 180, 216, 0.4);
}

/* HotGraphic Pins with Pulsing Animation */
.hotgraphic__pin,
.hotgraphic__pin-button {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border: 3px solid white;
    box-shadow:
        0 4px 16px rgba(124, 123, 173, 0.4),
        0 0 0 0 rgba(180, 180, 216, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 4px 16px rgba(124, 123, 173, 0.4),
            0 0 0 0 rgba(180, 180, 216, 0.7);
    }

    50% {
        box-shadow:
            0 4px 16px rgba(124, 123, 173, 0.4),
            0 0 0 10px rgba(180, 180, 216, 0);
    }

    100% {
        box-shadow:
            0 4px 16px rgba(124, 123, 173, 0.4),
            0 0 0 0 rgba(180, 180, 216, 0);
    }
}

.hotgraphic__pin:hover {
    transform: scale(1.2);
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-sage) 100%);
    box-shadow: 0 6px 24px rgba(149, 197, 176, 0.6);
}

/* Slider Component with Color Scale */
.slider__scale {
    background: linear-gradient(90deg,
            rgba(245, 247, 250, 0.9) 0%,
            rgba(244, 244, 249, 0.5) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(180, 180, 216, 0.2);
}

.slider__scale-marker,
.slider__handle {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    box-shadow: 0 2px 8px rgba(180, 180, 216, 0.4);
    border: 2px solid white;
}

.slider__number {
    color: var(--color-primary);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Text Input with Color Focus States */
input[type="text"],
textarea,
select,
.textinput__input {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(244, 244, 249, 0.5) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(180, 180, 216, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

input[type="text"]:focus,
textarea:focus,
select:focus,
.textinput__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(244, 244, 249, 0.7) 100%);
    box-shadow:
        0 0 0 4px rgba(180, 180, 216, 0.15),
        0 4px 12px rgba(124, 123, 173, 0.1);
}

input[type="text"]::placeholder,
textarea::placeholder {
    color: rgba(124, 123, 173, 0.5);
}

/* Menu Items with Hover Lift */
.menu-item,
.boxmenu-item,
.menu__item {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(244, 244, 249, 0.5) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(180, 180, 216, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.menu-item::before,
.boxmenu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--color-accent) 0%,
            var(--color-primary) 50%,
            var(--color-mint) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.menu-item:hover::before,
.boxmenu-item:hover::before {
    transform: scaleX(1);
}

.menu-item:hover,
.boxmenu-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(124, 123, 173, 0.25);
    border-color: var(--color-accent);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(244, 244, 249, 0.7) 100%);
}

/* Scrollbar with Gradient */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg,
            rgba(245, 247, 250, 0.5) 0%,
            rgba(244, 244, 249, 0.3) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--color-accent) 0%,
            var(--color-primary) 50%,
            var(--color-mint) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            var(--color-primary) 0%,
            var(--color-accent) 50%,
            var(--color-sage) 100%);
}

/* Icons with Color Tints */
.icon {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.icon:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

/* Badges and Tags */
.badge,
.tag {
    background: linear-gradient(135deg, var(--color-lavender) 0%, var(--color-rose) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(155, 143, 180, 0.3);
}

/* Tooltips */
.tooltip {
    background: linear-gradient(135deg,
            rgba(124, 123, 173, 0.95) 0%,
            rgba(180, 180, 216, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(124, 123, 173, 0.3);
}

/* Dividers with Gradient */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-accent) 50%,
            transparent 100%);
    margin: 32px 0;
}

/* Sidebar & Progress Refinement - Lavande Grisée (#9b8fb4) */
.page-level-progress__btn-icon {
    color: #9b8fb4 !important;
}

.page-level-progress__drawer {
    background: rgba(255, 255, 255, 0.98) !important;
    border-left: 2px solid #9b8fb4 !important;
    box-shadow: -4px 0 24px rgba(155, 143, 180, 0.15) !important;
}

.drawer__header {
    background: #9b8fb4 !important;
    color: white !important;
}

.drawer__item.is-active {
    background: rgba(155, 143, 180, 0.1) !important;
    border-left: 4px solid #9b8fb4 !important;
}

/* MCQ/GMCQ Image Sizing & Consistency */
.mcq-item__image-container,
.gmcq-item__image-container,
.mcq__item-image-container,
.gmcq__item-image-container {
    max-height: 280px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(155, 143, 180, 0.05);
    border-radius: 8px;
    margin-bottom: 16px;
}

.mcq-item__image-container img,
.gmcq-item__image-container img,
.mcq-item img,
.gmcq-item img {
    max-height: 250px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.mcq-item:hover img,
.gmcq-item:hover img {
    transform: scale(1.02);
}
/* Resources Filter Buttons Refinement */
.resources__filter-btn {
    background: #9b8fb4 !important;
    background-image: none !important;
    color: white !important;
    border-radius: 0 !important;
    border-bottom: 2px solid #e6e6e6 !important;
    border-right: 2px solid #e6e6e6 !important;
    box-shadow: none !important;
    padding: 1rem .5rem !important;
    transform: none !important;
}

.resources__filter-btn:hover {
    background: #b4b4d8 !important;
    transform: translateY(-2px) !important;
}

.resources__filter-btn.is-selected {
    background: #7c7bad !important;
    box-shadow: inset 0 -0.625rem 0 -0.4375rem #fff !important;
}
