/*
 * Portal version 2 styles.
 * Versioning lives in the folder path: /css/v2/portal.css.
 */

:root {
    --portal-font-family: "Open Sans", Arial, sans-serif;
    --color-primary: #003B71;
    --color-secondary: #0B5FA5;
    --color-accent: #F04B2F;
    --color-light-neutral: #F8F9FA;
    --color-dark-neutral: #212529;
    --color-text-primary: #344767;
    --color-text-secondary: #67748E;
    --color-border: #E9ECEF;
    --color-surface: #FFFFFF;
    --color-error: #FF3E3E;
    --portal-text-primary: var(--color-text-primary);
    --portal-text-secondary: var(--color-text-secondary);
    --portal-title-size: 3rem;
    --portal-heading-size: 2.25rem;
    --portal-heading2-size: 1.5rem;
    --portal-subtitle-size: 1.125rem;
    --portal-normal-size: 1rem;
}

.portal {
    font-family: var(--portal-font-family);
    color: var(--portal-text-primary);
}

.portal .typo-title,
.portal.typo-title {
    margin: 0 0 .5rem;
    color: var(--portal-text-primary);
    font-family: var(--portal-font-family);
    font-size: var(--portal-title-size);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.05rem;
}

.portal .typo-heading,
.portal.typo-heading {
    margin: 0 0 .5rem;
    color: var(--portal-text-primary);
    font-family: var(--portal-font-family);
    font-size: var(--portal-heading-size);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.05rem;
}

.portal .typo-heading2,
.portal.typo-heading2 {
    margin: 0 0 .5rem;
    color: var(--portal-text-primary);
    font-family: var(--portal-font-family);
    font-size: var(--portal-heading2-size);
    font-weight: 600;
    line-height: 1.375;
    letter-spacing: -.05rem;
}

.portal .typo-subtitle,
.portal.typo-subtitle {
    margin: 0 0 .75rem;
    color: var(--portal-text-secondary);
    font-family: var(--portal-font-family);
    font-size: var(--portal-subtitle-size);
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: 0;
}

.portal .typo-normal,
.portal.typo-normal {
    margin: 0 0 1rem;
    color: var(--portal-text-secondary);
    font-family: var(--portal-font-family);
    font-size: var(--portal-normal-size);
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: 0;
}

@media (max-width: 575.98px) {
    :root {
        --portal-title-size: calc(1.425rem + 2.1vw);
        --portal-heading-size: calc(1.35rem + 1.2vw);
        --portal-heading2-size: calc(1.275rem + .3vw);
        --portal-subtitle-size: 1rem;
        --portal-normal-size: .875rem;
    }
}

/* Project navigation helpers moved from custom.css. */

.breadcrumb-Link,
.breadcrumb-Link:visited,
.breadcrumb-Link:hover,
.breadcrumb-Link:visited:hover {
    color: black !important;
    font-weight: 700;
    text-decoration: none;
}

.btn.btn-ligntpink,
.btn-ligntpink {
    background-color: #EDDDFF;
    color: #CB0C9F;
    font-size: .875rem;
}

.btn.btn-sm.btn-ligntpink i {
    font-size: .875rem;
}

.btn.btn-ligntpink:hover {
    background-color: #CB0C9F;
    color: white;
}

/* Project portal components moved from the customized section of standard.css. */

.full-overlay-container.full-overlay-container-active {
    display: none;
}

.full-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 249, 250, .8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

returnPartialView {
    opacity: 1;
    transition: opacity .5s ease-in-out;
}

returnPartialView.fade-in {
    opacity: .5;
}

.hide {
    display: none;
}

.card-highlight {
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .15) !important;
    outline: 3px solid #007AFF;
}

.green-tick,
.blue-tick {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
}

.green-tick {
    color: #82d616;
}

.blue-tick {
    color: #007AFF;
}

.productRI-section,
.productM365-section {
    overflow-y: auto;
    direction: ltr;
    padding-top: 4px;
    padding-bottom: 4px;
}

.productRI-section {
    max-height: 500px;
}

.productM365-section {
    max-height: 735px;
}

.upgradePlanDiv {
    max-height: 900px !important;
}

.productRI-card,
.productM365-card-v2 {
    position: relative;
    border-radius: 12px;
    background-color: #fff;
    border: none;
    width: 100%;
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
    font-size: .875rem;
    color: #727272;
    font-family: var(--portal-font-family);
    transition: box-shadow .3s ease, outline .3s ease;
    margin-bottom: 0;
    box-shadow: none !important;
}

.productRI-card {
    height: 140px;
}

.productM365-card-v2 {
    height: auto;
}

.productM365-card {
    width: 100%;
    height: 100%;
    padding: 16px;
    background: white;
    border-radius: 12px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: inline-flex;
}

.productM365-image {
    width: 120px;
    height: 120px;
}

.productM365-information-wrapper {
    align-self: stretch;
    height: 178px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 24px;
    display: flex;
}

.productM365-title {
    width: 100%;
    text-align: center;
    color: var(--portal-text-primary);
    font-size: 16px;
    font-family: var(--portal-font-family);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.productM365-subTitle {
    color: #202020;
    font-size: 14px;
    font-family: var(--portal-font-family);
    font-weight: 400;
    word-wrap: break-word;
    text-align: center;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 45px;
    position: relative;
}

.productM365-detailsTitle {
    color: var(--portal-text-primary);
    font-size: 14px;
    font-family: var(--portal-font-family);
    font-weight: 600;
    word-wrap: break-word;
}

.productM365-detailsValue {
    color: #202020;
    font-size: 12px;
    font-family: var(--portal-font-family);
    font-weight: 400;
    word-wrap: break-word;
}

.productRI-div {
    height: 140px;
}

.productM365-div {
    height: auto;
}

.productM365-cartBtn,
.productM365-promoBtn {
    height: 39px;
    padding: 10px 12px;
    border-radius: 12px;
    display: inline;
    font-size: 12px;
    font-family: var(--portal-font-family);
    word-wrap: break-word;
    cursor: pointer;
    text-align: center;
}

.productM365-cartBtn {
    width: 110px;
    background: #CB0C9F;
    color: white;
    font-weight: 600;
}

.productM365-promoBtn {
    width: 250px !important;
    background: rgba(255, 62, 62, .2) !important;
    color: #FF3E3E !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.productRI-card:active {
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .15) !important;
    outline: 3px solid #007AFF;
}

.productRI-image-icon {
    position: relative;
    width: 40px;
    min-height: 40px;
    border-radius: 12px;
}

.productRI-information {
    gap: 20px;
}

.productRI-information,
.productRI-information-wrapper {
    margin-left: 6px;
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.productRI-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: 6px;
    min-height: 3.2em;
}

.productRI-title,
.productRI-title-2,
.productRI-description-2 {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.productRI-title {
    font-weight: 600;
    min-height: 3.2em;
}

.productRI-title-2 {
    color: #202020;
    min-height: 3.2em;
}

.productRI-description-2 {
    color: #202020;
    font-size: .83rem;
}

.productRI-container {
    padding: 9px calc(var(--bs-gutter-x) * .5 * 2) 0;
}

.search-box {
    font-size: .875rem;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    width: 403px;
}

.search-box:focus-visible {
    outline: none;
}

.btn-close.text-dark {
    line-height: 0;
    font-size: 24px;
}

.product-catalogue {
    cursor: pointer;
    color: black;
    height: auto;
    padding: 12px;
    font-size: 14px;
    align-items: center;
    display: flex;
    width: 100%;
    font-weight: 600;
}

.product-catalogue.active {
    background: linear-gradient(90deg, #316BFF 0%, #7CA1FF 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 1px;
}

.productRI-section::-webkit-scrollbar,
.productM365-section::-webkit-scrollbar,
.productCatalogueDiv::-webkit-scrollbar,
.custom-scrollable::-webkit-scrollbar {
    width: 10px;
}

.productRI-section::-webkit-scrollbar-track,
.productM365-section::-webkit-scrollbar-track,
.productCatalogueDiv::-webkit-scrollbar-track,
.custom-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 100px;
}

.productRI-section::-webkit-scrollbar-thumb,
.productM365-section::-webkit-scrollbar-thumb,
.productCatalogueDiv::-webkit-scrollbar-thumb,
.custom-scrollable::-webkit-scrollbar-thumb,
.productM365-section::-webkit-scrollbar-thumb:hover,
.productCatalogueDiv::-webkit-scrollbar-thumb:hover,
.custom-scrollable::-webkit-scrollbar-thumb:hover {
    border-radius: 100px;
    background-image: linear-gradient(180deg, #7ea0ff 0%, #ff80c5 99%);
    box-shadow: inset 2px 2px 5px 0 rgba(255, 255, 255, .5);
}

.productCatalogueDiv {
    width: 100%;
    padding: 16px;
    background: white;
    border-radius: 16px;
    max-height: 500px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: inline-flex;
    overflow-y: auto;
    direction: ltr;
}

.text-lightBlue,
.text-purple,
.text-darkBlue {
    font-size: 12px;
    font-weight: 600;
    word-wrap: break-word;
    padding: 10px;
    border-radius: 12px;
}

.text-lightBlue {
    color: #0098FF;
    background: rgba(0, 152, 255, .2);
}

.text-purple {
    color: #8D57FF;
    background: rgba(141, 87, 255, .2);
}

.text-darkBlue {
    color: #035BDA;
    background: rgba(3, 91, 218, .2);
}

.promotion-text {
    color: #FF3E3E;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-text {
    font-weight: 700;
}

.accordion div button[aria-expanded=true] .collapse-open,
.accordion div button[aria-expanded=false] .collapse-close {
    display: unset;
    color: black;
}

.accordion div button[aria-expanded=false] .collapse-open,
.accordion div button[aria-expanded=true] .collapse-close {
    display: none;
    color: black;
}

.quantity-btn {
    background-color: #F8F9FA !important;
    color: #202020;
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 12px;
    box-shadow: none;
}

.quantity-btn:hover:not(.btn-icon-only) {
    box-shadow: none !important;
    transform: none !important;
    background-color: #F8F9FA !important;
    color: #202020 !important;
}

.promotion-description-div {
    background-color: #202020;
    color: white;
    padding: 12px !important;
}

.quantity-input {
    width: 60px;
    font-size: 12px;
}

.label-color-dot-plan {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.clone-card {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05);
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.grey-accordion-body {
    background: #f8f9fa;
}

.custom-scrollable {
    overflow-y: auto;
}

.toast-title {
    font-size: 18px;
}

.toast {
    width: 360px;
}

.subTitleToastDiv {
    background-color: rgba(34, 48, 71, 1);
}

.top-product-link {
    font-family: var(--portal-font-family);
    font-size: 12px;
    font-weight: 700;
    line-height: 16.34px;
    text-align: left;
    color: #3E465B;
}

.skel {
    position: relative;
    overflow: hidden;
    background: #e9ecef;
    border-radius: .375rem;
}

.skel::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    animation: skel-sheen 1.2s infinite;
}

@keyframes skel-sheen {
    100% {
        transform: translateX(100%);
    }
}

.skel-line {
    height: .75rem;
    margin: .25rem 0;
}

.skel-line.lg {
    height: 1.75rem;
}

.skel-line.sm {
    height: 1.375rem;
    width: 60%;
}

.skel-row {
    padding: 0 .5rem;
    border-left: .3125rem solid #dee2e6;
    margin: .5rem;
}

.skel-col {
    flex: 1;
}

.skel-ring-wrap {
    position: relative;
    width: 12.5rem;
    height: 12.5rem;
}

.skel-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e9ecef;
    position: relative;
}

.skel-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
    animation: ring-spin 1.2s linear infinite;
}

.skel-ring::before {
    content: "";
    position: absolute;
    inset: 28%;
    background: #fff;
    border-radius: 50%;
}

@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.skel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.skel-chart {
    height: 18.75rem;
    margin: .5rem 1rem;
    border-radius: .625rem;
}

#filterDemo .popover {
    position: absolute;
    top: 42px;
    left: 0;
    z-index: 1050;
    min-width: 260px;
}

#filterDemo .popover .popover-arrow {
    position: absolute;
    top: -10px;
    left: 22px;
    width: 20px;
    height: 10px;
}

#filterDemo .popover .popover-arrow::before,
#filterDemo .popover .popover-arrow::after {
    content: "";
    position: absolute;
    left: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

#filterDemo .popover .popover-arrow::before {
    top: 0;
    border-bottom: 10px solid var(--bs-border-color);
}

#filterDemo .popover .popover-arrow::after {
    top: 1px;
    border-bottom: 9px solid #fff;
}

#chipRow .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .325rem .75rem;
    border-radius: 50rem;
    border: 1px solid var(--bs-primary);
    color: #000;
    background: #f5f5f5;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
}

#chipRow .filter-chip:hover {
    background: #EDDDFF;
}

#chipRow .filter-chip__x {
    border: 0;
    background: transparent;
    color: var(--bs-primary);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    padding: 0 .1rem;
    cursor: pointer;
}
