* {
    margin: 0;
    box-sizing: border-box;
    font-family: var(--base-font);
}

*, html { scroll-behavior: smooth !important; }


ul {
    padding: 0px;
    list-style-type: none;
}

a {
    color: #1D2433;
    text-decoration: none;
}

.h4 {
    color: var(--light-grey3-color);
}

/*
    ========== HEADER START ========== */
.header {
    background-color: var(--drk-blue-clr);
}

.header__main-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header__logo {
    display: grid;
    place-items: center;
}

.header__separator {
    width: 1px;
    height: 16px;
    background-color: rgba(256, 256, 256, 0.2);
    margin-left: 17px;
    margin-right: 10px;
    position: relative;
}

.header__menu-drawer {
    overflow-y: auto;
}

.header__menu-drawer,
.header__menu-drawer-wrapper {
    height: inherit;
}

.desktop__menu {
    display: flex;
}

/* invoices header */
.invoices-header {
    background-color: var(--light-grey1-clr);
}

.invoices-header__container {
    padding-block: 6px;
}

.invoices-header__container,
.invoices-header__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoices-header__title {
    font-size: 2rem;
    line-height: 24px;
}

.option__btn {
    padding: 12px 8px;
    min-width: 40px;
    max-width: max-content;
    max-height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    cursor: pointer;
}

.option__btn:not(:first-of-type) {
    margin-left: calc(8px - 2px);
}

.option__btn span { 
    margin-inline: 4px;
    color: var(--drk-text-clr);
}

.option--export {
    background-color: #fff;
}

.option--new {
    background-color: var(--green-color);
    padding-block: 10px;
}

.option--new span {
    color: #fff;
    margin-left: 0;
    margin-right: 8px;
}

.option--filter {
    position: relative;
}

.header.header--1 { height: 52px; }
.header.header--lg-hidden { display: none!important; }
.header.header--fixed-horizontal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 80;
}

.header.header--fixed-vertical {
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.header__fixed-pos-support {
    height: 48px;
}

.header__wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.header__wrapper.header__wrapper--col { flex-direction: column; }

.header__links {
    height: inherit;
    display: flex;
    /* flex-wrap: wrap; */
}

.header__links.header__links--col { flex-direction: column; }

.header__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
    padding: 14px;
    cursor: pointer;
}

.header__item.header__item--justify-start { justify-content: flex-start; }

.header__item.header__item--back {
    padding-left: var(--sm-scope);
    padding-right: var(--sm-scope);
}

.header__item.header__item--bg-danger { background-color: crimson; }
.header__item.header__item--border-right { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.header__item.header__item--border-bottom { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.header__item.header__item--profile { padding: 8px; }

.header__item.header__item--col { height: var(--xl2-scope); }

.header__icon {
    animation: slideIn 1s linear forwards;
}

.header__icon-wrapper {
    display: grid;
    place-items: center;
    cursor: pointer;
    overflow: hidden;
}

.header__icon {
    animation: slideIn 300ms forwards;
}

.header__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--xs-scope);
    padding-right: var(--md-scope);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(44, 62, 98, 1);
}

.header__breadcrumb.header__breadcrumb--scroll-x { overflow: auto; }
.header__breadcrumb.header__breadcrumb--border-left { border-left: 1px solid rgba(225, 230, 239, 1); }
.header__breadcrumb.header__breadcrumb--border-right-unset { border-right: unset; }
.header__breadcrumb.header__breadcrumb--background-unset { background-color: unset; }
.header__breadcrumb.header__breadcrumb--w-full { width: 100%; }

.header__breadcrumb-text {
    font-size: .875rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.5);
}

.header__breadcrumb-text.header__breadcrumb-text--active {
    color: rgba(255, 255, 255, 0.9);
}

.header__breadcrumb-text.header__breadcrumb-text--dark {
    color: rgba(29, 36, 51, 0.5);
}

.header__breadcrumb-text.header__breadcrumb-text--dark-active {
    color: rgba(29, 36, 51, 1);
}

.header__breadcrumb-caret-wrapper {
    display: flex;
    align-items: center;
}

.header__links.header__links--expand-pos-right {
    flex: 1;
    justify-content: flex-end;
}

.header__links.header__links--texts { margin: 0 8px; }

.header__item {
    position: relative;
}

.header__item.header__item--link {
    text-align: center;
    padding: 13px 10px 15px;
}

/* ===== START header item hover underline & text bold effect ===== */
    .header__item.header__item--link::before,
    .header__item.header__item--link::after,
    .header__item.header__item--link-active::before,
    .header__item.header__item--link-active::after {
        content: '';
        position: absolute;
        width: 0%; /* default */
        height: 1px;
        background-color: rgb(255 255 255 / 100%);
        bottom: 0;
        transition: width 100ms ease-in-out;
    }

    .header__item.header__item--blue-line::before,
    .header__item.header__item--blue-line::after {
        background-color: rgb(22 110 232 / 100%);
    }

    .header__item.header__item--link::before,
    .header__item.header__item--link-active::before {left: 50%}
    .header__item.header__item--link::after,
    .header__item.header__item--link-active::after {right: 50%}

    .header__item-text {
        color: rgb(255 255 255 / 90%);
        position: relative;
    }

    .header__item-text::before {
        content: attr(data-content);
        font-weight: 500;
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 100ms ease-in-out;
    }

    .header__item.header__item--link:hover::before,
    .header__item.header__item--link:hover::after,
    .header__item.header__item--link-active::before,
    .header__item.header__item--link-active::after { width: calc(50% - 10px); }

    .header__item.header__item--link:hover .header__item-text::before,
    .header__item.header__item--link-active .header__item-text::before { opacity: 1; }
/* ===== END header item hover underline  & text bold effect ===== */

.header__item.header__item--border-x {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.header__item.header__item--border-left { border-left: 1px sold rgba(225, 230, 239, 1); }
.header__item.header__item--py-16 { padding-top: 16px; padding-bottom: 16px; }
.header__item.header__item--px-10 { padding-left: 10px; padding-right: 10px; }

.header__item-text {
    font-size: var(--fs-1);
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.header__item-text.header__item-text--dark { color: rgba(29, 36, 51, 1); }

.header__item-text.header__item-text--padding-x {
    padding-left: 8px;
    padding-right: 8px;
}


.header__profile-name {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 100;
    background-color: rgba(115, 132, 147, 1);
    letter-spacing: 0.0025em;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

.header__search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header__search-field {
    all: unset;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 1);
    margin-left: 0;
    background-color: transparent;

    width: 0%;
    max-width: 0;
    opacity: 0;
    transition: all 250ms ease;
}

.header__arrow-wrapper.header__arrow-wrapper--absolute {
    position: sticky;
    right: -1px;
    top: 0;
    height: var(--xl2-scope);
    width: var(--xl2-scope);
    display: grid;
    place-items: center;
    padding: 14px;
    background-color: rgb(255 255 255 / 100%);
    cursor: pointer;
}

.header__search-field.header__search-field--text-dark,
.header__search-field.header__search-field--text-dark::placeholder { color: rgba(29, 36, 51, 0.75); }

/* popups */
.header__popover {
    position: absolute;
    top: calc(100% - 4px);

    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(225, 230, 239, 1);
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.16);
    background-color: rgb(255 255 255);
    transition: var(--transition-drawer);

    display: none;
    z-index: 10;
}

.header__popover.header__popover--col {
    right: calc(-280px + 2px)!important;
    top: -180px;
}

.header__popover.header__popover--vert {
    top: calc(100% - 9px);
    left: 18px!important;
}

.header__popover.header__popover--profile {
    width: 280px;
    right: 8px;
}

.header__popover.header__popover--company {
    padding: 12px;
    left: 0;
}

.header__popover-block {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    gap: 8px;
    align-items: start;
}

.header__popover-block.header__popover-block--company {
    align-items: center;
    padding: 9.5px 8px;
}

.header__popover-block.header__popover-block--icon {
    padding: 8px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
}

.header__popover-block.header__popover-block--profile {
    padding-top: 20px;
    padding-bottom: 12px;
}

.header__popover-block.header__popover-block--separator {
    padding: 8px 20px;
    display: grid;
    place-items: center;
}

.header__popover-block.header__popover-block--last {
    margin-bottom: 8px;
}

.header__popover-avatar {
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(115, 132, 147, 1);
}

.header__popover-name {
    font-weight: 500;
    color: rgba(29, 36, 51, 1);
    line-height: 24px;
}

.header__popover-email,
.header__popover-text {
    flex: 1;
    font-size: .875rem;
    color: rgba(29, 36, 51, 0.75);
}

.header__popover-text.header__popover-text--padding-x-0 {
    padding-left: 0;
    padding-right: 0;
}

.header__popover-line {
    height: 1px;
    width: 100%;
    background-color: rgba(225, 230, 239, 1);
}

.header__item.header__item--mob-menu-btn {
    display: none;
}

.header_mobile_menu_trigger_backdrop {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: -101%;
    background-color: rgb(0 0 0 / 15%);
    z-index: 70;
    transition: all 150ms ease;
}

/* header mobile drawer */
.header__menu { display: none; } /* only show on mobile */

@media (max-width: 1200px) {
    .header__menu-drawer {
        content: '';
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: -101%;
        background-color: rgba(4, 16, 27, 1);
        z-index: 100;
        transition: left 500ms cubic-bezier(0.820, 0.085, 0.395, 0.895);
    }

    .header__menu-drawer .header__links {
        flex-wrap: nowrap;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .header__menu-drawer .header__item {
        width: max-content;
    }

    .header__menu {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        margin-bottom: 32px;
    }

    .icon-wrapper {
        position: absolute;
        width: 16px;
        height: 16px;
        display: grid;
        place-items: center;
        right: 16px;
        cursor: pointer;
    }
}
/*  
    ==========
                HEADER END ==========   */

/*  
    ==========
                FILTER START ==========   */

/* filter */
.main__content {
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.apps__wrapper {
    overflow-y: scroll;
}

.filter {
    /* flex: 1; */
    min-width: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--white-clr);
    border-right: 1px solid var(--light-grey1-clr);
}

.filter.filter--fixed {
    position: fixed;
    top: 52px;
    height: 100vh;
    overflow: hidden auto;
}

.filter.filter--fixed-2 {
    position: fixed;
    top: calc(52px + 56px);
    height: 100vh;
    overflow: hidden auto;
}

.filter--search {
    width: 320px;
}

.filter--container {
    padding: 20px;
}

.filter--container:not( + .sidebar__links) {
    border-bottom: 1px solid var(--light-grey1-clr);
}

.filter__search {
    padding-bottom: 20px;
    /* border-bottom: 1px solid var(--light-grey1-clr); */
}

.search--form {
    margin-top: 20px;
}

.filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter__header p {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -1px;
}

.filter__header a {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(29, 36, 51, 0.75);
}

.filter__field {
    border-radius: var(--radius);
    border: 1px solid var(--light-grey1-clr);
    position: relative;
    height: 40px;
}

.filter__field input,
.filter__field select {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border: none;
    border-radius: var(--radius);
    background-color: transparent;
    padding: 6px 43px 6px 9px;
    appearance: none;
    font-size: 1.4rem;
    z-index: 1;
}

.apps__wrapper .filter__field input {
    background-color: var(--white-clr);
}

.filter__checkbox {
    display: flex;
    justify-content: space-between;
}

.filter__checkbox:not(:last-of-type) {
    margin-bottom: 8px;
}

.filter__checkbox input {
    appearance: none;    
    height: 18px;
    width: 18px;
    border-radius: calc(var(--radius) - 1px);
    border: 1px solid var(--light-grey1-clr);
}

.filter__checkbox input:checked {
    background: url('../icons/check.svg') no-repeat right;
    background-color: #3D8AF6;
    border: 2px solid #3D8AF6;
    background-position: 1.25px 2.5px;
}

.filter__field svg {
    position: absolute;
    right: 12px;
    top: 47%;
    transform: translateY(-50%);   
    z-index: 1;
}

.filter__title {
    display: flex;
    align-items: center;
}

.filter__title span:first-of-type {
    padding-left: 8px;
    padding-right: 10px;
}

.filter__dropdown-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter__dropdown-control.expanded svg {
    transform: rotate(180deg);
}

span.acc_count {
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #166EE8;
    color: var(--white-clr);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    font-weight: 400;
    font-size: 1.4rem;
}

.acc_count.acc_count--flex-none { flex: none; }

span.acc_count:empty {
    display: none;
}

.filter__label,
.filter__checkbox p {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
}

.filter__checkbox p {
    margin-bottom: 0;
}

.field--space {
    margin-bottom: 8px;
}

.filter--search {
    background-color: #F8F9FC;
}

.sidebar__link,
.category__link {
    display: flex;
    align-items: center;
    padding-block: 8px;
    padding-inline: 20px;
    transition: background-color var(--transition);
    position: relative;
}

.sidebar__link span,
.category__link span,
.acc__tab-left span {
    margin-left: 8px;
    font-family: 'Erply Ladna';
    font-size: 16px;
    font-weight: 115;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    flex: 1;
    /* overflow: hidden; */
}

.sidebar__link.sidebar--active,
.category__link.sidebar--active,
.sidebar__categories .acc__form--container a.sidebar--active,
.sidebar--active,
.sidebar__link:hover,
.category__link:hover,
.sidebar__categories .acc__form--container a:hover {
    background-color: var(--sidebar-link-active);
}

.acc__label > .category__link { width: 100%; }
.category__link .acc__tab-left { margin-left: 0; }
.acc__form--container { height: 100%; display: none; }

.sidebar--opened {
    background-color: #F2F4F8;
}

/* sidebar categories */
.sidebar__categories {
    margin-top: 12px;
}

.sidebar__categories .accordion {
    padding: 0;
    border-bottom: 0;
    transition: var(--transition);
}

.sidebar__categories .accordion .acc__label {
    padding: 8px 20px;
}

.sidebar__categories .acc__label {
    margin-bottom: 0;
}

.sidebar__category-title {
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 115;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    padding: 10px 20px;
    color: rgba(29, 36, 51, 0.75);
}

.mobile__menu,
.option--filter {
    display: none;
}

.option--filter {
    margin-left: 6px;
}

/* 
    ==================================== 
        APPS PAGE STARTS HERE
    ====================================
*/
.apps {
    display: grid;
    grid-template-columns: 360px minmax(360px, 1fr);
    padding-top: 52px;
}

.apps.apps--checkout { grid-template-columns: minmax(0, 1fr); }

.apps__body {
    grid-column: 2 / -1;
    padding-bottom: 40px;
    overflow: hidden scroll;
}

.apps__body-wrapper {
    padding: 0 40px;
    background-color: var(--sales-bg-clr);
}

/* apps breadcrumb start */
.apps__breadcrumb {
    padding: 7.5px 0 7.5px 24px;
    width: 100%;
    margin-left: auto;
    background-color: var(--breadcrumb-bg);
} 

.apps__breadcrumb.hidden {
    display: none;
}

.apps__breadcrumb *:not(:last-child) {
    margin-right: 16px;
}

.apps__breadcrumb.apps__breadcrumb--checkout { padding-left: 0; padding-right: 0; }

.breadcrumb-wrapper {
    width: inherit;
    display: flex;
    align-items: center;
    overflow: scroll;
    padding-right: 40px;
}

.breadcrumb-wrapper::-webkit-scrollbar {
    display: none;
}

.breadcrumb-caret {
    display: grid;
    place-items: center;
    cursor: pointer;
}

.breadcrumb-caret.breadcrumb-caret--backwards {
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(241, 243, 249, 1);
}

.breadcrumb-link { white-space: nowrap; }
/* apps breadcrumb end */

.apps__home--header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 40px;
    padding-top: 40px;
}

.apps__home--header h1 {
    max-width: 480px;
    color: rgba(29, 36, 51, 1);    
}

.apps__home .search--form {
    width: 100%;
    max-width: 320px;
    margin-top: 0;
}

.apps-installed__row {
    width: 100%;
    margin-bottom: 32px;
}

.app-installed__row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(225, 230, 239, 1);
    border-radius: 4px;
    background-color: #ffffff;
    /* overflow-x: auto; */

    /* Hide scrollbar for IE, Edge add Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none; /* Firefox */

    /* position: relative; */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.app-installed__row::-webkit-scrollbar {
    display: none;
}

.apps__row--header {
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apps__row {
    width: 100%;
    padding-bottom: 32px;
}

.apps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(283.75px, 1fr));
    width: 100%;
    /* max-width: 1171px; */
    gap: 12px;
    overflow: scroll;
}

.apps__card {
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(225, 230, 239, 1);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.apps__card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.app__icon-wrapper {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    aspect-ratio: 16/16;
    position: relative;
}

.app__icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.app__toggle-container {
    width: 40px;
    height: 24px;
    position: relative;
    border-radius: 24px;    
    background-color: #DEDEE8;
    cursor: pointer;
    overflow: hidden;
}

.app__toggle-container::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background-color: rgba(28, 132, 234, 1);
    transition: left 150ms cubic-bezier(0.820, 0.085, 0.395, 0.895);
    transition-delay: 10ms;
}

.app__toggle-indicator {
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: rgb(255 255 255 / 100%);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
    transition: left 150ms cubic-bezier(0.820, 0.085, 0.395, 0.895);
}

.app__title {
    margin-bottom: 8px;
    font-family: 'Erply Ladna';
    font-size: 18px;
    font-weight: 115;
    line-height: 26px;
    letter-spacing: 0px;
    text-align: left;
    text-transform: capitalize;
    color: rgba(29, 36, 51, 1);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app__cta { 
    cursor: pointer;
    padding: 7.5px 24px; 
}

/* app details page start */
.apps__detail {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(443px, 1fr));
    gap: 45px;
}

.apps__detail--last {
    display: flex;
    background-color: #ffffff;
    padding: 40px;
}

.apps__detail > .app__detail {
    width: 100%;
    /* max-width: 443px; */
    position: relative;
}

.apps__detail--last h2 {
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.apps__detail--last .app__detail {
    max-width: 811px;
    width: 100%;
}

.app__img {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.app__cta.app__cta--open {
    background-color: transparent;
    border: 1px solid #78AEFA;
    color: #3D8AF6;
}

.app__cta.app__cta--uninstall {
    background-color: transparent;
    border: 1px solid #F28670;
    color: #E0593E;
}

.app__slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-inline: 40px;
    aspect-ratio: 16/9;
}

.app__slider-img {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    object-fit: cover;
    border-radius: 4px;
    padding-inline: 40px;
}

.arrow {
    display: none; /* hidden by default */
    position: absolute;
    left: 0px;
    padding: 6px;
    border-radius: 100%;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
    height: 32px;
    width: 32px;
    display: grid;
    place-content: center;
    cursor: pointer;
    z-index: 10;
}

.arrow.right {
    left: unset;
    right: 0px;
    transform: rotate(180deg);
}

.app__similar--apps {
    padding: 40px 0 40px 40px;
    width: 100%;
    max-width: 300px;
}

.similar-apps--container {
    display: inline-block;
    width: 100%;
}

.app__similar--apps .apps__row--header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.similar__app--block {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 27px;
}

.app--block-content {
    width: 100%;
}

.app--block-content > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apps__detail--pricing {
    background-color: #ffffff;
    padding: 40px;
    position: relative;
    display: flex;
    gap: 20px;
    flex-direction: column;
    border-left: 1px solid var(--light-grey1-clr);
}

/* horizontal line separator */
.apps__detail--pricing::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 1px;
    width: calc(100% - 80px);
    background-color: rgba(225, 230, 239, 1);
}

.apps__detail--pricing h3 {
    font-family: 'Erply Ladna';
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -1px;
    text-align: left;
    color: rgba(29, 36, 51, 1);
}

.app--detail .plan__component {
    --component-padding: 24px;
}

/* plan actions */
.apps__detail--pricing .plans__component .plan__component .btn--active,
.apps__detail--pricing .plans__component .plan__component .btn--default {
    display: none;
}
/* app details page end */
.app-installed__title {
    flex: 1;
    max-width: 315px;
    min-width: 155px;
}

.app-installed__title p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-installed__row:not(:last-of-type) {
    margin-bottom: 12px;
}

.app-installed__status,
.app-installed__pricing {
    max-width: 160px;
    min-width: 100px;
    flex: 1;
}

.app-installed__status > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.app-installed__ctas {
    display: flex;
    justify-content: flex-end;
    position: relative;
    flex: 1;
    min-width: 296.4px;
}

.app-installed__cta {
    height: 31px;
    padding-block: 7px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #3D8AF6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Erply Ladna';
    font-size: 1.4rem;
    font-weight: 115;
    line-height: 17px;
}

.app-installed__cta--open {
    padding-inline: 22px;
    color: rgba(61, 138, 246, 1);
}

.app-installed__cta--update {
    background: #3D8AF6;
    color: #ffffff;
    padding-inline: 15.5px;
}

.app-installed__cta--upgrade {
    background: #0A213C;
    border-color: #0A213C;
    color: #ffffff;
    padding: 11px;
}

.app-installed__cta--options {
    padding: 6px;
    margin-left: 8px;
}

.app-installed__cta:not(:last-of-type) {
    margin-right: 8px;
}

.app-installed__modal--options {
    padding: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    border-radius: 4px;
    position: absolute;
    top: 31px;
    right: 0;
    z-index: 10;
    width: 280px;

    /* hidden by default */
    display: none;
}

.app-installed__modal--options .option__list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
}

.app-installed__modal--options .option__list span {
    font-family: 'Erply Ladna';
    font-size: 16px;
    font-weight: 96;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    color: rgba(29, 36, 51, 1); 
}

.app-installed__row img {
    filter: grayscale(100%);
}

.mobile__filter {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-101%);
    transition: var(--transition-drawer);
    z-index: 10;
    /* min-width: unset; */
    overflow-y: auto;
    height: 100%;
}

.mobile__menu {
    position: fixed;
    left: 0;
    top: 0;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 5;
    transition: var(--transition-drawer);
    padding-block: 1rem;
    margin-top: 57px;
    transform: translateY(-150%);
}

.line-clamp {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[hidden] {
    display: none!important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* 
    ======================= 
                                APPS PAGE ENDS HERE  =======================
*/

/* 
    ======================= 
        SALES PAGE STARTS HERE
    =======================
*/
.sales__wrapper {
    display: flex;
    flex-direction: column;
    margin-top: var(--lg-scope);
    gap: 1rem;
}

.sales__link {
    position: relative;
    padding: var(--sm-scope) 10px;
    width: max-content;
    overflow: hidden;
}

.sales__link::before {
    content: '';
    height: 20px;
    width: 100%;
    position: absolute;
    top: 100%; /* default */
    left: 0;
    background-color: var(--drk-text-clr);
    transition: var(--transition);
}

.sales__link:hover::before {
    transform: rotate(-2deg);
    top: calc(100% - 5px);
}
/* 
    ======================= 
                                SALES PAGE STARTS HERE  =======================
*/

.spea-backdrop {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 15%);
    scale: 0;
    opacity: 0;
}

.backdrop--transparent {
    background-color: transparent;
}

[data-trial-end="true"] {
    color: rgba(224, 89, 62, 1);
}

.block--title {
    margin-bottom: 4px;
}

@media screen and (max-width: 767px) {
    .filter {
        min-width: 300px;
    }
}

@media screen and (max-width: 1100px) {
    .option--filter {
        display: flex;
    }

    /* .mobile__filter {
        display: block;
    } */

    /* .desktop__filter {
        display: none;
    } */
}

/*
    ==============================
        APPS IMAGE SLIDER START
    ==============================
*/
.product__images-main {
    overflow: hidden;
    position: relative;
    border-radius: .4rem;
}

.product__wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(24, minmax(0px, 1fr));
    place-content: start;
    place-items: stretch;
    row-gap: 2rem;
    padding: 0 40px;
    position: relative;
}

.product__images-wrapper {
    grid-column: span 24 / auto;
}

.product__image-wrapper {
    width: 100%;
    display: inline-block;
    scroll-snap-align: start;

    overflow: hidden;
    position: relative;
    padding-bottom: 66.66%;
    border-radius: 0.4rem;
    box-sizing: border-box;

    background: none;
    opacity: 1;
}

.product__images {
    display: flex;
    align-items: center;
    transition: transform 500ms cubic-bezier(0.79, 0.33, 0.14, 0.53);
    gap: 40px;
}

.product__image__wrapper { 
    display: block;
    width: 100%; 
    min-width: 100%; 
    height: 100%;
    padding-bottom: 320px;
    border-radius: .4rem;
    position: relative;
}

.product__image {
    position: absolute;
    inset: 0px;
    box-sizing: border-box;
    padding: 0px;
    border: none;
    margin: auto;

    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

.product__image-slide {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: .4rem;
    object-fit: cover;
    transition: var(--transition-1);
}

.product__images__arrow {
    position: absolute;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    min-width: 4rem;
    height: 100%;
    top: 0px;
    transition: font-size 150ms linear 0s;
}

.product__images__arrow:hover {
    cursor: pointer;
    font-size: 150%;
    background-color: rgba(255, 255, 255, 0.5);
}

.product__images__arrow.product__images__arrow--right {
    right: 0;
}

.product__images-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background-color: rgb(255, 255, 255);
    user-select: none;
    gap: 1rem;
    margin-top: .5rem;
}

.slider__arrows {
    position: absolute;
    top: 45%;
}

.slider__arrows.slider__arrows--left { left: 0; }
.slider__arrows.slider__arrows--right { right: 32px; }
.arrow { 
    display: grid;
    place-items: center;
    cursor: pointer;
    display: none; 
}
/*
    ==============================
                                    APPS IMAGE SLIDER END     ==============================
*/

/*
    ==============================
        APPS PLANS CARD START
    ==============================
*/
.plans__component {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.plan__component {
    background-color: #fff;
    border: 1px solid #E1E6EF;
    box-shadow: 0 2px 4px rgb(0 0 0 / 8%);
    width: 100%;
    min-height: 330px;
    min-height: 344px;
    border-radius: 4px;
    position: relative;
}

/* selected icon hidden by default */
.plan--selected {
    --scope: 20px;
    --bg: #166EE8;
    background-color: var(--bg);
    position: absolute;
    right: 14px;
    top: 14px;
    width: var(--scope);
    height: var(--scope);
    border-radius: var(--scope);
    display: none;
}

.btn.btn--default,
.btn.btn--choose {
    display: grid;
    place-items: center;
    width: 100%;
    border-radius: 5px;
    padding: 10.5px;
    background-color: rgba(61, 138, 246, 1);
    color: #fff;
    cursor: pointer;
}

.btn.btn--active {
    display: grid;
    place-items: center;
    width: 100%;
    border-radius: 5px;
    padding: 10.5px;
    background-color: rgba(225, 230, 239, 1);
    color: rgba(29, 36, 51, 0.5);
    cursor: not-allowed;
}
/*
    ==============================
                                    APPS PLANS CARD END     ==============================
*/

/*
    ==============================
        APPS CHECKOUT START
    ==============================
*/
.step {
    min-width: 24px;
    width: 24px;
    min-height: 24px;
    position: relative;
}

.step,
.step__text {
    color: var(--txt-light-2-clr);
}

.step::before {
    content: '';
    position: absolute;
    top: calc(50% - 0.25px);
    left: calc(50% + 1px);
    transform: translate(-50%, -50%);
    min-width: 24px;
    width: 24px;
    min-height: 24px;
    border-radius: 100%;
    border: 1px solid var(--txt-light-2-clr);
} 

.breadcrumb-link.breadcrumb-link--current .step::before {
    border-color: var(--txt-light-clr);
}

.breadcrumb-link.breadcrumb-link--current .step,
.breadcrumb-link.breadcrumb-link--current .step__text {
    color: var(--txt-light-clr);
}

/* billing cycle */
.billing {
    width: 100%;
    max-width: 811px;
    margin-left: auto;
    margin-right: auto;
}

.cycle {
    position: relative;
    width: 100%;
    border: 1px solid rgba(225, 230, 239, 1);
    background-color: #fff;
    border-radius: 4px;
    padding: 26px 22px;
    margin-bottom: 8px;
    
    display: grid;
    grid-template-columns: 20px 72px 14px 128px 148px;
    gap: 20px;
    align-items: center;
}


.checkbox-trigger.checkbox-trigger--absolute {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 5;
}

.cycle .separator {
    position: relative;
}

.cycle .separator::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(29, 36, 51, 0.5);
}

.cycle .discount {
    padding: 4px 8px;
    color: rgba(53, 169, 92, 1);
    background-color: rgba(222, 253, 233, 1);
}

.btn.btn--continue {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(61, 138, 246, 1);
    border-radius: 5px;
    width: 200px;
    height: 40px;
}

.checkbox {
    all: unset;
    border-radius: 100%;
    border: 2px solid rgba(29, 36, 51, 0.75);
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.checkbox::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

/* summary */
.form-checkout.form-checkout--summary {
    max-width: calc(787px + 24px + 488px);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(488px, 0.25fr);
    gap: 24px;
}

.info__input-container:first-of-type {
    flex: 1;
}

.info__input-container.info__input-container--half {
    width: 50%;
}

.info__blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.info__block {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #E1E6EF;
    padding: 24px;
    margin-bottom: 16px;
}

.input-field__wrapper {
    position: relative;
    width: 100%;
    height: 32px;
    border: 1px solid rgba(191, 203, 217, 1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.input-field {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 6px 37px 6px 9px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-family: 'Erply Ladna';
    font-size: 14px;
    font-weight: 96;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
}

.input-icon {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
}

/* checkout success */
.checkout__success-card {
    padding: 48px;
    width: 100%;
    max-width: 480px;
    height: 512px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(225, 230, 239, 1);
    display: grid;
    place-items: center;
    align-items: center;
    text-align: center;
}

.checkout__success-icon {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background-color: rgba(53, 169, 92, 1);
    display: grid;
    place-items: center;
}

.checkout__success-app-img {
    width: 56px;
    min-width: 56px;
}
/*
    ==============================
                                    APPS CHECKOUT END     ==============================
*/


/*
    ==============================
            SPEA START
    ==============================
*/
.body__bg--white { background-color: var(--white-clr); }

/* 
    ======================= 
        Sales page
    =======================
*/
.sales__wrapper {
    display: flex;
    flex-direction: column;
    margin-top: var(--lg-scope);
    gap: 1rem;
}

.sales__link {
    position: relative;
    padding: var(--sm-scope) 10px;
    width: max-content;
    overflow: hidden;
}

.sales__link::before {
    content: '';
    height: 20px;
    width: 100%;
    position: absolute;
    top: 100%; /* default */
    left: 0;
    background-color: var(--drk-text-clr);
    transition: var(--transition);
}

.sales__link:hover::before {
    transform: rotate(-2deg);
    top: calc(100% - 5px);
}
/* 
    ======================= 
                                End Sales page  =======================
*/

/* 
    ======================= 
        Breadcrumbs 
    =======================
*/
.breadcrumb {
    background-color: var(--light-grey1-clr);
}

.breadcrumb__wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.breadcrumb__arrow-back {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--light-clr);
    height: var(--xl-scope);
    width: var(--xl-scope);
    border-radius: var(--sm-rounded);
}

.breadcrumb__text {
    font-size: 20px;
    letter-spacing: -1px;
    color: rgba(29, 36, 51, 0.5);
}

.breadcrumb__text--current-path {
    color: var(--txt-light-clr);
}
/* 
    ======================= 
                                Breadcrumbs End   ======================= */

/* 
    ======================= 
        SPEA Header Options
    =======================
*/
:root { --spea-header-options-height: 40px; }
.spea-header { background-color: var(--light-grey1-clr); }
.spea-header.spea-header--white { background-color: var(--white-clr); }
.spea-header.spea-header--border-bottom { border-bottom: 1px solid var(--dark-shadow-clr); }

.spea-header__wrapper {
    padding-top: 12px;
    padding-bottom: 12px;
}

.spea-header__wrapper.spea-header__wrapper--py-extend {
    padding-top: 16px;
    padding-bottom: 16px;
}

.spea-header__wrapper.spea-header__wrapper--border-top  { border-top: 1px solid var(--estimate-page-border-clr); }
.spea-header__wrapper.spea-header__wrapper--wrap { flex-wrap: wrap; }
.spea-header__wrapper.spea-header__wrapper--padding { padding: 2.4rem; }

.spea-header__wrapper,
.spea-header__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--xs2-scope);
}

.spea-header__title {
    font-size: 20px;
    font-weight: 96;
    line-height: 24px;
    letter-spacing: -1px;
    color: var(--txt-light-clr);
}

.spea-header__title.spea-header__title--dark-text { color: var(--txt-dark-clr); }
.spea-header__title.spea-header__title--md-fsize { font-size: 24px; }

.spea-header__sub {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: var(--txt-light-clr);
}

.spea-header__options.spea-header__options--join {
    border: 1px solid var(--light-grey1-clr);
    border-radius: var(--radius);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
    gap: 0;
}

.spea-header__options.spea-header__options--padding-right { padding-right: 2.4rem; }
.spea-header__options.spea-header__options--padding-x { padding: 0 2.4rem; }

@media (max-width: 76.7rem) {
    .spea-header__wrapper.spea-header__wrapper--padding { padding: 1.4rem; }
}

.spea-header__option-btn {
    align-items: center;
    background-color: var(--light-shadow-clr);
    cursor: pointer;
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    max-width: max-content;
    min-width: 40px;
    height: var(--spea-header-options-height);
    padding: 8px 12px;
    gap: 4px;
}

.spea-header__option-btn.spea-header__option-btn--save { background-color: var(--success); }
.spea-header__option-btn.spea-header__option-btn--filter { background-color: var(--white-clr); }

.spea-header__options-separator {
    display: block;
    width: 1px;
    height: var(--spea-header-options-height);
    background-color: var(--dark-shadow-clr);
}

.spea-header__option-text {
    margin-left: 0;
    display: flex;
    gap: var(--xs-scope);
    align-items: center;
}

.spea-header__option-text--clear { 
    color: var(--btn-clr); 
    white-space: nowrap;
}

.spea-header__option-text--save {
    color: var(--white-clr);
    padding: 10.5px 12px;
    font-size: 16px;
    font-weight: 96;
    line-height: 19px;
    letter-spacing: 0.02em;
    text-align: center;
}

.spea-header__option-text--cancel {
    padding: 10.5px 12px;
    font-size: 16px;
    font-weight: 96;
    line-height: 19px;
    letter-spacing: 0.02em;
    text-align: center;

}

.spea-header__option-count {
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #166EE8;
    color: var(--white-clr);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    font-weight: 400;
    font-size: 14px;
}

.spea-header__option-btn--new {
    background-color: var(--green-color);
    padding: 10px 16px 10px 8px;
    color: var(--white-clr);
    border: 1px solid var(--green-color);
}

@media (max-width: 1024px) {
    .spea-header__wrapper.spea-header__wrapper--py-extend {
        flex-direction: column;
        align-items: flex-start;
    }

    .spea-header__option-text--save,
    .spea-header__option-btn {
        font-size: 1.4rem;
        white-space: nowrap;
    }
}


@media (max-width: 767px) {
    /* .spea-header__options {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        width: 100%;
    } */

    .spea-header__option-btn,
    .spea-header__option-text--save {
        width: 100%!important;
        max-width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
/* 
    ======================= 
        SPEA EVENT SEARCH
    =======================
*/
.spea-event { display: none; }
.spea-event__form { padding-bottom: 25px; }
.spea-event__form.spea-event__form--padding-b-0 { padding-bottom: 0; }
.spea-event__form.spea-event__form--padding-top { padding-top: 24px; }
.spea-event__form.spea-event__form--padding { padding: 24px; }
.spea-event__form.spea-event__form--padding-x { padding: 0; padding-left: 24px; padding-right: 24px; }
.spea-event__form.spea-event__form--padding-y { padding-top: 18px; padding-bottom: 18px; }
.spea-event__form.spea-event__form--padding-bottom { padding-bottom: 24px; }
.spea-event__form.spea-event__form--padding-top { padding-top: 24px; }
.spea-event.spea-event--border-top,
.spea-event-add.spea-event-add--border-top { border-top: 1px solid var(--dark-shadow-clr); }
.spea-event.spea-event--border-bottom { border-bottom: 1px solid var(--dark-shadow-clr); }

.spea-event__fields {
    display: flex;
    width: 100%;
    gap: 24px;
}

.spea-event__field.spea-event__field--min-w-243 { min-width: 24.3rem; }
.spea-event__field.spea-event__field--min-w-217 { min-width: 21.7rem; }
.spea-event__fields.spea-event__fields--align-items-center { align-items: center; }
.spea-event__fields.spea-event__fields--gap-reset { gap: 0; }
.spea-event__fields.spea-event__fields--gap-custom { gap: 20px; }
.spea-event__fields.spea-event__fields--pos-left { justify-content: flex-end; }
.spea-event__fields.spea-event__fields--pos-between { justify-content: space-between; }
.spea-event__fields.spea-event__fields--gap{ gap: 12px; }

.spea-event__field {
    width: 100%;
    border-radius: 4px;
    /* margin-bottom: 16px; */
    min-width: 150px;
}

.spea-event__field.spea-event__field--h-full { height: 100%; }

.spea-event__field-wrapper {
    width: 100%;
    display: grid;
    margin-bottom: 8px;
}

.spea-event__field-wrapper.spea-event__field-wrapper--last { margin-bottom: 0px; }
.spea-event__field-wrapper.spea-event__field-wrapper--compact { width: auto; }
.spea-event__field-wrapper.spea-event__field-wrapper--max-w { max-width: 240px; }
.spea-event__field-wrapper.spea-event__field-wrapper--gap { gap: var(--xs-scope); }
.spea-event__field-wrapper.spea-event__field-wrapper--flex {
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .spea-event__field-wrapper.spea-event__field-wrapper--max-w {
        max-width: 150px;
    }
}

@media (max-width: 1023px) {
    .spea-event__field-wrapper.spea-event__field-wrapper--max-w {
        max-width: 100%;
    }

    .spea-event__field-label.spea-event__field-label--empty {
        all: unset;
        display: none;
    }
}

@media (max-width: 767px) {
    .spea-event__form {
        width: 100%;
    }

    .spea-event__form.spea-event__form--padding-x {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .spea-event__form.spea-event__form--padding {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }
}

.spea-event__title {
    color: var(--txt-dark-clr);

    font-family: var(--base-font);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -1px;

    margin-top: 24px;
    margin-bottom: 24px;
}

.spea-event__field-label {
    font-family: var(--base-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: left;
    color: rgba(29, 36, 51, 1);
    margin-bottom: 2px;
    display: inline-block;
}

.spea-event__field-input-wrapper,
.spea-event__field-select-wrapper,
.spea-event__field-textarea-wrapper {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 32px;
    border: 1px solid rgba(191, 203, 217, 1);
    border-radius: 4px;
}

.spea-event__field-input,
.spea-event__field-select,
.spea-event__field-textarea {
    --pl: 9px; /* padding left */
    --pr: 37px; /* padding right */
    --px: 6px; /* padding top and bottom */
    --bt: 1px; /* border thickness */

    all: unset;
    position: absolute;
    width: calc(100% - (var(--pl) + var(--pr) + (var(--bt) * 2)));
    height: calc(100% - ((var(--px) * 2) + (var(--bt) * 2)));
    padding: 6px var(--pr) 6px var(--pl);
    border: var(--bt) solid transparent;
    border-radius: 3px;
    font-family: var(--base-font);
    font-size: 14px;
    font-weight: 96;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
}

.spea-event__field-input-wrapper.spea-event__field-input-wrapper--w-200 { min-width: 20.2rem; width: 20.2rem; }
.spea-event__field-textarea-wrapper.spea-event__field-textarea-wrapper--h-max { height: calc(100% - 22px); }

.spea-event__field-select {
    color: var(--txt-dark-clr);
    padding-top: 4.5px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: auto;
    white-space: nowrap;
}

.spea-event__field-select-popover {
    position: absolute;
    left: 50%;
    top: calc(100% - 1.5px);
    transform: translateX(-50%);
    width: calc(100% + 2.25px);
    min-height: 100px;
    background-color: var(--white-clr);
    z-index: 100;
    border: 1px solid rgba(191, 203, 217, 1);
    border-top: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 12px 10px 9px;
    box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.08);
    display: none;
}

.spea-event__field-label.spea-event__field-popover--label {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: var(--xs-scope);
    gap: 8px;
}

.spea-event__field-label.spea-event__field-label--no-whitespace { white-space: nowrap; }
.spea-event__field-select-placeholder { color: rgba(29, 36, 51, 0.5); }

.spea-event__field-checklist {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: left;
    color: var(--txt-light-clr);
    padding: 3.5px 4px 3.5px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    background-color: var(--light-shadow-clr);
    width: max-content;
    display: none;
    position: relative;
    z-index: 60;
    white-space: nowrap;
}

.spea-event__field-checklist-icon {
    display: grid;
    place-items: center;
    cursor: pointer;
}


.spea-event__field-textarea-wrapper {
    height: 76px;
}

.spea-event__field-textarea {
    width: calc(100% - 16px);
    padding: 8px;
    line-break: anywhere;
}

.spea-event__field-label--checkbox {
    display: flex;
    gap: 10.5px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.spea-event__field-radio-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 6px;
}

.spea-event__field-label--radio {
    display: flex;
    align-items: center;
    gap: var(--xs2-scope);
}

.spea-event__field-checkbox--wrapper {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 1px solid rgba(191, 203, 217, 1);
    position: relative;
}

.spea-event__field-input.spea-event__field-input--date::-webkit-inner-spin-button,
.spea-event__field-input.spea-event__field-input--date::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.spea-event__field-icon {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
}

.spea-event__field-btn-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid var(--dark-shadow-clr);
    border-radius: 4px;
    border: 0;
    height: 40px;
}

.spea-event__field-btn {
    all: unset;
    border-radius: 4px;
    cursor: pointer;
    display: grid;
    display: grid;
    font-family: var(--base-font);
    font-size: 14px;
    font-weight: 115;
    letter-spacing: 0em;
    line-height: 20px;
    width: 140px;
    height: 100%;
    place-items: center;
    place-items: center;
    text-align: center;    
}

.spea-event__field-btn.spea-event__field-btn--clear {
    color: var(--txt-dark-clr);
    background-color: var(--light-shadow-clr);
}

.spea-event__field-btn.spea-event__field-btn--filter {
    background-color: var(--drk-blue-clr);
    color: var(--white-clr);
}

.spea-event__field-btn.spea-event__field-btn--add {
    background-color: var(--btn-clr);
    color: var(--white-clr);
}

.spea-event__fields-separator {
    display: grid;
    place-items: center;
    transform: translateY(5px);
    margin-left: var(--xs-scope);
    margin-right: var(--xs-scope);
}

@media (max-width: 1000px) {
    .spea-event__fields {
        flex-direction: column;
    }

    .spea-event__field {
        width: auto;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .spea-event__field-input-wrapper.spea-event__field-input-wrapper--w-200 {
        min-width: 100%;
        width: 100%;
    }
}
/* 
    ======================= 
                                SPEA Event Search End   =======================   */

/* 
    ======================= 
        SPEA LIST
    =======================
*/
.spea-list .g--container {
    padding-left: 0;
    padding-right: 0;
    overflow: auto;
}

.spea-list__wrapper {
    min-width: 1232px;
    width: 100%;
    overflow: auto;
}

.spea-list__table {
    border-radius: var(--sm-rounded);
    padding-bottom: var(--xs-scope); /* for the scrollbar */
}

.spea-list__table-header,
.spea-list__table-row {
    display: grid;
    grid-template-columns: 48px 150px repeat(2, minmax(0, 1fr)) 150px 150px 92px 90px;
    position: relative;
    width: 100%;
}

.spea-list__table-header-cell {
    background-color: var(--light-shadow-clr);
    color: var(--txt-dark-clr);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 13px 8px;
    position: relative;
}

.spea-list__table-row-cell {
    border-bottom: 1px solid var(--dark-shadow-clr);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding: 14px 8px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spea-list__table-row-cell--options {
    border-bottom: 1px solid var(--dark-shadow-clr);
    padding: 14px 8px;
}

.spea-list__table-row-cell-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 65%;
    width: 12px;
    height: 12px;
    background-color: var(--danger);
    transform: translate(-50%, -50%);
    border-radius: 100%;
}

.spea-list__table-row-cell-status--pending::before {
    background-color: var(--pending);
}

.spea-list__table-row-cell-status--success::before {
    background-color: var(--success);
}

.spea-list__table-row-cell--options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spea-list__table-row-cell--option {
    all: unset;
    display: grid;
    place-items: center;
}

.spea-list__table-row-cell--copy {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--dark-shadow-clr);
}

.spea-list__table-row-cell--last,
.spea-list__table-header-cell--last {
    padding-right: 24px;
    padding-left: 8px;
    width: 90px;
}

.spea-list__table-header-cell--sort {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;  
    cursor: pointer;
}
/* 
    ======================= 
                                SPEA List End   =======================   */

/* 
    ======================= 
        SPEA Tabs
    =======================
*/
.spea-tabs {
    border-bottom: 1px solid var(--dark-shadow-clr);
    margin-top: 3.5px;
}

.spea-tabs__wrapper {
    display: flex;
    align-items: center;
    gap: var(--md-scope);
    padding-top: var(--sm-scope);
    padding-bottom: var(--sm-scope);
}

.spea-tab {
    font-size: 16px;
    font-weight: 96;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: center;
    color: var(--txt-light-clr);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.spea-tab::before {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0%;
    height: 2px;
    transition: var(--transition);
}

.spea-tab:hover {
    color: var(--txt-dark-clr);
}

.spea-tab:hover::before {
    width: 100%;
    background-color: var(--underline);
}
/* 
    ======================= 
                                SPEA Tabs End   =======================   */

/* 
    ======================= 
        SPEA Price LIST
    =======================
*/
.spea-price-list .g--container {
    /* padding-left: 0;
    padding-right: 0; */
    overflow: auto;
}

.spea-price-list.spea-price-list--manage { display: block; }

.spea-price-list__options {
    display: flex;
    align-items: center;
    gap: var(--xs-scope);
    margin-top: var(--sm-scope);
    flex-wrap: wrap;
}

.spea-price-list__option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 10px 24px 10px 16px;
    background-color: var(--light-shadow-clr);
    gap: var(--xs2-scope);
    border-radius: 5px;
    cursor: pointer;
}

.spea-price-list__option-btn--text,
.spea-price-list__option-margin--text,
.spea-price-list__option-text {
    font-size: 16px;
    font-weight: 96;
    line-height: 19px;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--txt-dark-clr);
    white-space: nowrap;
}

.spea-price-list__option-text.spea-price-list__option-text--light { color: var(--txt-light-clr); }

.spea-price-list__option-margin {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 52px;
    gap: var(--xs-scope);
}

.spea-price-list__option-margin--input {
    width: 100px;
    height: 32px;
    padding: 6px 9px 6px 9px;
    border: 1px solid rgba(191, 203, 217, 1);
    border-radius: 4px;
    gap: 8px;

    font-size: 14px;
    font-weight: 96;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    color: var(--txt-dark-clr);
}

.spea-price-list__popover-add {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 16px);
    height: max-content;
    max-width: 800px;
    max-height: 745px;
    background-color: var(--white-clr);
    box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 100ms ease-out;
}

.spea-price-list__popover-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -1px;
    text-align: left;
    color: var(--txt-dark-clr);
    padding: 20px 24px;
}

.spea-price-list__popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 24px;
    border-top: 1px solid var(--dark-shadow-clr);
    border-bottom: 1px solid var(--dark-shadow-clr);
}

.spea-price-list__popover-paginate {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.spea-price-list__popover-paginate-text {
    font-size: 12px;
    font-weight: 96;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: right;
    color: var(--txt-light-clr);
}

.spea-price-list__popover-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.spea-price-list__popover-arrow {
    padding: 12px 8px;
    min-width: 32px;
    max-width: max-content;
    max-height: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    cursor: pointer;
}

.spea-price-list__popover-search {
    border: 1px solid rgba(191, 203, 217, 1);
    height: 42px;
    width: 100%;
    max-width: 240px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    position: relative;
}

.spea-price-list__popover-search-icon {
    margin-left: 10px;
    margin-right: 8px;
}

.spea-price-list__popover-search-input {
    all: unset;
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 48px);
}

.spea-price-list__popover-search-input::placeholder,
.spea-price-list__popover-search-input::-webkit-input-placeholder,
.spea-price-list__popover-search-input::-moz-placeholder,
.spea-price-list__popover-search-input:-ms-input-placeholder,
.spea-price-list__popover-search-input:-moz-placeholder {
    color: var(--txt-light-clr)!important;
}

/* popup table */
.spea-price-list__popover-table {
    border-radius: var(--sm-rounded);
    padding-bottom: var(--xs-scope); /* for the scrollbar */
    overflow: auto;
}

.spea-price-list__popover-table-header,
.spea-price-list__popover-table-row {
    display: grid;
    grid-template-columns: 64px 100px minmax(336px, 1fr) repeat(2, 150px);
    position: relative;
    width: 100%;
}

.spea-price-list__popover-table-header-cell {
    align-items: center;
    background-color: var(--light-shadow-clr);
    color: var(--txt-dark-clr);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 13px 8px;
    position: relative;
}

.spea-price-list__popover-table-row-cell {
    align-items: center;
    border-bottom: 1px solid var(--dark-shadow-clr);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding: 14px 8px;
    position: relative;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

.spea-price-list__popover-table-header-cell.spea-price-list__popover-table-header-cell--rtl,
.spea-price-list__popover-table-row-cell.spea-price-list__popover-table-row-cell--rtl {
    text-align: right;
    justify-content: flex-end;
}

.spea-price-list__popover-table-header-cell.spea-price-list__popover-table-header-cell--center,
.spea-price-list__popover-table-row-cell.spea-price-list__popover-table-row-cell--center {
    text-align: center;
    justify-content: center;
}

.spea-price-list__popover-table-header-cell.spea-price-list__popover-table-header-cell--first,
.spea-price-list__popover-table-row-cell.spea-price-list__popover-table-row-cell--first {
    padding-left: 27px;
}

.spea-price-list__popover-table-header-cell.spea-price-list__popover-table-header-cell--last,
.spea-price-list__popover-table-row-cell.spea-price-list__popover-table-row-cell--last {
    padding-right: 24px;
    justify-content: flex-end;
}

.spea-price-list__popover-table-row-cell--options {
    border-bottom: 1px solid var(--dark-shadow-clr);
    padding: 14px 8px;
}

.spea-price-list__popover-table-row-cell-status--success {
    background-color: var(--success-3);
}

.spea-price-list__popover-table-row-cell-status--pending {
    background-color: var(--danger-2);
}

.spea-price-list__popover-table-row-cell--options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spea-price-list__popover-table-row-cell--option {
    all: unset;
    display: grid;
    place-items: center;
}

.spea-price-list__popover-table-row-cell--copy {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--dark-shadow-clr);
}

.spea-price-list__popover-table-header-cell--sort {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;  
    cursor: pointer;
}
/* 
    ======= end table ========*/
.spea-price-list__popover--form {
    padding-bottom: 0;
}

.spea-price-list__popover--btns {
    padding: 24px;
}

.spea-price-list__table {
    border-radius: var(--sm-rounded);
    padding-bottom: var(--xs-scope); /* for the scrollbar */
    margin-top: var(--sm-scope);
    min-width: 1232px;
    overflow: auto;
}

.spea-price-list__table-header,
.spea-price-list__table-row {
    display: grid;
    grid-template-columns: 100px minmax(300px, 1fr) repeat(3, minmax(160px, 0.5fr)) repeat(2, minmax(210px, 0.75fr)) 100px 52px;
    position: relative;
    width: 100%;
}

.spea-price-list__table-header-cell {
    background-color: var(--light-shadow-clr);
    color: var(--txt-dark-clr);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 13px 8px;
    position: relative;
}

.spea-price-list__table-row-cell {
    border-bottom: 1px solid var(--dark-shadow-clr);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding: 14px 8px;
    position: relative;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

.spea-price-list__table-header-cell.spea-price-list__table-header-cell--rtl,
.spea-price-list__table-row-cell.spea-price-list__table-row-cell--rtl {
    text-align: right;
    justify-content: flex-end;
}

.spea-price-list__table-header-cell.spea-price-list__table-header-cell--center,
.spea-price-list__table-row-cell.spea-price-list__table-row-cell--center {
    text-align: center;
    justify-content: center;
}

.spea-price-list__table-header-cell.spea-price-list__table-header-cell--first,
.spea-price-list__table-row-cell.spea-price-list__table-row-cell--first {
    padding-left: 16px;
}

.spea-price-list__table-header-cell.spea-price-list__table-header-cell--last,
.spea-price-list__table-row-cell.spea-price-list__table-row-cell--last {
    padding-right: 14px;
    justify-content: flex-end;
}

.spea-price-list__table-row-cell--options {
    border-bottom: 1px solid var(--dark-shadow-clr);
    padding: 14px 8px;
}

.spea-price-list__table-row-cell-status--success {
    background-color: var(--success-3);
}

.spea-price-list__table-row-cell-status--pending {
    background-color: var(--danger-2);
}

.spea-price-list__table-row-cell--options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spea-price-list__table-row-cell--option {
    all: unset;
    display: grid;
    place-items: center;
}

.spea-price-list__table-row-cell--copy {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--dark-shadow-clr);
}

.spea-price-list__table-header-cell--sort {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;  
    cursor: pointer;
}
/* 
    ======================= 
                                SPEA Price List End   =======================   */

/* 
    ======================= 
        SPEA Promotions
    =======================
*/
.spea-promotions .g-container {
    /* padding-left: 0;
    padding-right: 0; */
    overflow: auto;
}

.spea-promotions.spea-promotions--manage {
    display: block;
}

.spea-promotions__wrapper {
    /* min-width: 1232px; */
    width: 100%;
}

.spea-promotions__options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--xs-scope);
    margin-top: var(--sm-scope);
}

.spea-promotions__option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 10px 24px 10px 16px;
    background-color: var(--light-shadow-clr);
    gap: var(--xs2-scope);
    border-radius: 5px;
    cursor: pointer;
}

.spea-promotions__option-btn--text,
.spea-promotions__option-margin--text,
.spea-promotions__option-text {
    font-size: 16px;
    font-weight: 96;
    line-height: 19px;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--txt-dark-clr);
    white-space: nowrap;
}

.spea-promotions__option-text.spea-promotions__option-text--light { color: var(--txt-light-clr); }

.spea-promotions__option-margin {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 52px;
    gap: var(--xs-scope);
}

.spea-promotions__option-margin--input {
    width: 100px;
    height: 32px;
    padding: 6px 9px 6px 9px;
    border: 1px solid rgba(191, 203, 217, 1);
    border-radius: 4px;
    gap: 8px;

    font-size: 14px;
    font-weight: 96;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    color: var(--txt-dark-clr);
}

.spea-promotions__popover-add {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 16px);
    height: max-content;
    max-width: 600px;
    /* max-height: 745px; */
    background-color: var(--white-clr);
    box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 100ms ease-out;
}

.spea-promotions__popover-body__form { display: none; }

.spea-promotions__popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--dark-shadow-clr);
    gap: 8px;
}

.spea-promotions__popover-header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spea-promotions__popover-field-wrapper.spea-promotions__popover-field-wrapper--flex { display: flex; }
.spea-promotions__popover-field-wrapper.spea-promotions__popover-field-wrapper--center { align-items: center; }
.spea-promotions__popover-field-wrapper.spea-promotions__popover-field-wrapper--gap { gap: var(--xs-scope); }
.spea-promotions__popover-header-wrapper.spea-promotions__popover-header-wrapper--max-w { max-width: 200px; }
.spea-promotions__popover-header-wrapper.spea-promotions__popover-header-wrapper--stretch { flex: 1; }

.spea-promotions__popover-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -1px;
    text-align: left;
    color: var(--txt-dark-clr);
}

.spea-promotions__popover-header-text {
    font-size: 14px;
    font-weight: 96;
    line-height: 16px;
    letter-spacing: 0px;
    color: rgba(29, 36, 51, 0.8);
}

.spea-promotions__popover-header-text--step {
    display: none;
}

.spea-promotions__popover-progress-bar {
    display: block;
    width: 100%;
    background-color: rgba(221, 232, 249, 1);
    height: 4px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.spea-promotions__popover-progress-bar__state {
    width: 0%; /* default */
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 100, 255, 1);
    height: 4px;
    border-radius: 6px;
    transition: var(--transition-drawer); /* just using the drawer variable for transition */
}

.spea-promotions__table {
    border-radius: var(--sm-rounded);
    padding-bottom: var(--xs-scope); /* for the scrollbar */
    margin-top: var(--sm-scope);
    min-width: 1232px;
    overflow: auto;
}

.spea-promotions__popover-body {
    padding: 24px;
    padding-bottom: 0;
}

.spea-promotions__popover-body-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -1px;
    text-align: left;
    color: var(--txt-dark-clr);
    margin-bottom: var(--sm-scope);
}

.spea-promotions__popover-field-input-wrapper,
.spea-promotions__popover-field-select-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid var(--dark-shadow-clr);
    background-color: #fff;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.spea-promotions__popover-field-input-wrapper.spea-promotions__popover-field-input-wrapper--remodel,
.spea-promotions__popover-field-select-wrapper.spea-promotions__popover-field-select-wrapper--remodel {
    height: 32px;
    width: max-content;
    min-width: 100px;
    padding: 0;
}

.spea-promotions__popover-field-select-wrapper.spea-promotions__popover-field-select-wrapper--max-w-xs {
    width: 100%;
    max-width: 200px;
}

.spea-promotions__popover-field-select-wrapper.spea-promotions__popover-field-select-wrapper--max-w-sm {
    width: 100%;
    max-width: 240px;
}

.spea-promotions__popover-field-wrapper.spea-promotions__popover-field-wrapper--remodel-1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.spea-promotions__popover-field-wrapper.spea-promotions__popover-field-wrapper--separate {
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--dark-shadow-clr);
}

.spea-promotions__popover-field-input-wrapper.spea-promotions__popover-field-input-wrapper--last,
.spea-promotions__popover-field-select-wrapper.spea-promotions__popover-field-select-wrapper--last { margin-bottom: 0; }

.spea-promotions__popover-field-label {
    color: rgba(29, 36, 51, 1);
    font-size: 14px;
    font-weight: 96;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    /* white-space: nowrap; */
}

.spea-promotions__popover-field-label.spea-promotions__popover-field-label--small { font-size: 12px; }

.spea-promotions__popover-field-icon__wrapper {
    all: unset;
    border-radius: 100%;
    border: 1.25px solid rgba(173, 187, 202, 1);
    min-width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.spea-promotions__popover-field-icon {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.spea-event__popover-field-btn.spea-event__popover-field-btn--add {
    height: 32px;
    width: 59px;
}

.spea-promotions__popover-field-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* table */
.spea-promotions__table-header,
.spea-promotions__table-row {
    display: grid;
    grid-template-columns: 200px repeat(2, minmax(386.5px, 1fr)) 200px 160px 150px 80px;
    position: relative;
    width: 100%;
}

.spea-promotions__table-header-cell {
    background-color: var(--light-shadow-clr);
    color: var(--txt-dark-clr);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 13px 8px;
    position: relative;
}

.spea-promotions__table-row-cell {
    border-bottom: 1px solid var(--dark-shadow-clr);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding: 14px 8px;
    position: relative;
    /* text-overflow: ellipsis;
    white-space: nowrap; */
}

.spea-promotions__table-header-cell.spea-promotions__table-header-cell--rtl,
.spea-price-list__table-row-cell.spea-promotions__table-row-cell--rtl {
    text-align: right;
    justify-content: flex-end;
}

.spea-promotions__table-header-cell.spea-promotions__table-header-cell--center,
.spea-promotions__table-row-cell.spea-promotions__table-row-cell--center {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.spea-promotions__table-header-cell.spea-promotions__table-header-cell--first,
.spea-promotions__table-row-cell.spea-promotions__table-row-cell--first {
    padding-left: 16px;
}

.spea-promotions__table-header-cell.spea-promotions__table-header-cell--last,
.spea-promotions__table-row-cell.spea-promotions__table-row-cell--last {
    padding-right: 16px;
}

.spea-promotions__table-row-cell-status--success {
    background-color: var(--success-3);
}

.spea-price-list__table-row-cell-status--pending {
    background-color: var(--danger-2);
}

.spea-promotions__table-row-cell--options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: end;
    align-items: center;
    border-bottom: 1px solid var(--dark-shadow-clr);
    padding: 14px 8px;
}

.spea-promotions__table-row-cell--option {
    all: unset;
    display: grid;
    place-items: end;
    gap: 8px;
}

.spea-promotions__table-row-cell--copy {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--dark-shadow-clr);
}

.spea-promotions__table-header-cell--sort {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;  
    cursor: pointer;
}
/* 
    ======================= 
                                SPEA Promotions End   =======================   */


/* 
    ======================= 
        SPEA Paginate
    =======================
*/
.paginate {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    /* padding: 8px 20px; */
}

.paginate__results p,
.paginate__page p {
    margin-right: 8px;
    font-size: 12px;
    color: var(--text1-color)
}

.paginate.paginate--border-top {
    border-top: 1px solid var(--dark-shadow-clr);
}

.paginate--fixed-bottom {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    border-top: 1px solid var(--dark-shadow-clr);
}

.paginate__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.paginate__results p,
.paginate__page p {
    margin-right: 8px;
    font-size: 12px;
    color: var(--txt-light-clr)
}

.option--dropdown {
    appearance: none;
    width: 63px;
    border: 1px solid #ADBBCA;
    border-radius: var(--radius);
    padding: 6px 9px;
    display: flex;
    justify-content: center;
    gap: 8px;
    position: relative;
    background: url('../icons/caret-solid.svg') no-repeat right white;
    background-position: 33px;
}

.option--dropdown option {
    font-size: 14px;
}

.paginate__num .option__btn {
    min-width: 32px;
    max-height: 32px;
    margin: 0;
    padding: 8px;
}

.paginate__num span {
    text-align: center;
    margin-inline: 12px;
    font-size: 12px;
    font-weight: 96;
    line-height: 16px;
    letter-spacing: 0px;
}
/* 
    ======================= 
                                SPEA Paginate End   =======================   */

@media (max-width: 1000px) {
    .spea-event__fields.spea-event__fields--mob-layout {
        display: grid;
        grid-template-columns: 1fr .15fr 1fr;
    }

    .spea-event__fields.spea-event__fields--gap-custom { gap: 0; }

    .spea-event__field-btn {
        width: 100%;
    }
    
    .spea-event__field-wrapper.spea-event__field-wrapper--compact {
        width: 100%;
    }

    .spea-event__fields.spea-event__fields--pos-between {
        flex-direction: row;
    }
}
/*
    ==============================
            SPEA END     
    ==============================
*/

/*
    ==============================
            DRAG DROP
    ==============================
*/
.editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    min-height: calc(100vh - 52px);
}

.drop-zone  {
    grid-column: 1 / -10;
    min-height: inherit;
}

.drag-components {
    grid-column: -10 / -1;
    height: inherit;
    padding: 16px;
    background-color: #463A3C;
    color: white;
}

.el {
    border: 1px solid rgba(0,0,0,.2);
    box-shadow: 0 1px 0 0 rgba(0,0,0,.15);
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
    transition-property: box-shadow, border, cursor;
    
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.el:hover {
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.15);
}

.el:active {
    border: 1px dashed lightcyan;
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

[data-component-type="delete"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.data-hovering { 
    position: relative; 
}
.data-hovering::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 2px);
    max-width: -webkit-fill-available;
    height: calc(100% - 2px);
    border: 1px solid #463A3C;
}

.data-hovering::after {
    content: attr(data-component-type);
    position: absolute;
    right: 0;
    top: 0;
    background-color: #463A3C;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: white;
    padding: 0.15rem 0.5rem;
    border-bottom-left-radius: 4px;
}

.hide-input-date-icon::-webkit-inner-spin-button,
.hide-input-date-icon::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}