:root {
    --background-color: #F5F5F5;
    --primary-engloset-color: #2E3192;
    --primary-engloset-color-hover: #212484;
    --secondary-engloset-color: #FBB040;
    --secondary-engloset-color-hover: #faa72a;

    --es-learn-color: #8DC04E;
    --es-process-color: #FF9457;
    --es-review-color: #E75428;
    --es-practice-color: #438ECC;
    --es-relearn-color: #F16296;
    --es-final-status-color: #9774DB;
    --es-leims-color: #EDC457;
    --es-mies-color: #28C3B5;
    --es-challenge-color: #4B6E7D;

    --es-stroke-color: #E5E5E5;
    --es-disabled-color: #AEAEAE;

    --text-color: #3C3939;
    --border-color: #D9D9D9;
    --box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
    --transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    outline 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border 300ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    text-decoration-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    fill 300ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke 300ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 300ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    display 300ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.justify-content-evenly {
    justify-content: space-evenly;
}

a {
    text-decoration: none !important;
}

.h-fit {
    height: fit-content !important;
}

.w-fit {
    width: fit-content !important;
}

.cursor-default {
    cursor: default !important;
}

.cursor-disabled {
    cursor: not-allowed !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

/* Loader */

#loader-container {
    display: flex;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(0px);
    justify-content: center;
    align-items: center;
    z-index: 999999999999999999;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

#loader-container.active {
    visibility: visible;
    opacity: 1;
}

#loader-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 36px;
    padding-left: 36px;
}

#loader-container.regular {
    background-color: #fff !important;
    backdrop-filter: none !important;
}

#loader-container.regular > #loader-content {
    display: flex !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

#loader-container.blur {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(6px) !important;
}

#loader-container.blur > #loader-content {
    display: none !important;
}

#loader-image {
    width: 70px;
    margin-bottom: 28px;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.loader-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(248, 175, 65, 0.6); /* Default color with alpha 0.8 */
    border-radius: 50%;
    transition: background-color 0.4s ease; /* Smooth transition for color change */
}

@keyframes safari-blink {
    0% { background-color: rgba(248, 175, 65, 0.6); }
    50% { background-color: rgba(248, 175, 65, 1); }
    100% { background-color: rgba(248, 175, 65, 0.6); }
}

.safari-fix {
    animation: safari-blink 1.2s infinite ease-in-out;
}

.safari-fix:nth-child(2) {
    animation-delay: 0.2s;
}

.safari-fix:nth-child(3) {
    animation-delay: 0.4s;
}

/* First-paint style pulse animation for regular mode */
@keyframes fpPulse {
    0%, 80%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.3);
    }
}

#loader-container.regular .loader-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(248, 175, 65, 0.6);
    animation: fpPulse 1.2s infinite ease-in-out;
    transition: none;
}

#loader-container.regular .loader-dot:nth-child(1) {
    animation-delay: 0s;
}

#loader-container.regular .loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

#loader-container.regular .loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

#loader-container.regular .loader-dots {
    gap: 5px;
}

/* Loader END */

/* Tabs Navbar */
.nav-tabs-container {
    position: relative !important;
    padding-bottom: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.nav-item {
    cursor: pointer !important;
}

.nav-tabs {
    border-bottom: none !important;
    flex-wrap: nowrap !important;
    width: max-content !important; /* Expands to fit content */
    min-width: 100% !important; /* At least as wide as container */
    position: relative !important;
    padding-bottom: 5px !important;
}

.nav-tabs::after {
    content: "" !important;
    display: block !important;
    height: 3px !important;
    background-color: #e9ecef !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.nav-tabs .nav-link {
    border: none !important;
    color: #6c757d !important;
    position: relative !important;
    z-index: 2 !important;
    transition: color 0.3s ease !important;
    padding: 0 1rem 0.5rem 1rem !important;
    white-space: nowrap !important;
}

.nav-tabs .nav-link::after {
    content: "" !important;
    display: block !important;
    height: 3px !important;
    background-color: transparent !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    transform: scaleX(0) !important;
    transform-origin: bottom !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.nav-tabs .nav-link.active::after {
    background-color: #f5a623 !important;
    transform: scaleX(1) !important;
}

.nav-tabs .nav-link.active {
    color: #212529 !important;
    transition: color 0.3s ease !important;
}

.nav-link:hover {
    color: #f5a623 !important;
}

@media (max-width: 768px) {
    .nav-tabs .nav-link {
        font-size: 12px !important;
    }

    .nav-return {
        font-size: 14px !important;
    }
}

.tab-transition {
    overflow: hidden !important;
    transition: opacity 0.3s ease, height 0.3s ease !important;
}

.tab-badge {
    transform: translate(-5px, -50%) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #F93333 !important;
    font-size: 14px !important;
    border-radius: 50% !important;
    color: white !important;
    width: 20px !important;
    height: 20px !important;
}

/* Tabs Navbar END */

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: 80vh;
}

.empty-state img {
    user-select: none;
    cursor: default;
}

.empty-state span {
    color: #CCCCCC;
    font-size: 25px;
    user-select: none;
    cursor: default;
    text-align: justify;
    font-weight: 200;
}

@media (max-width: 430px) {
    .empty-state span {
        font-size: 20px;
    }
}

/* Empty State END */

/* ES Tooltip */
.es-tooltip-wrapper {
    position: relative;
    cursor: pointer !important;
}

.es-tooltip-wrapper:hover .es-tooltip {
    visibility: visible;
    opacity: 1;
    transition: var(--transition);
}

.es-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-bottom: 0.5rem;
    visibility: hidden;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    -moz-column-gap: 0.5rem;
    column-gap: 0.5rem;
    border-radius: 0.25rem;
    background-color: rgb(113 113 113 / 1);
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.es-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgb(113 113 113 / 1) transparent transparent transparent;
}

/* ES Tooltip END */

/* ES Dropdown */
.es-dropdown{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 20px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    gap: 15px;
    cursor: pointer;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
.es-dropdown-content{
    position: absolute;
    cursor: pointer;
    top: 100%;
    width: 100%;
    background-color: white;
    flex-direction: column;
    justify-content: start;
    border-radius: 12px;
    display: none;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    color: black;
    font-size: 14px;
}
.dropdown-item.active {
    background-color: #3B82F6;
    color: white;
}
.dropdown-item.active svg {
    color: white;
}
.dropdown-item svg {
    width: 20px;
    height: 20px;
    color: #4144b5;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    flex-shrink: 0;
}
.dropdown-item:hover svg {
    color: white;
}
.dropdown-item:hover {
    background-color: #3B82F6;
    color: white;
}
.dropdown-drop-icon {
    width: 12px;
    height: 12px;
    margin-right: 15px;
    color: #6B7280;
}
.dropdown-icon {
    width: 20px;
    height: 20px;
    color: #4144b5;
    flex-shrink: 0;
}
.dropdown-text {
    color: #6B7280;
}
@media (max-width: 535px) {
    .dropdown-item {
        font-size: 12px;
    }
    .dropdown-item svg{
        width: 15px;
        height: 15px;
    }

    .es-dropdown {
        font-size: 12px;
        gap: 8px;
        margin: 4px;
    }
    .dropdown-drop-icon {
        width: 10px;
        height: 10px;
    }
    .dropdown-icon {
        width: 15px;
        height: 15px;
    }
}
/* ES Dropdown END */

/* Global Button */
.global-exit-button {
    margin-left: 30px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-exit-button:hover {
    background-color: #FFFFFF;
    color: #646474;
}

.global-exit-button svg {
    width: 15px;
    height: 15px;
    transform: translateX(1px);
}

/* Global Button END */

/* Exit Button */
.exit-button {
    position: absolute;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    transform: translate(-100%, 100%);
    height: 40px;
    width: 40px;
    color: #5F5F5F;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.exit-button__black-bg {
    color: #FFFFFF;
}

.exit-button svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 650px) {
    .exit-button {
        transform: translate(-40%, 40%);
        height: 30px;
        width: 30px;
    }

    .exit-button svg {
        width: 10px;
        height: 10px;
    }
}

.exit-button:hover {
    color: hsl(0 0% 30% / 1);
    background-color: rgb(209, 209, 209);
}

.exit-button__black-bg:hover {
    color: #5F5F5F;
    background-color: #FFFFFF;
}
/* Exit Button END */

/* Flip */
.flip-h {
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}
.flip-v {
    -webkit-transform: scale(1, -1);
    -moz-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    transform: scale(1, -1);
}
/* Flip END */

/* Custom Gutter System */
.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

/* Responsive Gutter System */
@media (min-width: 576px) {
    .gap-sm-0 { gap: 0; }
    .gap-sm-1 { gap: 0.25rem; }
    .gap-sm-2 { gap: 0.5rem; }
    .gap-sm-3 { gap: 1rem; }
    .gap-sm-4 { gap: 1.5rem; }
}

@media (min-width: 768px) {
    .gap-md-0 { gap: 0; }
    .gap-md-1 { gap: 0.25rem; }
    .gap-md-2 { gap: 0.5rem; }
    .gap-md-3 { gap: 1rem; }
    .gap-md-4 { gap: 1.5rem; }
}

@media (min-width: 992px) {
    .gap-lg-0 { gap: 0; }
    .gap-lg-1 { gap: 0.25rem; }
    .gap-lg-2 { gap: 0.5rem; }
    .gap-lg-3 { gap: 1rem; }
    .gap-lg-4 { gap: 1.5rem; }
}

@media (min-width: 1200px) {
    .gap-xl-0 { gap: 0; }
    .gap-xl-1 { gap: 0.25rem; }
    .gap-xl-2 { gap: 0.5rem; }
    .gap-xl-3 { gap: 1rem; }
    .gap-xl-4 { gap: 1.5rem; }
}

@media (min-width: 1400px) {
    .gap-xxl-0 { gap: 0; }
    .gap-xxl-1 { gap: 0.25rem; }
    .gap-xxl-2 { gap: 0.5rem; }
    .gap-xxl-3 { gap: 1rem; }
    .gap-xxl-4 { gap: 1.5rem; }
}
/* Custom Gutter System END */

/* Custom Typography System */
.fs-1 { font-size: 0.75rem !important; }
.fs-2 { font-size: 1rem !important; }
.fs-3 { font-size: 1.25rem !important; }
.fs-4 { font-size: 1.5rem !important; }

@media (min-width: 576px) {
    .fs-sm-1 { font-size: 0.75rem !important; }
    .fs-sm-2 { font-size: 1rem !important; }
    .fs-sm-3 { font-size: 1.25rem !important; }
    .fs-sm-4 { font-size: 1.5rem !important; }
}

@media (min-width: 768px) {
    .fs-md-1 { font-size: 0.75rem !important; }
    .fs-md-2 { font-size: 1rem !important; }
    .fs-md-3 { font-size: 1.25rem !important; }
    .fs-md-4 { font-size: 1.5rem !important; }
}

@media (min-width: 992px) {
    .fs-lg-1 { font-size: 0.75rem !important; }
    .fs-lg-2 { font-size: 1rem !important; }
    .fs-lg-3 { font-size: 1.25rem !important; }
    .fs-lg-4 { font-size: 1.5rem !important; }
}

@media (min-width: 1200px) {
    .fs-xl-1 { font-size: 0.75rem !important; }
    .fs-xl-2 { font-size: 1rem !important; }
    .fs-xl-3 { font-size: 1.25rem !important; }
    .fs-xl-4 { font-size: 1.5rem !important; }
}

@media (min-width: 1400px) {
    .fs-xxl-1 { font-size: 0.75rem !important; }
    .fs-xxl-2 { font-size: 1rem !important; }
    .fs-xxl-3 { font-size: 1.25rem !important; }
    .fs-xxl-4 { font-size: 1.5rem !important; }
}
/* Custom Typography System END */

/* Responsive Font-Weight System */
.fw-100 { font-weight: 100 !important; }
.fw-300 { font-weight: 300 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-900 { font-weight: 900 !important; }

@media (min-width: 576px) {
    .fw-sm-100 { font-weight: 100 !important; }
    .fw-sm-300 { font-weight: 300 !important; }
    .fw-sm-500 { font-weight: 500 !important; }
    .fw-sm-600 { font-weight: 600 !important; }
    .fw-sm-700 { font-weight: 700 !important; }
    .fw-sm-900 { font-weight: 900 !important; }
}

@media (min-width: 768px) {
    .fw-md-100 { font-weight: 100 !important; }
    .fw-md-300 { font-weight: 300 !important; }
    .fw-md-500 { font-weight: 500 !important; }
    .fw-md-600 { font-weight: 600 !important; }
    .fw-md-700 { font-weight: 700 !important; }
    .fw-md-900 { font-weight: 900 !important; }
}

@media (min-width: 992px) {
    .fw-lg-100 { font-weight: 100 !important; }
    .fw-lg-300 { font-weight: 300 !important; }
    .fw-lg-500 { font-weight: 500 !important; }
    .fw-lg-600 { font-weight: 600 !important; }
    .fw-lg-700 { font-weight: 700 !important; }
    .fw-lg-900 { font-weight: 900 !important; }
}

@media (min-width: 1200px) {
    .fw-xl-100 { font-weight: 100 !important; }
    .fw-xl-300 { font-weight: 300 !important; }
    .fw-xl-500 { font-weight: 500 !important; }
    .fw-xl-600 { font-weight: 600 !important; }
    .fw-xl-700 { font-weight: 700 !important; }
    .fw-xl-900 { font-weight: 900 !important; }
}

@media (min-width: 1400px) {
    .fw-xxl-100 { font-weight: 100 !important; }
    .fw-xxl-300 { font-weight: 300 !important; }
    .fw-xxl-500 { font-weight: 500 !important; }
    .fw-xxl-600 { font-weight: 600 !important; }
    .fw-xxl-700 { font-weight: 700 !important; }
    .fw-xxl-900 { font-weight: 900 !important; }
}
/* Responsive Font-Weight System END */

/* start full progress css */
svg.full-progress {
    width: 150px;
    height: 150px;
}
.full-progress .background-circle {
    fill: none;
    stroke: #eee;
    stroke-width: 18;
}
.full-progress .progress-circle {
    fill: none;
    stroke: #f8c948;
    stroke-width: 18;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.5s ease;
}
.full-progress text {
    font-size: 24px;
    fill: #444;
    text-anchor: middle;
    dominant-baseline: middle;
}
/* end full progress css */

/* Canvas */
#canvas-vpn, #canvas-subscription {
    max-width: 600px;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
}

.canvas-button {
    padding: 6px 16px;
    background-color: #2E3192;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    user-select: none;
}

.canvas-button.disable {
    color: #6B7280 !important;
    background-color: white;
}

.canvas-button:hover {
    color: #2E3192;
    background-color: white;
}

.canvas-button:hover.disable {
    background-color: #6B7280 !important;
    color: #ffffff !important;
    cursor: not-allowed;
}

.canvas-button:focus {
    outline: 0;
}

.reject-confirmation-button {
    background-color: transparent !important;
    border: 1px solid #2E3192 !important;
    color: var(--text-color) !important;
}

.canvas-button--offcanvas {
    background-color: #FBB040;
    border: 1px #FBB040 solid;
    width: 100%;
    margin: 6px;
}

.canvas-button--offcanvas:hover {
    background-color: #faa72a;
    color: white;
}

.confirmation-title {
    color: #2E3192;
    font-size: 22px;
    align-items: center;
    gap: 5px;
}

.confirmation-title--description {
    font-size: 12px;
    color: #6B7280;
}

.card-canvas {
    position: relative;
    cursor: default;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    align-items: center;
    box-shadow: inset 0 0 0 0.5px #2E3192;
    transition: var(--transition);
    padding: 10px !important;
    gap: 20px !important;
}

.card-canvas {
    box-shadow: inset 0 0 0 0.5px rgba(var(--process-primary-color));
}

@media (max-width: 551px) {
    .card-canvas {
        padding: 10px 16px !important;
    }
}

@media (max-width: 431px) {
    .confirmation-title {
        font-size: 16px;
    }
}

@media (max-width: 431px) {
    .confirmation-title--description {
        font-size: 12px;
    }
}

@media (max-width: 1200px) and (min-width: 551px) {
    .card-canvas {
        padding: 20px !important;
    }
}

@media (max-width: 401px) {
    .card-canvas {
        justify-content: center !important;
        flex-direction: column !important;
    }
}

@media (max-width: 1200px) and (min-width: 551px) {
    .card-canvas {
        padding: 20px !important;
    }
}
/* Canvas END */

/* ============================================
   Shrink Animation START
   ============================================ */
.shrink-anim-ready, .shrink-anim-ready-single, .shrink-anim-group {
    visibility: hidden !important;
}
.shrink-up {
    transform-origin: center;
    animation: shrinkUpAppear .5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* ============================================
   Shrink Animation END
   ============================================ */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: #f0f0f1;
}
::-webkit-scrollbar-thumb {
    background: #c0c2c5;
}