﻿#app {
    position: relative;
}

    #app .loading-spinner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000; /* Ensure it's on top */
        font-size: 1.5rem;
    }

/* IFRAME */

.responsive-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio = 9/16 = 0.5625 */
    height: 0;
    overflow: hidden;
}

    .responsive-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* EMD IFRAME */

.h2-bold {
    font-size: 32px;
    line-height: 40px;
}

.w-25-px {
    width: 25px !important;
}

.w-125-px {
    width: 125px !important;
}

.w-232-px {
    width: 232px !important;
}

.br-20-px {
    border-radius: 20px !important;
}

/* CUSTOM WIDTHS */
.w-10, .w-xs-10 {
    width: 10% !important;
}

.w-15, .w-xs-15 {
    width: 15% !important;
}

.w-20, .w-xs-20 {
    width: 20% !important;
}

.w-xs-50 {
    width: 20% !important;
}

/* BREAKPOINTS */

/* SM breakpoint */
@media (min-width: 576px) {
    /* CUSTOM WIDTHS */
    .w-sm-10 {
        width: 10% !important;
    }

    .w-sm-15 {
        width: 15% !important;
    }

    .w-sm-20 {
        width: 20% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }
}

/* MD breakpoint*/
@media (min-width: 768px) {
    /* CUSTOM WIDTHS */
    .w-md-10 {
        width: 10% !important;
    }

    .w-md-15 {
        width: 15% !important;
    }

    .w-md-20 {
        width: 20% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }
}

/* LG breakpoint */
@media (min-width: 992px) {
    /* CUSTOM WIDTHS */
    .w-lg-10 {
        width: 10% !important;
    }

    .w-lg-15 {
        width: 15% !important;
    }

    .w-lg-20 {
        width: 20% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }
}

/*** Navbar ***/
.background-navbar {
    background-color: #0646FF;
}

.color-navbar {
    color: #FFFFFF;
}

.nav-link {
    color: #fff;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff;
}

.offcanvas-body .nav-link {
    color: #3c3c3c;
}

.offcanvas-body .nav-link {
    color: #3c3c3c;
}
/*** Navbar End ***/

/*** Button ***/

.btn-social {
    background: #73839F;
    color: #001E50;
}

    .btn-social:hover {
        background: #0646FF;
        color: #fff;
        border-color: #0646FF;
        text-decoration: none !important;
    }

.btn-tag {
    background: rgba(6, 70, 255, 0.08);
    color: #0646FF;
}

    .btn-tag:hover {
        background: rgba(6, 70, 255, 0.08);
        color: #0646FF;
    }

.btn-tag-link {
    background: rgba(6, 70, 255, 0.08);
    color: #0646FF;
}

    .btn-tag-link:hover, .btn-tag-link:active {
        background: #0646FF;
        color: #fff;
    }

.btn.btn-more {
    border: 1px solid #fff;
    border-radius: 20px;
    background-color: transparent;
    color: #fff;
    vertical-align: middle;
    font-size: 16px;
    width: 150px;
    text-align: left;
}

    .btn.btn-more:after {
        content: "\2192";
        float: right;
    }

    .btn.btn-more:hover {
        text-decoration: none;
    }

.btn.btn-search {
    border: 1px solid #0646FF;
    border-radius: 20px;
    background: #0646FF;
    color: #fff;
    vertical-align: middle;
    font-size: 16px;
    width: 220px;
    text-align: left;
}

    .btn.btn-search:after {
        content: "\2192";
        float: right;
    }

.btn.btn-academy {
    border: 1px solid #0646FF;
    border-radius: 20px;
    background: #0646FF;
    color: #fff;
    vertical-align: middle;
    font-size: 16px;
    width: 220px;
    text-align: left;
}

    .btn.btn-academy:after {
        content: "\2192";
        float: right;
    }

.btn.btn-academy-continue {
    border: 1px solid #0646FF;
    border-radius: 20px;
    background: #fff;
    color: #0646FF;
    vertical-align: middle;
    font-size: 16px;
    width: 220px;
    text-align: left;
}

    .btn.btn-academy-continue:after {
        content: "\2192";
        float: right;
    }

.btn.btn-academy-more {
    border: 1px solid rgba(0,185,241,255);
    border-radius: 30px;
    background: #fff;
    color: rgba(0,185,241,255);
    vertical-align: middle;
    font-size: 16px;
    width: 220px;
    line-height: 37px;
    text-align: left;
}

    .btn.btn-academy-more:after {
        content: "\2192";
        float: right;
    }

/*** End Button ***/

.nano #customer-onboarding-form {
    min-height: 4800px;
}

.nano .iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* For a 16:9 aspect ratio (9/16 = 0.5625) */
    /* For other aspect ratios, adjust padding-top accordingly:
           - 4:3 ratio: padding-top: 75%; (3/4 = 0.75)
           - 1:1 ratio: padding-top: 100%; (1/1 = 1) */
}

    .nano .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Cookie Banner */
.cookie-banner {
    font-size: 16px;
    position: fixed;
    left: 24px;
    bottom: 24px;
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

    .cookie-banner h3 {
        margin: 0;
        font-size: 22px !important;
        font-weight: 600;
        color: #222;
        margin-bottom: 20px;
    }

    .cookie-banner p {
        margin: 0;
        color: #555;
        line-height: 1.6;
        font-size: 16px;
        padding: 0;
        margin-bottom: 20px;
    }

        .cookie-banner p a {
            color: #555;
            text-decoration: underline;
        }

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.cookie-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all .2s ease;
}

    .cookie-btn:hover {
        transform: translateY(-1px);
    }

.cookie-btn-accept {
    background: #001E50;
    color: white;
}

    .cookie-btn-accept:hover {
        background: #001E50;
    }

.cookie-btn-reject {
    background: #001E50;
    color: white;
}

    .cookie-btn-reject:hover {
        background: #001E50;
    }

.cookie-btn-settings {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #001E50;
}

    .cookie-btn-settings:hover, .cookie-btn-settings.active {
        color: #fff;
        background: #001E50;
    }

.cookie-btn:disabled {
    background: #a5a5a5;
    border: #a5a5a5;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .cookie-category:last-child {
        border-bottom: none;
    }

    .cookie-category label {
        font-weight: 500;
    }

    .cookie-category small {
        display: block;
        color: #666;
        margin-top: 2px;
    }

@media (max-width: 768px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Cookie Popup */

#popupCookieReference {
    z-index: 9999;
}

.cookie-popup h5.title {
    color: #000;
}

.cookie-popup .checkbox-btn {
    width: 48px;
    height: 24px;
    position: relative;
}

.cookie-popup .checkbox {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.cookie-popup .toggler {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    line-height: 1;
    color: #fff;
    transition: background-color 0.15s ease-out;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #555;
}

.cookie-popup .checkbox-btn--rounded .toggler {
    border-radius: 40px;
}

.cookie-popup .toggler::before {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    padding: 0 8px;
    border-radius: 2px;
    background-color: #001E50;
    content: attr(data-label-unchecked);
    transition: all 0.15s ease-out;
    min-width: 18px;
}

.cookie-popup .checkbox-btn--rounded .toggler::before {
    border-radius: 40px;
}

.cookie-popup .checkbox:hover + .toggler {
    background-color: #FFF;
}

.cookie-popup .checkbox:active + .toggler::before {
    padding: 0 20px;
}

.cookie-popup .checkbox:checked {
    background-color: #FFFFFF;
}

.cookie-popup .checkbox + .toggler {
    background-color: #FFFFFF;
}

.cookie-popup .checkbox:checked + .toggler {
    background-color: #001E50;
}

    .cookie-popup .checkbox:checked + .toggler::before {
        background-color: #FFFFFF;
        content: attr(data-label-checked);
        left: calc(100% - 2px);
        transform: translateX(-100%);
    }

.nano .cookie-popup .accordion-item {
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
    border-bottom: 0;
}

    .nano .cookie-popup .accordion-item:last-child {
        border-bottom: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
        margin-bottom: 20px;
    }

.cookie-popup .accordion-header .accordion-button {
    font-size: 16px;
    border: 0 !important;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
}

    .cookie-popup .accordion-header .accordion-button:not(.collapsed) {
        color: none;
        background-color: none;
        box-shadow: none;
    }

    .cookie-popup .accordion-body {
        font-size: 14px;
        padding-left: 40px;
    }

    .cookie-popup .accordion-body p {
        font-size: 14px;
        margin-bottom: 10px;
    }

.cookie-popup .cookie-label {
    color: #9f9f9f;
    font-size: 14px;
}

/* 1. Hide the default right-aligned arrow */
.cookie-popup .accordion-button::after {
    display: none !important;
}

/* 2. Create the new left-aligned arrow using ::before */
.cookie-popup .accordion-button::before {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem; /* Space between arrow and text */
    content: "";
    background-image: url("/theme/bootstrap-icons/plus.svg");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

/* 3. Handle rotation when the accordion is expanded */
.cookie-popup .accordion-button:not(.collapsed)::before {
    background-image: url("/theme/bootstrap-icons/dash.svg");
    transform: rotate(-180deg);
}
