/**
 * Copyright (c) Aspire 2Be. All rights reserved.
 */

:root
{
    /* Colours */
    --aspire360-colour-deep-blue: #091a28;
    --aspire360-colour-deep-blue-rgb: 9, 26, 40;
    --bs-primary: #ff8402;
    --bs-primary-rgb: 255, 132, 2;
    --bs-primary-bg-subtle: color-mix(in srgb, #fff, var(--bs-primary) 15%);
    --bs-primary-text-emphasis: color-mix(in srgb, #000, var(--bs-primary) 30%);
    --bs-warning: #ffcf06;
    --bs-warning-rgb: 255, 207, 6;
    --bs-warning-bg-subtle: color-mix(in srgb, #fff, var(--bs-warning) 15%);
    --bs-warning-text-emphasis: color-mix(in srgb, #000, var(--bs-warning) 30%);
    --bs-danger: #ff3e03;
    --bs-danger-rgb: 255, 62, 3;
    --bs-danger-bg-subtle: color-mix(in srgb, #fff, var(--bs-danger) 15%);
    --bs-danger-text-emphasis: color-mix(in srgb, #000, var(--bs-danger) 30%);
    --bs-success: #00a725;
    --bs-success-rgb: 0, 167, 37;
    --bs-success-bg-subtle: color-mix(in srgb, #fff, var(--bs-success) 15%);
    --bs-success-text-emphasis: color-mix(in srgb, #000, var(--bs-success) 30%);
    --bs-info: #20bbff;
    --bs-info-rgb: 32, 187, 255;
    --bs-info-bg-subtle: color-mix(in srgb, #fff, var(--bs-info) 15%);
    --bs-info-text-emphasis: color-mix(in srgb, #000, var(--bs-info) 30%);
    --bs-secondary: #ddd;
    --bs-secondary-rgb: 221, 221, 221;
    --bs-secondary-bg-subtle: color-mix(in srgb, #fff, var(--bs-secondary) 15%);
    --bs-secondary-text-emphasis: color-mix(in srgb, #000, var(--bs-secondary) 30%);
    --bs-dark: var(--aspire360-colour-deep-blue);
    --bs-dark-rgb: var(--aspire360-colour-deep-blue-rgb);
    --bs-dark-bg-subtle: color-mix(in srgb, #fff, var(--bs-dark) 15%);
    --bs-dark-text-emphasis: color-mix(in srgb, #000, var(--bs-dark) 30%);
    --bs-border-color: var(--aspire360-colour-deep-blue);
    
    --header-height: 100px; /* Set by JS */
    --bs-border-radius: 0.75rem;

    scrollbar-color: var(--bs-primary) transparent;
}

html
{
    height: 100%;
    font-size: 18px;
}

@media (max-width: 1280px)
{
    html
    {
        font-size: 16px;
    }
}

@media (max-width: 768px)
{
    html
    {
        font-size: 14px;
    }
}

body
{
    margin: 0;
    padding: 0;
    height: 100%;
    --bs-body-font-family: "Rubik", sans-serif;
    --bs-body-color: #000;
}

body > .overflow-fix
{
    overflow: hidden auto;
}

#toast-container
{
    position: fixed;
    bottom: 0.5rem;
    width: 100%;
    pointer-events: none;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.toast
{
    --bs-toast-color: #000;
    display: flex;
    flex-direction: column;
    border: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-size: 0.85rem;
}

.toast-header
{
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.toast-header > i
{
    font-size: 1.25em;
}

.toast-timeout-progress
{
    --progress-color: 0 255 0;

    position: relative;
    top: -1px; /* Overlay toast header border */
    max-width: 100%;
    height: 2px;
    background-color: rgb(var(--progress-color));
    filter: brightness(0.9);
    transition: width 0.1s ease-out;
}

.tooltip
{
    z-index: 2000;
}

.dropdown-menu
{
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-hover-bg: var(--bs-primary);
    --bs-dropdown-link-active-bg: color-mix(in srgb, var(--bs-primary), #000 10%);
}

.modal
{
    transition: scale 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
    scale: 0.9;
    opacity: 0;
}

.modal.show
{
    scale: 1;
    opacity: 1;
}

.modal-content
{
    border: 0;
}

.modal-title-with-icon
{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.modal-title-with-icon > i
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.3rem;
}

body#page-home
{
    background-color: var(--aspire360-colour-deep-blue);
    --bs-body-color: #fff;
}

header
{
    padding: 1.5rem 5% 1.5rem 5%;
    background-color: var(--aspire360-colour-deep-blue);
}

body#page-home header:not(.attached)
{
    background-color: transparent;
}

.container, .container-fluid, .row
{
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

header
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    z-index: 10;
}

header.attached
{
    position: fixed;
    top: calc(var(--header-height) * -1);
    background-color: var(--aspire360-colour-deep-blue);
    width: 100%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    transition: top 0.3s cubic-bezier(0, 0, 0, 1);
}

header.attached.shown
{
    top: 0;
}

header + #header-drawer-btn
{
    position: fixed;
    top: -50px;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bs-primary);
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: top 0.3s cubic-bezier(0, 0, 0, 1),
                background-color 0.3s cubic-bezier(0, 0, 0, 1);
    z-index: 10;
}

header + #header-drawer-btn:hover
{
    background-color: color-mix(in srgb, var(--bs-primary), #000 10%);
}

header + #header-drawer-btn:active
{
    background-color: color-mix(in srgb, var(--bs-primary), #000 30%);
}

header + #header-drawer-btn > i
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    rotate: 0;
    transition: rotate 0.3s cubic-bezier(0, 0, 0, 1);
}

header.attached + #header-drawer-btn
{
    top: 1rem;
}

header.attached + #header-drawer-btn + main
{
    margin-top: calc(var(--header-height));
}

header.attached.shown + #header-drawer-btn
{
    top: calc(1rem + var(--header-height));
}

header.attached.shown + #header-drawer-btn > i
{
    rotate: 180deg;
}

header #header-branding img
{
    width: 100%;
    max-width: 150px;
    transition: scale 0.2s ease-out,
                translate 0.2s ease-out;
}

header #header-branding > a > .branded-logo
{
    display: grid;
    align-items: center;
    justify-content: center;
}

header #header-branding > a > .branded-logo > *
{
    grid-area: 1 / 1 / 1 / 1;
}

header #header-branding > a > .branded-logo > :nth-child(1)
{
    animation-name: branded-logo-fade-out;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 2s;
}

header #header-branding > a > .branded-logo > :nth-child(2)
{
    animation-name: branded-logo-fade-in;
    animation-timing-function: ease-out;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 2.5s;
}

@keyframes branded-logo-fade-out
{
    0%
    {
        opacity: 1;
        translate: 0 0;
    }

    100%
    {
        opacity: 0;
        translate: 0 5px;
    }
}

@keyframes branded-logo-fade-in
{
    0%
    {
        opacity: 0;
        translate: 0 -5px;
    }

    100%
    {
        opacity: 1;
        translate: 0 0;
    }
}

.sidebar-backdrop
{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.sidebar-backdrop.opened
{
    opacity: 1;
}

.sidebar-backdrop > nav.sidebar
{
    position: fixed;
    right: -300px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--aspire360-colour-deep-blue);
    color: #fff;
    padding: 1rem;
    width: 300px;
    height: 100%;
    overflow: hidden auto;
    transition: right 0.2s ease-in-out;
}

.sidebar-backdrop.opened > nav.sidebar
{
    right: 0;
}

body#page-home header:not(.logged-in) #header-branding > a > img
{
    scale: 1.2;
    translate: 0 1rem;
    transform-origin: left;
}

body#page-home header:not(.logged-in).attached #header-branding > a > img
{
    scale: 1;
    translate: 0 0;
}

header.logged-in #header-branding,
header.logged-in #header-right
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

header.logged-in #header-branding h3
{
    margin: 0;
    color: #fff;
}

#header-account
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

#header-search-box
{
    position: relative;
}

#header-search-box > .input-group > input
{
    color: #000;
}

#header-search-box > .input-group > input::placeholder
{
    color: transparent;
}

#header-search-box > span
{
    position: absolute;
    top: 0;
    left: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
    pointer-events: none;
    opacity: 1;
}

#header-search-box > span > i
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

#header-search-box > .search-popup
{
    position: absolute;
    top: 2.5rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid var(--aspire360-colour-deep-blue);
    color: #000;
    padding: 1rem;
    border-radius: 1rem;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out,
                top 0.2s ease-in-out;
}

#header-search-box:focus-within > .search-popup
{
    top: 3rem;
    opacity: 1;
    pointer-events: initial;
}

#header-account > .header-account-name
{
    font-weight: 500;
}

#header-account > .header-account-title
{
    font-size: 0.9rem;
    color: var(--bs-info);
}

#header-account-btns
{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

#header-account-btns .account-btn-inner
{
    fill: #fff;
    height: 1.75rem;
    width: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

main.logged-in
{
    display: grid;
    grid-template-columns: [nav] 70px [content] auto;
}

main.logged-in.expanded
{
    grid-template-columns: [nav] 300px [content] auto;
}

main.logged-in > nav.sidebar
{
    position: relative;
    grid-column: nav;
    background-color: #e4e4e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 4rem 0 4rem 0;
    z-index: 9;
}

main.logged-in > nav.sidebar .nav-item
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 48px;
    height: 48px;
    border: 1px solid #c9c9c9;
    border-radius: var(--bs-border-radius);
    padding: 0.5rem;
    color: var(--aspire360-colour-deep-blue);
    transition: background-color 0.2s ease-in-out;
}

main.logged-in > nav.sidebar .nav-item:hover,
main.logged-in > nav.sidebar .nav-item.active
{
    background-color: #c9c9c9;
}

main.logged-in > nav.sidebar .bottom-items
{
    position: fixed;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

main.logged-in > nav.sidebar .bottom-items > .nav-item-dark
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 48px;
    height: 48px;
    background-color: var(--aspire360-colour-deep-blue);
    fill: #fff;
    color: #fff;
    border-radius: var(--bs-border-radius);
    padding: 0.5rem;
}

main.logged-in > :nth-child(2)
{
    grid-column: content;
    padding: 4rem;
}

.btn
{    
    --bs-btn-border-radius: 0.75rem;
    --bs-btn-font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.btn > i
{
    width: 1rem;
    height: 1rem;
}

.btn:not(.btn-lg):not(.btn-sm)
{
    font-size: 1rem;
}

a, a:visited, .btn-link
{
    text-decoration: none;
}

header .btn-link,
.sidebar-backdrop > nav.sidebar .btn-link
{
    color: #fff;
    --bs-btn-hover-color: var(--bs-primary);
    --bs-btn-active-color: color-mix(in srgb, var(--bs-primary), #000 10%);
}

header .btn#nav-overflow-btn
{
    display: none;
}

@media (max-width: 1124px)
{
    header #header-branding > a > img
    {
        width: 100%;
        max-width: 150px;
    }

    header:not(.logged-in) .btn:not(#nav-overflow-btn),
    header.logged-in #header-right
    {
        display: none;
    }

    header .btn#nav-overflow-btn
    {
        display: flex;
    }
}

.btn.btn-primary
{
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-primary), #000 10%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-primary), #000 10%);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-primary), #000 30%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-primary), #000 30%);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn.btn-warning
{
    --bs-btn-bg: var(--bs-warning);
    --bs-btn-border-color: var(--bs-warning);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-warning), #000 10%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-warning), #000 10%);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-warning), #000 30%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-warning), #000 30%);
    --bs-btn-disabled-bg: var(--bs-warning);
    --bs-btn-disabled-border-color: var(--bs-warning);
}

.btn.btn-danger
{
    --bs-btn-bg: var(--bs-danger);
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-danger), #000 10%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-danger), #000 10%);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-danger), #000 30%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-danger), #000 30%);
    --bs-btn-disabled-bg: var(--bs-danger);
    --bs-btn-disabled-border-color: var(--bs-danger);
}

.btn.btn-success
{
    --bs-btn-bg: var(--bs-success);
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-success), #000 10%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-success), #000 10%);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-success), #000 30%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-success), #000 30%);
    --bs-btn-disabled-bg: var(--bs-success);
    --bs-btn-disabled-border-color: var(--bs-success);
}

.btn.btn-info
{
    --bs-btn-bg: var(--bs-info);
    --bs-btn-border-color: var(--bs-info);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-info), #000 10%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-info), #000 10%);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-info), #000 30%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-info), #000 30%);
    --bs-btn-disabled-bg: var(--bs-info);
    --bs-btn-disabled-border-color: var(--bs-info);
}

.btn.btn-light
{
    --bs-btn-active-color: #000;
}

footer
{
    display: flex;
    flex-direction: column;
    width: 100%;
}

footer > #footer-main
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    background-image: linear-gradient(90deg, var(--bs-success), var(--bs-info));
    color: #fff;
    padding: 2rem 5% 2rem 5%;
}

footer > #footer-main a
{
    color: #fff;
}

footer > #footer-main a:hover
{
    color: #eee;
}

footer > #footer-main h4
{
    font-weight: bold;
    color: #fff;
}

footer > #footer-main > #footer-main-left-pane
{
    display: flex;
    gap: 20%;
    width: 100%;
}

footer > #footer-main > #footer-main-middle-pane
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer > #footer-main > #footer-main-right-pane
{
    display: flex;
    align-items: center;
    flex-basis: 50%;
    gap: 3rem;
    text-align: right;
    width: 100%;
}

footer > #footer-main > #footer-main-right-pane > div
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    text-align: right;
    width: 100%;
}

footer > #footer-main img
{
    width: 100%;
    max-width: 200px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px)
{
    footer > #footer-main
    {
        flex-direction: column;
        justify-content: center;
    }

    footer > #footer-main > #footer-main-left-pane
    {
        display: flex;
        justify-content: center;
        gap: 20%;
        width: 100%;
        text-align: center;
    }

    footer > #footer-main > #footer-main-right-pane
    {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer > #footer-main > #footer-main-right-pane > div
    {
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }
}

footer > #footer-main input
{
    color: #000;
}

footer > #footer-main button.input-group-text
{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--aspire360-colour-deep-blue);
    color: #fff;
    max-width: 300px;
}

footer > #footer-main button.input-group-text > i
{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    width: 20px;
    height: 20px;
}

footer > #footer-main button.input-group-text:hover
{
    background-color: color-mix(in srgb, var(--aspire360-colour-deep-blue), #fff 10%);
}

footer > #footer-main button.input-group-text:active
{
    background-color: color-mix(in srgb, var(--aspire360-colour-deep-blue), #000 10%);
}

.overlay-container
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay-container > *
{
    z-index: 2;
}

.overlay-container > .overlay
{
    position: absolute;
    top: 0;
    pointer-events: none;
    z-index: 1;
}

.overlay-container > .overlay.left
{
    left: 0;
}

.overlay-container > .overlay.right
{
    right: 0;
}

.layout-padding
{
    padding: 5rem 5% 5rem 5%;
}

.layout-padding-h
{
    padding: 0 5% 0 5%;
}

h1, h2, h3, h4
{
    color: var(--aspire360-colour-deep-blue);
    font-weight: 700;
}

h1
{
    font-size: 4rem;
}

h2
{
    font-size: 2.5rem;
}

body#page-home .landing-page-banner
{
    width: 100%;
    max-width: 50%;
    opacity: 0;
}

.animate-left
{
    animation-name: slide-in-left;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.animate-right
{
    animation-name: slide-in-right;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.animate-top
{
    animation-name: slide-in-top;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

@keyframes slide-in-left
{
    0%
    {
        opacity: 0;
        translate: -5rem 0;
    }

    100%
    {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes slide-in-right
{
    0%
    {
        opacity: 0;
        translate: 5rem 0;
    }

    100%
    {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes slide-in-top
{
    0%
    {
        opacity: 0;
        translate: 0 -5rem;
    }

    100%
    {
        opacity: 1;
        translate: 0 0;
    }
}

@media (max-width: 768px)
{
    body#page-home .landing-page-banner
    {
        max-width: 100%;
    }
}

body#page-home .landing-page-heading h1
{
    font-weight: 700;
}

body#page-home .landing-page-heading + p
{
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

body#page-home .landing-page-feature-list
{
    margin-top: 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 5% 5rem 5%;
}

body#page-home .landing-page-feature-list > .landing-page-feature
{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    margin-top: -12rem;
    translate: 0 10rem;
}

body#page-home .landing-page-feature-list > .landing-page-feature.has-scrolled
{
    animation-name: slide-up;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

body#page-home .landing-page-feature-list > .landing-page-feature:nth-child(2)
{
    animation-delay: 0.2s;
}

body#page-home .landing-page-feature-list > .landing-page-feature:nth-child(3)
{
    animation-delay: 0.4s;
}

body#page-home .landing-page-feature-list > .landing-page-feature:nth-child(4)
{
    animation-delay: 0.6s;
}

body#page-home .landing-page-feature-list > .landing-page-feature:nth-child(5)
{
    animation-delay: 0.8s;
}

@media (max-width: 768px)
{
    h1
    {
        font-size: 3.5rem;
    }

    h2
    {
        font-size: 2.3rem;
    }
    
    body#page-home .landing-page-feature-list
    {
        margin-top: 1rem;
    }

    body#page-home .landing-page-feature-list > .landing-page-feature
    {
        margin-top: 0;
    }
}

body#page-home .landing-page-feature-list > .landing-page-feature > .landing-page-feature-inner
{
    border-radius: 0 2rem 0 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #fff;
    font-weight: normal;
    font-size: 1rem;
    width: 100%;
    height: 420px;
    max-width: 300px;
}

body#page-home .landing-page-feature-list > .landing-page-feature > .landing-page-feature-inner > img
{
    width: 200px;
    height: 200px;
    margin-top: -70px;
}

body#page-home .landing-page-feature-list > .landing-page-feature > .landing-page-feature-inner > div
{
    text-align: center;
}

body#page-home .landing-page-feature-list > .landing-page-feature > .landing-page-feature-inner .feature-heading
{
    font-weight: bold;
    font-size: 1.5rem;
}

body#page-features .hero-image,
body#page-blog .hero-image
{
    width: 450px;
    position: absolute;
    bottom: 0;
}

body#page-courses .hero-image
{
    width: 600px;
}

@media (max-width: 768px)
{
    body#page-features .hero-image,
    body#page-blog .hero-image
    {
        width: 100%;
        position: unset;
    }

    body#page-courses .hero-image
    {
        width: 100%;
    }
}

.layout-image-panel
{
    display: grid;
    grid-template-columns: minmax(200px, 500px) auto;
    grid-gap: 4rem;
}

.layout-image-panel-right
{
    display: grid;
    grid-template-columns: auto minmax(200px, 500px);
    grid-gap: 4rem;
}

@media (max-width: 768px)
{
    .layout-image-panel,
    .layout-image-panel-right
    {
        display: grid;
        grid-template-columns: auto;
    }
    
    .layout-image-panel:not(.no-hide-image) > img,
    .layout-image-panel-right:not(.no-hide-image) > img,
    .layout-image-panel:not(.no-hide-image) > .animate-left > img,
    .layout-image-panel-right:not(.no-hide-image) > .animate-right > img
    {
        display: none;
    }
}

body#page-home .benefits-panel
{
    margin-top: -8rem;
    background-color: #eaeaea;
    color: #000;
    border-radius: 2rem 0 2rem 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

body#page-home .benefits-panel .item
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 200px;
    text-align: center;
}

body#page-home .benefits-panel .item .item-image
{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    width: 120px;
    height: 120px;
}

body#page-home .benefits-panel .item .item-image svg
{
    width: 75px;
    height: 75px;
}

@media (max-width: 768px)
{
    .overlay-container
    {
        justify-content: flex-start;
    }

    body#page-home .landing-page-image-panel
    {
        display: grid;
        grid-template-columns: 0 auto;
    }
}

body#page-home .landing-page-image-panel > img
{
    translate: -150px -100px;
}

body#page-home .landing-page-popular-courses
{
    background-color: var(--aspire360-colour-deep-blue);
    padding: 4rem 5% 4rem 5%;
}

.course-list,
.blog-post-list
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 2rem;
    align-items: center;
    justify-content: center;
}

.course-tile-container,
.blog-post-tile-container
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-tile,
.blog-post-tile
{
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    width: 300px;
    color: var(--aspire360-colour-deep-blue);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.course-tile.detects-scroll,
.blog-post-tile.detects-scroll
{
    opacity: 0;
    translate: 0 10rem;
}

.course-tile.has-scrolled,
.blog-post-tile.has-scrolled
{
    animation-name: slide-up;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.course-tile-thumb,
.blog-post-tile-thumb
{
    width: 100%;
    aspect-ratio: 1.35;
    background-color: #aaa;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 1rem;
}

.course-tile-category,
.blog-post-tile-category
{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background-color: var(--bs-info);
    color: #fff;
    padding: 0.2rem 1rem 0.2rem 1rem;
}

.course-tile-rating > .star
{
    color: var(--aspire360-colour-deep-blue);
}

.course-tile-rating > .star::after
{
    content: "\f005";
    font-weight: 400;
    font-size: 1.2em;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
}

.course-tile-rating > .star.active::after
{
    font-weight: 700;
}

.course-tile h2,
.blog-post-tile h2
{
    color: var(--aspire360-colour-deep-blue);
    font-size: 1.5rem;
    height: 5.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-tile hr,
.blog-post-tile hr
{
    opacity: 1;
    border-width: 2px 0 0 0;
    border-style: solid;
    border-color: var(--aspire360-colour-deep-blue);
}

.course-tile-thumb
{
    position: relative;
}

.course-tile-thumb .completed-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    background-color: #00ff0077;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-shadow: 0 0 10px #555;
    color: #fff;
}

.course-tile-thumb .completed-overlay > img
{
    filter: invert(1) drop-shadow(0 0 10px #555);
}
.course-tile-thumb .deadline-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    background-color: rgba(255, 62, 3, 0.75);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-shadow: 0 0 10px #555;
    color: #fff; 
}

.course-list-long
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.course-tile-long
{
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    width: 100%;
    min-height: 150px;
    color: var(--aspire360-colour-deep-blue);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.course-tile-long-thumb
{
    min-width: 134px;
    height: 100px;
    background-color: #aaa;
    background-size: 100%;
    border-radius: 1rem;
}

.course-resources-list
{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-resources-list-item
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: var(--bs-border-radius);
    width: 200px;
    height: 200px;
    overflow: hidden;
    font-size: 0.9rem;
    cursor: pointer;
}

.course-resources-list-item > :first-child
{
    word-wrap: break-word;
    overflow: hidden auto;
}

.course-resources-list-item:hover
{
    background-color: #f5f5f5;
}

.learning-pathway-list
{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 3rem;
}

.learning-pathway-list > .learning-pathway-list-row
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
    width: 100%;
}

.learning-pathway-list > .learning-pathway-list-row.official
{
    background-image: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.3), transparent 20%);
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-progress
{
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 1rem;
    width: 100%;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-progress > *
{
    align-self: center;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses
{
    display: grid;
    grid-template-columns: 45px auto 45px;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > a.left-chevron
{
    align-self: center;
    justify-self: self-start;
    grid-column: 1;
    grid-row: 1;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > a.right-chevron
{
    align-self: center;
    justify-self: self-end;
    grid-column: 3;
    grid-row: 1;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > a > img
{
    width: 40px;
    height: 40px;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list
{
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow: hidden;
    padding: 1rem;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 197.4px;
    width: 197.4px;
    height: 140px;
    padding: 0.5rem;
    text-align: center;
    background-color: #aaa;
    background-size: 100%;
    background-blend-mode: multiply;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    text-shadow: 0 0 7px #000;
    color: #fff;
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out,
                scale 0.3s ease-in-out,
                opacity 0.3s ease-in-out;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course:hover
{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    scale: 1.03;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course > span
{
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course.completed
{
    background-color: #afa;
    opacity: 0.5;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course.completed > img
{
    position: absolute;
    width: 60px;
    height: 60px;
}

.learning-pathway-list > .learning-pathway-list-row > .learning-pathway-courses > .learning-pathway-course-list > .learning-pathway-course.completed:hover
{
    opacity: 1;
}

.pagination-dots
{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.5rem;
}

.pagination-dots .dot
{
    width: 20px;
    height: 20px;
    background-color: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out;
}

.pagination-dots .dot:hover,
.pagination-dots .dot.active
{
    background-color: var(--bs-primary);
}

.aspire360-dark-heading
{
    background-color: var(--aspire360-colour-deep-blue);
    color: #fff;
    padding: 5rem 5% 1rem 5%;
}

body#page-dashboard .dashboard-stat-boxes
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

body#page-dashboard .dashboard-stat-boxes > .dashboard-stat-box
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bs-info);
    border-radius: var(--bs-border-radius);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 2rem 2rem 1rem 2rem;
    font-size: 2rem;
    font-weight: 700;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    transition: scale 0.1s ease-in-out;
    outline: 3px solid transparent;
}

body#page-dashboard .dashboard-stat-boxes > .dashboard-stat-box.active
{
    outline: 3px solid color-mix(in srgb, var(--bs-info), #000 10%);
}

body#page-dashboard .dashboard-stat-boxes > .dashboard-stat-box:hover
{
    scale: 1.05;
}

body#page-dashboard .dashboard-stat-boxes > .dashboard-stat-box > h3
{
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

body#page-dashboard .dashboard-stat-boxes > .dashboard-stat-box > .stat-info > :first-child
{
    font-size: 3.5rem;
}

.features-list
{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 2;
}

.features-list .feature-tile
{
    --feature-tile-colour: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 273px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    opacity: 0;
    translate: 0 10rem;
    animation-name: slide-up;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes slide-up
{
    0%
    {
        translate: 0 10rem;
        opacity: 0
    }

    100%
    {
        translate: 0 0;
        opacity: 1;
    }
}

.features-list .feature-tile:nth-child(1) { animation-delay: 0.2s; }
.features-list .feature-tile:nth-child(2) { animation-delay: 0.4s; }
.features-list .feature-tile:nth-child(3) { animation-delay: 0.6s; }
.features-list .feature-tile:nth-child(4) { animation-delay: 0.8s; }
.features-list .feature-tile:nth-child(5) { animation-delay: 1.0s; }
.features-list .feature-tile:nth-child(6) { animation-delay: 1.2s; }
.features-list .feature-tile:nth-child(7) { animation-delay: 1.4s; }
.features-list .feature-tile:nth-child(8) { animation-delay: 1.6s; }
.features-list .feature-tile:nth-child(9) { animation-delay: 1.8s; }

.features-list .feature-tile > .feature-tile-front
{
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 4px solid var(--feature-tile-colour);
    background-color: var(--feature-tile-colour);
    color: #fff;
    font-size: 1.35rem;
    border-radius: 0 2rem 0 2rem;
    padding: 2rem 1.5rem 2rem 1.5rem;
    scale: 1 1;
    transition: scale 0.2s ease-in-out;
    width: 240px;
    height: 273px;
}

.features-list .feature-tile > .feature-tile-front > img
{
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.features-list .feature-tile:hover > .feature-tile-front
{
    scale: 0 1;
}

.features-list .feature-tile > .feature-tile-back
{
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 4px solid var(--feature-tile-colour);
    background-color: #fff;
    color: #000;
    font-weight: 500;
    font-size: 0.85em;
    border-radius: 0 2rem 0 2rem;
    padding: 2rem 1.5rem 2rem 1.5rem;
    scale: 0 1;
    transition: scale 0.2s ease-in-out;
    width: 240px;
    height: 273px;
}

.features-list .feature-tile:hover > .feature-tile-back
{
    scale: 1 1;
}

.aspire360-accordian
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.aspire360-accordian-item
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: var(--bs-border-radius);
    width: 100%;
    overflow: hidden;
}

.aspire360-accordian-item > .aspire360-accordian-item-heading
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 120px;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aspire360-colour-deep-blue);
    cursor: pointer;
    padding: 1rem;
}

.aspire360-accordian-item > .aspire360-accordian-item-heading:hover
{
    background-color: #f0f0f0;
    border-radius: var(--bs-border-radius);
}

.aspire360-accordian-item > .aspire360-accordian-item-content
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.aspire360-accordian-item:not(.opened) > .aspire360-accordian-item-content
{
    display: none;
}

.aspire360-accordian-item.opened > .aspire360-accordian-item-content
{
    animation-name: open-aspire360-accordian-item;
    animation-duration: 0.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.aspire360-accordian-item > .aspire360-accordian-item-heading > i
{
    rotate: 0;
    transition: 0.2s ease-in-out;
}

.aspire360-accordian-item.opened > .aspire360-accordian-item-heading > i
{
    rotate: 180deg;
}

@keyframes open-aspire360-accordian-item
{
    0%
    {
        opacity: 0;
        translate: 0 -10px;
    }

    100%
    {
        opacity: 1;
        translate: 0 0;
    }
}

.pricing-table
{
    width: 100%;
    min-width: 700px;
    display: flex;
    flex-direction: column;
}

.pricing-table .pricing-table-tabs
{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.pricing-table .pricing-table-tabs .pricing-table-tab
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.pricing-table .pricing-table-tabs .pricing-table-tab:first-child
{
    grid-column: 2;
    border-radius: 2rem 0 0 0;
    overflow: hidden;
}

.pricing-table .pricing-table-tabs .pricing-table-tab:last-child
{
    grid-column: 3;
    border-radius: 0 2rem 0 0;
    overflow: hidden;
}

.pricing-table .pricing-table-rows
{
    background-color: #fff;
    color: #000;
    border-radius: 2rem 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-table .pricing-table-rows > .pricing-table-row
{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.pricing-table .pricing-table-rows .pricing-table-col
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem 1rem 2rem;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group
{
    display: flex;
    flex-direction: column;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group > .pricing-table-col
{
    background-color: var(--bs-info);
    border-bottom: 1px solid #fff;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    justify-content: flex-start;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group:last-child > .pricing-table-col
{
    border-bottom: 0;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group > .pricing-table-col::after
{
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 700;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: rotate 0.2s ease-in-out;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group.open > .pricing-table-col::after
{
    rotate: 180deg;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group > .pricing-table-row
{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group:not(.open) > .pricing-table-row
{
    height: 0;
    opacity: 0;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group.open > .pricing-table-row
{
    opacity: 1;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group > .pricing-table-row:not(:first-child)
{
    font-size: 1.2rem;
}

.pricing-table .pricing-table-rows .pricing-table-row.pricing-table-row-group > .pricing-table-row:nth-child(even)
{
    background-color: rgba(0, 0, 0, 0.05);
}

form
{
    --track-width: 0%;
}

.form-range::-webkit-slider-thumb
{
    background-color: var(--bs-primary);
}

.form-range:hover::-webkit-slider-thumb
{
    background-color: color-mix(in srgb, var(--bs-primary), #fff 10%);
}

.form-range:active::-webkit-slider-thumb
{
    background-color: color-mix(in srgb, var(--bs-primary), #000 10%);
}

.form-range:focus::-webkit-slider-thumb
{
    box-shadow: none;
}

.form-range::-webkit-slider-runnable-track
{
    background-image: linear-gradient(90deg, var(--bs-primary) var(--track-width), var(--bs-light) var(--track-width));
}

#subscription-calc-range-tooltip
{
    position: absolute;
    top: -30px;
    left: 0;
    background-color: var(--bs-primary);
    border-radius: 5px;
    padding: 5px;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

#subscription-calc-user-count
{
    border: 0;
    outline: 0;
    width: 110px;
}

.course-banner
{
    margin: -4rem -3rem 0 -3rem;
    padding: 3rem 3rem 2rem 3rem;
    background-color: #e4e4e4;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 0 0 1rem 1rem;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    translate: 0 -100%;
}

.course-banner.shown
{
    animation-name: slide-down-100;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-timing-function: ease-out;
}

@keyframes slide-down-100
{
    0%
    {
        translate: 0 -100%;
    }

    100%
    {
        translate: 0 0;
    }
}

.course-banner .course-category
{
    background-color: var(--bs-info);
    border-radius: 1rem;
    padding: 5px 1rem 5px 1rem;
    color: #fff;
    text-shadow: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.course-banner .btn
{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.course-banner .course-title
{
    font-size: 3.5rem;
    color: #fff;
}

.course-info
{
    display: grid;
    grid-template-columns: [main] 3fr [panel] 1fr;
    grid-gap: 2rem;
    opacity: 0;
}

.course-info.shown
{
    animation-name: fade-in;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-delay: 1s;
}

@keyframes fade-in
{
    0%
    {
        opacity: 0;
    }

    100%
    {
        opacity: 1;
    }
}

.course-info .course-main
{
    grid-column: main;
}

.course-info .course-info-items
{
    grid-column: panel;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1rem 1rem;
    border-left: 3px solid var(--aspire360-colour-deep-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

.course-info .course-modules-list
{
    border-radius: var(--bs-border-radius);
    background-color: #f0f0f0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    color: var(--aspire360-colour-deep-blue);
}

.course-info .course-modules-list > .course-modules-list-item
{
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
}

.course-info .course-modules-list > .course-modules-list-item:not(:last-child)
{
    border-bottom: 2px solid var(--aspire360-colour-deep-blue);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 768px)
{
    .course-info
    {
        grid-template-columns: auto;
        grid-template-rows: [panel] auto [main] auto;
    }

    .course-info .course-main
    {
        grid-column: 1;
        grid-row: main;
    }
    
    .course-info .course-info-items
    {
        grid-column: 1;
        grid-row: panel;
        flex-direction: row;
        border-left: 0;
        border-bottom: 3px solid var(--aspire360-colour-deep-blue);
    }
}

.progress
{
    --bs-progress-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    --bs-progress-bg: #fff;
    --bs-progress-bar-bg: var(--bs-success);
}

.progress > .progress-bar
{
    border-radius: var(--bs-progress-height);
}

.course-content-grid
{
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    grid-gap: 2rem;
}

.course-content-grid.collapsed
{
    grid-template-columns: 1fr;
}

.course-content-grid > .course-content-module-list
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-content-grid.collapsed > .course-content-module-list
{
    display: none;
}

.course-content-grid > .course-content-module-list > .item
{
    display: grid;
    grid-template-columns: 50px auto;
    grid-gap: 0.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    color: var(--aspire360-colour-deep-blue);
    font-weight: bold;
    padding: 1rem;
    transition: background-color 0.2s ease-in-out,
                border-color 0.2s ease-in-out;
}

.course-content-grid > .course-content-module-list > .item.active
{
    border: 2px solid var(--bs-success);
}

.course-content-grid > .course-content-module-list > .item.selectable
{
    cursor: pointer;
}

.course-content-grid > .course-content-module-list > .item.selectable:hover
{
    background-color: #f0f0f0;
}

.course-content-grid > .course-content-module-list > .item > :first-child
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-content-grid > .course-content-module-list > .item > :last-child
{
    align-self: center;
}

.course-content-grid > .course-content-module-list > .item .module-icon
{
    align-self: center;
    padding: 5px;
}

.course-content-grid > .course-content-module-list > .item .module-title
{
    font-size: 1.2rem;
}

.course-content-grid > .course-content-panel .module-title
{
    color: var(--aspire360-colour-deep-blue);
    font-size: 1.6rem;
    font-weight: bold;
}

.course-thumb
{
    width: 270px;
    height: 200px;
    border-radius: 1rem;
}

.flair-text-component.text-banner
{
    border-radius: var(--bs-border-radius);
    width: 100%;
    padding: 2rem;
    background-size: 100%;
    background-position: 50%;
}

.flair-text-component.text-banner h1,
.flair-text-component.text-banner h2,
.flair-text-component.text-banner h3,
.flair-text-component.text-banner h4,
.flair-text-component.text-banner p:last-child
{
    margin: 0;
}

.flair-image-component,
.blog-post-image-container
{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.flair-image-component-caption,
.blog-image-component-caption
{
    font-size: 0.9rem;
}

.image-component-hotspot-marker
{
    display: inline-block;
    border: 2px solid var(--aspire360-colour-deep-blue);
    background-color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0;
    left: 0;
    margin: -5px 0 0 -5px;
    cursor: pointer;
    scale: 1;
    transition: scale 0.1s ease-in-out;
}

.image-component-hotspot-marker:hover
{
    scale: 1.5;
}

.flair-video-component
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flair-video-component > iframe,
.flair-video-component > div > video
{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    max-width: 1000px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* For Vimeo videos */
.flair-video-component > div
{
    max-width: 1000px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.flair-video-component .vimeo-play-overlay
{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    z-index: 5;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    fill: #fff;
    user-select: none;
}

.flair-video-component .vimeo-play-overlay > svg
{
    width: 60px;
    height: 60px;
}

.flair-video-component .control-bar
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--bs-light);
    padding: 3px;
}

.flair-video-component .control-bar .btn
{
    color: #000;
}

.flair-video-component .control-bar .btn > i
{
    width: 20px;
    height: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flair-video-component .control-bar .btn:hover
{
    color: var(--bs-primary);
}

.flair-video-component .control-bar .btn:active
{
    color: color-mix(in srgb, var(--bs-primary), #000 10%);
}

.flair-quiz-component
{
    border-radius: var(--bs-border-radius);
    background-color: #eee;
    padding: 2rem;
}

.flair-quiz-component > .question-badge
{
    display: inline-flex;
    margin-bottom: 1rem;
    background-color: var(--bs-primary);
    padding: 0.5rem;
    border-radius: var(--bs-border-radius);
    color: #fff;
    font-weight: bold;
}

.flair-quiz-component > .question-container
{
    display: grid;
    grid-template: "questions";
}

.flair-quiz-component > .question-container > *
{
    grid-area: questions;
}

.flair-quiz-component > .question-container > .question
{
    pointer-events: none;
    opacity: 0;
}

.flair-quiz-component > .question-container > .question > .question-text
{
    font-weight: bold;
}

.flair-quiz-component > .question-container > .question > .question-instruction
{
    font-style: italic;
    font-size: 0.9rem;
}

.flair-quiz-component > .results-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.flair-scenario-component
{
    border-radius: var(--bs-border-radius);
    background-color: #eee;
    padding: 2rem;
}

.flair-scenario-component > .scenario-badge
{
    display: inline-flex;
    margin-bottom: 1rem;
    background-color: var(--bs-primary);
    padding: 0.5rem;
    border-radius: var(--bs-border-radius);
    color: #fff;
    font-weight: bold;
}

.flair-scenario-component > .scenario-task-container
{
    margin-top: 1rem;
}

.flair-scenario-component > .scenario-task-container .scenario-task-num
{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bs-primary);
    padding: 0.5rem;
    width: 30px;
    height: 30px;
    aspect-ratio: 1 / 1;
    color: #fff;
    font-weight: bold;
}

.flair-link-buttons-component
{
    margin: 1rem 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #eee;
    border-radius: var(--bs-border-radius);
    padding: 1rem;
}

.flair-resource-component
{
    margin: 1rem 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: #eee;
    border-radius: var(--bs-border-radius);
    padding: 1rem;
}

.flair-resource-component span
{
    font-weight: bold;
    font-size: 1.2rem;
}
.flair-flipcard-container
{
    width: 100%;
    perspective: 400px;
    margin: 1em;
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
}
.flair-flipcard-container:hover { 
    cursor: pointer; 
}
.flair-flipcard
{
    position: relative;
    transition: transform .8s; 
    transform-style: preserve-3d;
 
}
.flair-flipcard-front, .flair-flipcard-back
{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 2em;
    overflow: hidden auto;
}
.flair-flipcard-front > h1, h2, h3, h4
{
    font-size: 2em;
}
.flair-flipcard-back > h1, h2, h3, h4
{
    font-size: 2em;
}
.flair-flipcard-icon
{
    position: absolute;
    bottom: 10px; 
    font-size: 24px; 
    color: var( --bs-secondary ); 
    z-index: 6;
    transition: transform .9s;
}
.flair-flipcard-back
{
    transform: rotateY(180deg);
}
.flair-flipcard.flipped {
    transform: rotateY(180deg);
}

.course-complete-overlay
{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--aspire360-colour-deep-blue-rgb), 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    z-index: 1500;
}

.course-complete-overlay.shown
{
    opacity: 1;
}

.course-complete-overlay > .course-complete-dialog
{
    position: relative;
    border-radius: calc(var(--bs-border-radius) * 2);
    background-color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scale: 0;
    transition: scale 0.5s ease-out;
}

.course-complete-overlay.shown > .course-complete-dialog
{
    scale: 1;
}

.course-complete-overlay > .course-complete-dialog > img
{
    margin-top: -125px;
    margin-bottom: 25px;
}

#confetti
{
    position: relative;
    z-index: 1501;
}

.certificate-list
{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 3rem;
}

.certificate-list > .certificate-list-row
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
    width: 100%;
}

.certificate-list > .certificate-list-row > .certificates
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.certificate-list > .certificate-list-row > .certificates .certificate-thumb
{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.certificate-list > .certificate-list-row > .certificates .certificate-thumb-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffffbb;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.certificate-list > .certificate-list-row > .certificates .certificate-thumb-overlay:hover
{
    opacity: 1;
}

body#page-terms-conditions ol
{
    counter-reset: item;
    margin-left: 0;
    padding-left: 0;
}

body#page-terms-conditions li
{
    display: block;
    margin-bottom: .5em;
    margin-left: 2em;
}

body#page-terms-conditions li::before
{
    display: inline-block;
    content: counter(item);
    counter-increment: item;
    width: 2rem;
}

body#page-terms-conditions ol > li > ol
{
    counter-reset: subitem;
}

body#page-terms-conditions ol > li > ol > li::before
{
    content: counter(item) "." counter(subitem);
    counter-increment: subitem;
    width: 2rem;
}

#search-results-container
{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result
{
    background-color: var(--bs-light);
    padding: 1rem;
    border-radius: var(--bs-border-radius);
    border: 1px solid color-mix(in srgb, var(--bs-light), #000 10%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result .search-result-icon
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    border-right: 1px solid color-mix(in srgb, var(--bs-light), #000 10%);
    padding-right: 1rem;
}

.search-result .search-result-icon > i
{
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

.search-result .search-result-info
{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

flair-select-dropdown .btn
{
    --bs-btn-box-shadow: none;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-hover-bg: var(--bs-light);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-light), #000 20%);
}

.grecaptcha-badge
{
    display: none !important;
}

#help-centre-search-box
{
    position: relative;
}

#help-centre-search-box > .input-group > input
{
    color: #000;
    max-width: 400px;
    font-size: 1rem;
}

#help-centre-search-box > .input-group > input::placeholder
{
    color: transparent;
}

#help-centre-search-box > span
{
    position: absolute;
    top: 0;
    left: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #aaa;
    pointer-events: none;
    opacity: 1;
}

#help-centre-search-box > span > i
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.help-centre-topics-list,
.help-centre-videos-list
{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.help-centre-topics-list.help-centre-topics-list-vertical
{
    flex-direction: column;
}

.help-centre-topics-list > .topic
{
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    width: 250px;
    height: 90px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
}

.help-centre-topics-list > .topic:hover
{
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.help-centre-topics-list > .topic > .topic-icon
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.help-centre-topics-list > .topic > .topic-icon > img
{
    width: 50px;
    height: 50px;
}

.help-centre-topics-list > .topic > .topic-name
{
    font-size: 1rem;
    font-weight: 500;
    color: var(--aspire360-colour-deep-blue-rgb);
}

.help-centre-videos-list > .video
{
    --video-thumb-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.help-centre-videos-list > .video > .video-thumb
{
    position: relative;
    width: var(--video-thumb-width);
    aspect-ratio: 16 / 9;
    background-color: #aaa;
    background-size: contain;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    transition: 0.2s;
}

.help-centre-videos-list > .video > .video-thumb:hover
{
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.help-centre-videos-list > .video > .video-thumb > .video-overlay
{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    width: var(--video-thumb-width);
    aspect-ratio: 16 / 9;
    fill: #fff;
}

.help-centre-videos-list > .video > .video-title
{
    color: var(--aspire360-colour-deep-blue);
    font-weight: 500;
}

@media (max-width: 768px)
{
    .help-centre-videos-list > .video
    {
        --video-thumb-width: 240px;
    }
}

.nps-backdrop
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

.nps-backdrop.show
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.nps-backdrop > .nps-modal
{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #fff;
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    max-width: 700px;
    overflow: hidden auto;
    top: -10px;
    opacity: 0;
}

.nps-backdrop.show > .nps-modal
{
    animation-name: nps-show;
    animation-delay: 0.1s;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.nps-backdrop > .nps-modal .nps-close-btn
{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@keyframes nps-show
{
    0%
    {
        top: -10px;
        opacity: 0;
    }

    100%
    {
        top: 0;
        opacity: 1;
    }
}

.nps-backdrop > .nps-modal > .nps-modal-page
{
    display: none;
    gap: 0.5rem;
    text-align: center;
}

.nps-backdrop > .nps-modal > .nps-modal-page.show
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nps-backdrop > .nps-modal .nps-rating
{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    height: 60px;
}

.nps-backdrop > .nps-modal .nps-rating-mobile
{
    display: none;
}

@media (max-width: 768px)
{
    .nps-backdrop > .nps-modal .nps-rating
    {
        display: none;
    }

    .nps-backdrop > .nps-modal .nps-rating-mobile
    {
        display: block;
    }
}

.nps-backdrop > .nps-modal .nps-rating > .nps-rating-option
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 55px;
    cursor: pointer;
}

.nps-backdrop > .nps-modal .nps-rating > .nps-rating-option > span:first-child
{
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 100%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.1s ease-in-out;
}

.nps-backdrop > .nps-modal .nps-rating > .nps-rating-option:hover > span:first-child
{
    background-color: #ddd;
}

.nps-backdrop > .nps-modal .nps-rating > .nps-rating-option.active > span:first-child
{
    background-color: var(--aspire360-colour-deep-blue);
    color: #fff;
}

.nps-backdrop > .nps-modal .nps-rating > .nps-rating-option > span:last-child
{
    color: var(--bs-info);
    font-size: 0.75rem;
}

.big-popover
{
    --bs-popover-max-width: 500px;
}

.notifications-list
{
    overflow: hidden auto;
    max-width: 300px;
    max-height: 300px;
}

.notification-item
{
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.notification-item.unread
{
    background-color: #e0ffe0;
    font-weight: bold !important;
}

.notification-item:not(:last-child)
{
    border: 1px solid transparent;
    border-bottom: 1px solid #ccc;
}

.notification-item:hover
{
    background-color: #eee;
}

.notification-item .message
{
    word-wrap: break-word;
    max-width: 300px;
}

.notification-item .message > span
{
    font-weight: 500;
}

#skills-gap-analysis-modal #skills-gap-recommendations-output,
#skills-gap-analysis-modal #skills-gap-recommendations-output > .collapsible
{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#skills-gap-analysis-modal #skills-gap-recommendations-output .recommendation
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 150px;
    aspect-ratio: 1.35;
    border-radius: var(--bs-border-radius);
    background-color: #eee;
    background-size: 100%;
    cursor: pointer;
    position: relative;
}

#skills-gap-analysis-modal #skills-gap-recommendations-output .recommendation.pathway > .pathway-thumb
{
    width: 50%;
    aspect-ratio: 1.35;
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--bs-border-radius);
}

#skills-gap-analysis-modal #skills-gap-recommendations-output .recommendation.pathway > .pathway-thumb:nth-child(2)
{
    top: 25%;
    left: 25%;
}

#skills-gap-analysis-modal #skills-gap-recommendations-output .recommendation.pathway > .pathway-thumb:nth-child(3)
{
    top: 50%;
    left: 50%;
}

.system-notice
{
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 100;
}

.puzzle-container 
{
    max-width: 980px;
    margin: 40px auto;
}
/* Draggable Feature */

/* Grid that aligns rows of items across the two columns */
.puzzle-grid 
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 0px; /* vertical gap | horizontal gap */
    align-items: start;
}

/* Each list wrapper (visually like a stack of pieces) */
.puzzle-list 
{
    list-style: none;
    margin: 0;
    padding: 0px;
    padding-top: 18px;
}

/* The actual piece styling */
.puzzle-piece 
{
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    border: 2px solid var(--bs-info); /* deep blue border */
    padding: 18px 32px;
    margin: 18px;
    margin-top: 0px;
    margin-bottom: 12px;
    box-shadow: 0 6px 14px rgba(43,108,176,0.12);
    border-radius: 10px;
    min-height: 64px; /* nice default height */
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0f1724;
    overflow: visible; /* allow tabs outside */
    transition: transform .12s ease, box-shadow .12s ease;
}

.puzzle-piece.left 
{
    margin-left: 0px;
}

.puzzle-piece.right 
{
    margin-right: 0px;
}

.puzzle-piece:hover 
{
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(43,108,176,0.18);
}

/* Left column pieces: have a right-side knob */
.puzzle-piece.left::after 
{
    content: "";
    position: absolute;
    right: -22px; /* half of knob width */
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: inherit; /* match parent's gradient */
    border-radius: 50%;
    border: 2px solid var(--bs-info);
    z-index: 2;
    mask: linear-gradient(to right, transparent 0 50%, white 50% 100%);
    -webkit-mask: linear-gradient(to right, transparent 0 50%, white 50% 100%);
}

.left-piece-danger::after 
{
    border-color: red !important;
}

.left-piece-success::after 
{
    border-color: green !important;
}

.left-piece-primary::after 
{
    border-color: var(--bs-info) !important;
}
/* Right column pieces: have a left-side knob */
.puzzle-piece.right::before 
{
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #eee;
    border-radius: 50%;
    border: 2px solid #eee;
    z-index: 2;
}

/* To emphasize "fitting" — add a small notch where the circles meet */
.puzzle-piece.left::before,
.puzzle-piece.right::after 
{
    /* invisible elements to carve space so left/right pieces visually nest */
    content: "";
    position: absolute;
    width: 18px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    mask: linear-gradient(to right, transparent 0 50%, white 50% 100%);
    -webkit-mask: linear-gradient(to right, transparent 0 50%, white 50% 100%);
}

.puzzle-piece.left::before 
{
    right: -12px; /* overlap slightly under the knob */
    background: linear-gradient(180deg, #eef6ff, #ffffff);
    border-radius: 6px 0 0 6px;
    border-left: 2px solid rgba(43,108,176,0.06);
}

.puzzle-piece.right::after 
{
    left: -12px;
    background: linear-gradient(180deg, #eef6ff, #ffffff);
    border-radius: 0 6px 6px 0;
    border-right: 2px solid rgba(43,108,176,0.06);
}

/* Make sure the knobs appear behind adjacent pieces to mimic realistic fit */
.puzzle-piece.left 
{ 
    z-index: 3; 
}

.puzzle-piece.right 
{ 
    z-index: 2; 
}

/* Responsive: stack on smaller screens */
@media (max-width: 740px) 
{
    .puzzle-grid { grid-template-columns: 1fr; }
    .puzzle-piece.left::after, .puzzle-piece.right::before { display: none; }
    .puzzle-piece.left::before, .puzzle-piece.right::after { display: none; }
}

/* Utility: subtle connectors for vertical stacking */
.puzzle-piece + .puzzle-piece 
{ 
    margin-top: -6px; 
}

/* Accessibility focus styles */
.puzzle-piece:focus 
{
    outline: 3px solid rgba(43,108,176,0.18);
    outline-offset: 4px;
}


.list-question-results-success:before 
{
  content: " ✓ ";
}

.list-question-results-danger:before 
{
  content: " ✗ ";
}

textarea.form-control 
{
    resize: none; 
    overflow: hidden; 
}
