:root {
    --bs-font-sans-serif: "Sora", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial,
        sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", "Noto Color Emoji";
    --infogroRed: #EF4537;
    --infogroLightBlue: #84D2E4;
    --infogroDarkBlue: #005C81;
    --infogroLightGrey: #616163;
    --infogroDarkGrey: #58595B;
    --obaroGreen: #689136;
}

html,
body {
    font-family: var(--bs-font-sans-serif);
}

body {
    font-family: "Sora", sans-serif;
}

.card {
    background-color: #f1f1f1;
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);
}

.card-header {
    min-height: 50px;
    display: flex;
    align-items: center;
}

.infogroRed {
    color: #ef4537;
}

.text-danger {
    color: #ef4537 !important;
}

.text-infogroDarkBlue {
    color: var(--infogroDarkBlue) !important;
}

.btn-danger {
    background-color: #ef4537;
}

.btn-info {
    background-color: var(--infogroDarkBlue);
    color: white;
    border-color: #025070;
}

.btn-info:hover {
    background-color: #036b94;
    color: white;
    border-color: #025070;
}

.navbar {
    min-height: 95px;
    background: transparent !important;
}

.navbar-brand img {
    height: 68px;
}

.navbar-nav .nav-link {
    color: #2d2d2d;
    font-weight: 500;
    padding: 2rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #0085ca;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 350px;
    max-height: 600px;
    overflow: hidden;
}

.hero-banner-thin {
    position: relative;
    width: 100%;
    height: 20vh;
    min-height: 250px;
    max-height: 300px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);   /* Darkens the video */
    z-index: -1;
}

.hero-content {
    padding-top: 145px;
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 165px;
    }
}

@media (max-width: 768px) {

    .logo {
        height: 50px;
        width: auto;
    }

    .logout-btn {
        padding: .45rem .9rem;
        font-size: .9rem;
    }

    .top-bar {
        height: 36px;
    }

    .top-nav .nav-link {
        height: 36px;
        font-size: .8rem;
        padding: 0 .6rem;
    }
}

.hero-account {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .hero-account {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .hero-account {
        font-size: 1.15rem;
    }
}

.hero-title {
    font-size: clamp(1.6rem, 3vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-text {
    max-width: 100%;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.2;
}

/* Tablets */
@media (max-width: 991.98px) {
    .hero-text {
        max-width: 100%;
    }
}

/* Phones */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0.75rem;
        max-width: 32rem;
        margin: 0 auto;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 0.7rem;
        padding: 0 0.5rem;
    }
}

.top-bar {
    background: transparent;
    color: white;
    height: 43px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.top-bar .nav-link {
    color: white;
    font-size: .9rem;
    font-weight: 400;
    padding: 0 1rem;
}

.top-bar .nav-link:hover {
    color: white;
    cursor: pointer;
}

.top-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-nav .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    border-right: 1px solid rgba(255,255,255,.7);
}

.top-nav .nav-link {
    display: flex;
    align-items: center;
    height: 43px;
    padding: 0 1rem;
}

.top-nav .nav-item:last-child {
    border-right: none;
}

@media (max-width: 575.98px) {

    .top-bar {
        height: auto;
        padding: .4rem 0;
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: .25rem;
    }

    .top-nav .nav-item {
        border-right: none;
    }

    .top-nav .nav-link {
        height: auto;
        padding: .25rem .5rem;
        font-size: .8rem;
    }
}

/* Hide arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.logo-grow {
    display: inline-block;
    transition:
        transform .4s cubic-bezier(.165,.84,.44,1),
        filter .4s ease;
}

.logo-grow:hover {
    transform: scale(1.1) !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.15));
}

.phone-option {
    display: block;
    cursor: pointer;
}

.phone-card {
    border: 2px solid #dee2e6;
    border-radius: .75rem;
    transition: all .2s ease;
}

.phone-option:hover .phone-card {
    border-color: var(--bs-danger);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

.check-icon {
    visibility: hidden;
    color: var(--bs-danger);
    font-size: 1.5rem;
}

.phone-option input:checked + .phone-card {
    border-color: var(--bs-danger);
    background-color: rgba(220,53,69,.05);
    box-shadow: 0 .5rem 1rem rgba(220,53,69,.15);
}

.phone-option input:checked + .phone-card .check-icon {
    visibility: visible;
}

.flash-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100%;
    max-width: 500px;
    z-index: 99999;
    pointer-events: none;
}

.flash-alert {
    pointer-events: auto;
}

.otp-container {
    display: flex;
    justify-content: center;
}

.otp-input {
    /* width: min(55px, 14vw); */
    /* aspect-ratio: 1; */
    /* height: auto; */
    font-size: clamp(1.2rem, 4vw, 1.75rem);
    text-align: center;
    font-weight: 600;
    border-radius: .75rem;
}

.otp-input:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 .25rem rgba(220,53,69,.15);
}

.nav-tabs .nav-link {
    color: var(--infogroDarkGrey);
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    color: var(--infogroDarkBlue);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--infogroDarkBlue);
    font-weight: 600;
    border-bottom: 3px solid var(--infogroRed);
}

#document-tabs .nav-link {
    color: #555;
    padding: 1rem 1.25rem;
    border-radius: 0;
    transition: all .2s ease;
}

#document-tabs .nav-link:hover {
    background: #f8f9fa;
}

#document-tabs .nav-link.active {
    background: #f1f1f1;
    color: var(--infogroDarkBlue);
    font-weight: 600;
}

#document-tabs .nav-link:last-child.active {
    border-bottom-left-radius: var(--bs-card-inner-border-radius) !important;
    border-bottom-right-radius: var(--bs-card-inner-border-radius) !important;
}

.bg-darkBlue {
    background-color: var(--infogroDarkBlue);
    color: white;
}

.bg-danger {
    background-color: var(--infogroRed) !important;
    color: white;
}

.btn-danger {
    --bs-btn-bg: var(--infogroRed);
    --bs-btn-border-color: var(--infogroRed);

    --bs-btn-hover-bg: #d63c30;
    --bs-btn-hover-border-color: #d63c30;

    --bs-btn-active-bg: #c2352b;
    --bs-btn-active-border-color: #c2352b;

    --bs-btn-disabled-bg: var(--infogroRed);
    --bs-btn-disabled-border-color: var(--infogroRed);
}

.logout-btn {
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    background: rgba(255,255,255,.95);
    color: var(--infogroDarkBlue);
    border-radius: 50rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    transition: all .2s ease;
}

.logout-btn:hover {
    background: var(--infogroRed);
    color: white;
    transform: translateY(-2px);
}

.logout-btn i {
    font-size: 1.1rem;
}

.select2-container--bootstrap-5 .select2-selection--single {
    height: calc(2.25rem + 2px);
    min-height: calc(2.25rem + 2px);
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    line-height: normal;
    padding: 0;
    margin: 0;
}

.select2-container--bootstrap-5 .select2-selection__arrow {
    height: 100%;
    display: flex;
    align-items: center;
    right: 0.75rem;
}

.select2-container {
    width: 100% !important;
}

/* Match Bootstrap 5 input border radius */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: .375rem;
}

/* Match Bootstrap focus styling */
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.account-input {
    width: 220px;
    flex: 0 0 220px;
}

@media (max-width: 767.98px) {

    .account-input {
        width: 100%;
        max-width: 250px;
        flex: none;
    }
}