:root {
    --accent-color: #86DCF7;
    --bg-color: #0A1553;
    --m-stat-color: #f26522;
    --text-color: #FFF;
    --Glass: linear-gradient(215deg, rgba(0, 0, 0, 0.00) 0%, rgba(255, 255, 255, 0.04) 100%), rgba(4, 34, 36, 0.60);
    --dark-bg-color: #41525c;
    --color-stroke: linear-gradient(to right, rgba(0, 87, 142, 1), rgba(255, 255, 255, 1));
    --color-alert-bg: #edc071;
    --color-alert-text: #434343;
    --color-alert-title: #4c4c4c;
    --radius-lg: 24px;
    --blur-card: blur(16px);
    --shadow-card: 0px 16px 32px 0px rgba(0, 0, 0, 0.1);
    --color-glass: rgba(48, 86, 111, 0.5);
    --color-glass-outer: rgba(48, 86, 111, 0.2);
    --text-sm: 14px;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-VariableFont_opsz,wght.ttf");
}

body {
    font-family: 'Inter';
    font-size: 1rem;
    min-height: 100vh;
    position: relative;
    border-radius: 1.5rem;
    background: radial-gradient(163.07% 89.37% at 0% 0%, #0032C6 0%, rgba(34, 75, 195, 0.00) 100%), url('../images/home_assets/bg.png') lightgray 50% / cover no-repeat !important;
    color: #fff;
    line-height: 1.2rem;
}

#app, .main-panel, main {
    min-height: 100vh !important;
}

.trip {
    padding: 1rem 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.m-stat {
    color: var(--m-stat-color);
    text-decoration: none;
}

.m-stat:hover {
    color: var(--m-stat-color);
}

.layer-bg {
    min-height: 70vh;

    /* removed the wave */
    /*background-image:url('../images/home_assets/layer_v2.svg');
    background-repeat: no-repeat;
    background-position: bottom, center;
    background-size: 100%, 30%;*/
}

.profile-menu {
    color: var(--text-color);
}

.profile-menu:hover {
    color: var(--text-color);
}

.profile-menu-active {
    color: var(--accent-color) !important;
}

.profile-card {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex: 1 0 0;
    border-radius: 1.5rem;
    padding: 1rem;
    align-self: stretch;
    border: 0.063rem solid var(--Brand1);
}

.profile-footer {
    display: flex;
    padding: 1rem 0;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    border-radius: 0.75rem 0.75rem 0 0;
}

.info-modal {
    width: 22.563rem;
    height: auto;
    padding: .5rem 1rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    border-radius: 1.5rem !important;
    border: .063rem solid #999898 !important;
    background: var(--Glass) !important;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.10) !important;
    backdrop-filter: blur(1rem) !important;
}

.pass-reset-modal {
    width: 35.563rem;
    height: auto;
    padding: .5rem 1rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    border-radius: 1.5rem !important;
    border: .063rem solid #999898 !important;
    background: var(--Glass) !important;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.10) !important;
    backdrop-filter: blur(1rem) !important;
}

.toggle-switch {
    -webkit-appearance: none;
    position: relative;
    transition: background .3s;
    outline: none;
    cursor: pointer;
    border-radius: 6.25rem;
    background: var(--Brand-70);
    display: flex;
    width: 4rem;
    height: 1.75rem;
    padding: 0.125rem 1.438rem 0.125rem 0.125rem;
    align-items: center;
}

.toggle-switch::after {
    width: 2.438rem;
    height: 1.5rem;
    flex-shrink: 0;
    content: '';
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    transition: left .3s;
    border-radius: 6.25rem;
    background: #FFF;
    padding: 0.125rem 1.438rem 0.125rem 0.125rem;
}

.toggle-switch:checked {
    background: var(--accent-color);
}

.toggle-switch:checked::after {
    left: 65%;
}

.toggle-switch-label {
    color: var(--Text-Primary);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.select2-results__option--selected, .select2-results__option--highlighted {
    background: var(--Brand1) !important;
    color: var(--Text-Primary) !important;
}

.select2-search input {
    color: var(--Text-Primary) !important;
    background: var(--bg-color) !important;
    border: var(--Brand1) !important;
}

.select2-search {
    color: var(--Text-Primary) !important;
    background: #020e0f;
    border: var(--Brand1) !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    width: 100%;
    box-shadow: none !important;
}

.select2-selection {
    color: var(--Text-Primary) !important;
    opacity: .45;
    background: transparent !important;
    border: none !important;
}

.select2-selection:focus {
    border: none !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--Text-Primary) !important;
    background: transparent !important;
    border: none !important;
}

.select2-dropdown {
    border-top: none !important;
    border-right: 0.063rem solid var(--Brand1) !important;
    border-left: 0.063rem solid var(--Brand1) !important;
    border-bottom: 0.063rem solid var(--Brand1) !important;
    margin-left: .25rem;
}

.select2-results {
    color: var(--Text-Primary) !important;
    background: radial-gradient(50% 50% at 50% 50%, #070217 0%, #0A1553 100%);
    border: none !important;
}

.text-basic-color {
    color: #77a19f;
}

/* Articles */
.article.card {
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(1rem);
    transition-duration: 0.3s;
    transition-property: box-shadow, transform;
    overflow: hidden;

    background: var(--Glass);
    color: white;
    text-decoration: none;
}

.article.card img {
    object-fit: cover;
}

.article.card:hover {
    box-shadow: 0 2rem 3rem 0 rgba(0, 0, 0, 0.20);
}

.menu-modal {
    background: radial-gradient(77.94% 95.8% at 17.05% 9.98%, #0085DC 0%, #002283 100%);
}

.modal-text {
    font-size: 1.1rem;
    line-height: 1.2rem;
}

.modal-backdrop.fade {
    opacity: .9;
    background: radial-gradient(77.94% 95.8% at 17.05% 9.98%, #0085DC 0%, #002283 100%);
}

.front-button-square {
    min-height: 2.313rem;
    background: transparent;
    border: 0.063rem solid white;
    color: #fff;
    padding-top: .5rem;
}

/* Burger menu */
.burger-menu-item {
    font-weight: 700;
    font-size: 2rem;
    color: #fff !important;
}

/* Destinations */
.destination.card {
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(1rem);
    transition-duration: 0.3s;
    transition-property: box-shadow, transform;
    overflow: hidden;

    background: var(--Glass);
    color: white;
    text-decoration: none;
}

.destination.card img {
    object-fit: cover;
}

.destination.card:hover {
    box-shadow: 0 2rem 3rem 0 rgba(0, 0, 0, 0.20);
}

/* Frontend Pagination */
.item-pagination {
    padding: 0.375rem 0.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    display: flex;
    list-style: none;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-number {
    text-decoration: none;
    color: #fff;
}

.page-number:hover {
    text-decoration: none !important;
    color: #fff;
}

.page-item:has(> li.page-active) {
    background-color: #fff;
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 50%;
}

.page-active {
    text-decoration: none;
    color: #000 !important;
}

.alert-banner {
    border-radius: 1rem;
    overflow: hidden;
}

.alert-content {
    background-color: var(--color-alert-bg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-title {
    /*font-family: var(--font-family);*/
    /*font-size: var(--text-base);*/
    font-weight: 700;
    color: var(--color-alert-title);
    line-height: 1;
}

.alert-text {
    /*font-family: var(--font-family);*/
    /*font-size: var(--text-xs);*/
    font-weight: 400;
    color: var(--color-alert-text);
    line-height: 1.4;
    letter-spacing: 0.1px;
}

.info-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.info-card-outer {
    backdrop-filter: var(--blur-card);
    box-shadow: var(--shadow-card);
    background-image:
        linear-gradient(231deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(90deg, var(--color-glass-outer) 0%, var(--color-glass-outer) 100%);
}

.info-card-inner {
    background-image:
        linear-gradient(192deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(90deg, var(--color-glass) 0%, var(--color-glass) 100%);
}

.info-card-details {
    padding: 24px;
    backdrop-filter: var(--blur-card);
    box-shadow: var(--shadow-card);
    background-image:
        linear-gradient(229deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(90deg, var(--color-glass) 0%, var(--color-glass) 100%);
}

.divider {
    width: 100%;
    height: 0.5px;
    background: linear-gradient(to right, var(--color-glass), rgba(255, 255, 255, 0.54));

    margin-bottom: 0.5rem;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    border-radius: var(--bs-border-radius-pill);
    padding: 9px 32px;
    /*font-family: var(--font-family);*/
    /*font-size: var(--text-lg);*/
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.button:hover {
    opacity: 0.85;
}

.button-dark {
    border: 1px solid rgba(0, 0, 0, 0.42);
    background: transparent;
    color: var(--color-alert-title);
    margin-top: 16px;
}

.collapse-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    background: transparent;
    border: none;
}

.collapse-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--bs-white);
    line-height: 1;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.accommodable-table > div {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.5rem;
}

.accommodable-row-alt {
    background: linear-gradient(
        to right,
        rgba(0, 87, 142, 0.25),
        rgba(255, 255, 255, 0.25)
    );
}

.button-teal {
    border: 1px solid #8ec4c1;
    background: transparent;
    color: var(--bs-white);
}

.text-alert-color {
    color: var(--color-alert-bg);
}

.footer-text a {
    color: #e5e7eb;
}
