/* POPUP */
#BLOY-popup-widget__container {
    position: fixed;
    width: 0px;
    height: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99999;
}

#BLOY-popup-widget__container[data-open='true'] .BLOY-popup {
    opacity: 1;
    transform: none;
    transition: opacity 364ms cubic-bezier(0.4, 0, 0.2, 1), transform 242ms cubic-bezier(0.4, 0, 0.2, 1);
}

#BLOY-popup-widget__container[data-open='false'] .BLOY-popup {
    opacity: 0;
    transform: scale(0.75, 0.5625);
    transition: opacity 364ms cubic-bezier(0.4, 0, 0.2, 1), transform 242ms cubic-bezier(0.4, 0, 0.2, 1) 121ms;
    visibility: hidden;
}

@media (max-width: 450px) {
    #BLOY-popup-widget__container[data-open='true'] .BLOY-popup {
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 100dvh !important;
        max-height: unset !important;
        max-width: unset !important;
        transform: scale(1);
        z-index: 9999999999;
    }
}

.BLOY-skeleton {
    display: block !important;
    width: 100%;
    background: linear-gradient(90deg, #eeeeeebb 25%, #dededebb 50%, #eeeeeebb 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite ease-in-out;
    margin-top: 14px;
}

.BLOY-skeleton--line {
    height: 15px;
}

div .BLOY-skeleton--line:last-child {
    margin-bottom: 6px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.BLOY-popup__noti {
    padding: 100px 0;
    text-align: center;
}

.BLOY-popup__noti > * {
    margin-bottom: 16px;
}

.BLOY-popup__noti-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__noti-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__section {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 14px 16px;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-popup__section + .BLOY-popup__section {
    margin-top: 20px;
}

.BLOY-popup {
    position: fixed;
    background-color: #fff;
    width: 350px;
    height: calc(100% - 120px);
    max-height: 660px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5), 0 1px 15px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    scrollbar-width: none; /* for Firefox */
    -ms-overflow-style: none; /* for IE and Edge */
    right: 20px;
    bottom: 80px;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-popup__watermark {
    background-color: #ffffff;
    padding: 13px;
    margin-top: auto;
}

.BLOY-popup__watermark-container {
    font-size: 14px;
    display: flex;
    background-color: #e8ecff;
    border-radius: 20px;
    padding: 5px 10px;
    text-align: center;
    margin-top: auto;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.BLOY-popup svg {
    fill: none;
    stroke: unset;
}
.BLOY-popup.BLOY-popup__bg--solid {
    background-color: var(--bloy-popup-background-color);
}

.BLOY-popup.BLOY-popup__bg--img {
    background-image: var(--bloy-popup-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.BLOY-popup__header--img-overlay {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 40%;
    background-color: var(--bloy-primary-color);
}
.BLOY-popup ::-webkit-scrollbar {
    display: none; /* for Chrome, Safari and Opera */
}

.BLOY-popup__header {
    background-color: #241a28;
    position: relative;
    height: 170px;
}

.BLOY-popup__header.BLOY-popup__header--solid {
    background-color: var(--bloy-popup-header-color);
}

.BLOY-popup__header.BLOY-popup__header--img {
    background-image: var(--bloy-header-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.BLOY-popup.BLOY-popup--fixed .BLOY-popup__header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.BLOY-popup__header--title {
    position: absolute;
    color: #ffffff;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 16px;
    line-height: 1.5;
    opacity: 1;
}

.BLOY-popup__header--title-first {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.BLOY-popup__header--title-second {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.BLOY-popup__header--title.BLOY-popup__header--title-fixed {
    opacity: 0;
}

.BLOY-popup__action {
    position: absolute;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    z-index: 2;
}

.BLOY-popup__action button {
    padding: 0 6px;
}

.BLOY-popup__action--close {
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.BLOY-popup__action--back {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.BLOY-popup__action--back svg,
.BLOY-popup__action--back img {
    width: 20px;
    height: 20px;
}

.BLOY-popup__action--back span {
    margin-left: 2px;
}

.BLOY-popup__wraper {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 660px;
}

.BLOY-popup__container {
    overflow-y: scroll;
    height: 100%;
}

.BLOY-popup__main {
    transform: translateY(-30px);
}

.BLOY-popup.BLOY-popup--fixed .BLOY-popup__main {
    transform: translateY(140px);
}

.BLOY-popup__main-container {
    padding: 0 12px;
}

/* WIDGET */
.BLOY-widget {
    position: fixed;
    height: 50px;
    width: 150px;
    width: fit-content;
    background-color: var(--bloy-primary-color);
    display: flex;
    align-items: center;
    color: #ffffff !important;
    cursor: pointer;
    right: 20px;
    bottom: 20px;
    transition: all 0.2s;
    padding: 0 16px;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-widget,
.BLOY-widget * {
    box-sizing: content-box;
}

#BLOY-popup-widget__container[data-open='true'] .BLOY-widget {
    width: 22px !important;
}

#BLOY-popup-widget__container[data-open='true'] .BLOY-widget__title {
    display: none;
}

.BLOY-widget__icon {
    line-height: 0;
    display: var(--bloy-widget-icon-display);
}

.BLOY-widget__icon svg,
.BLOY-widget__icon img {
    width: 20px;
    height: 20px;
    fill: #ffffff !important;
}

.BLOY-widget__title {
    margin-left: 8px;
    font-size: 14px;
    overflow: hidden;
    display: block;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    display: var(--bloy-widget-text-display);
}

.BLOY-popup__point-program {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
}

.BLOY-popup__next-action + .BLOY-popup__point-program {
    margin-bottom: -14px;
    padding: 24px 0;
}

.BLOY-popup__point-item {
    display: flex;
    align-items: center;
}

.BLOY-popup__point-item svg,
.BLOY-popup__point-item img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.BLOY-popup__point-item svg path {
    fill: #4a4a4a;
}

.BLOY-popup__point-item + svg,
.BLOY-popup__point-item + img {
    width: 25px;
    height: 25px;
}

.BLOY-popup__point-item span {
    font-size: 14px;
    font-weight: 400;
    color: var(--bloy-text-color);
}

.BLOY-popup__next-action {
    border-bottom: 1px solid #f0f0f0;
}

.BLOY-popup__next-action .BLOY-popup__item-detail {
    max-width: unset;
}

.BLOY-popup__next-action-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bloy-text-color);
}

.BLOY-popup__login {
    text-align: center;
}

.BLOY-popup__login-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.BLOY-popup__login-body {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin: 6px 0 10px;
    color: var(--bloy-text-color);
}

.BLOY-popup__login-join {
    color: #ffffff;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    background-color: var(--bloy-primary-color);
    border-radius: var(--bloy-popup-btn-border-radius, 0);
    font-family: var(--font-body-family);
}

.BLOY-popup__login-signIn {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 6px;
}

.BLOY-popup__login-signIn-link {
    text-decoration: none;
}
.BLOY-popup__list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__list-item {
    padding: 14px 0px;
}

.BLOY-popup__list-item + .BLOY-popup__list-item {
    border-top: 1px solid #f0f0f0;
}

.BLOY-popup__item-discount .BLOY-popup__text--primary {
    margin-bottom: 4px;
}

.BLOY-popup__item-discount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.BLOY-popup__item-discountBadge {
    background-color: #e4e5e7;
    padding: 2px 8px;
    border-radius: 28px;
    font-size: 12px;
}

.BLOY-popup__item-content {
    display: flex;
    align-items: center;
}

.BLOY-popup__item-content--disabled {
    opacity: 0.6;
}

.BLOY-popup__item-contentSpacing {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.BLOY-popup__item-contentIcon {
    line-height: 0;
    margin-right: 12px;
}

.BLOY-popup__item-contentIcon svg,
.BLOY-popup__item-contentIcon img {
    width: 25px;
    height: 25px;
}

.BLOY-popup__item-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.BLOY-popup__item-activity .BLOY-popup__text--primary {
    margin-bottom: 6px;
}

.BLOY-popup__text--primary {
    font-size: 14px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__text--subdued {
    font-size: 14px;
    color: #616161;
}

.BLOY-popup__activity__date {
    text-align: right;
    flex-shrink: 0;
}

.BLOY-popup__discountAction {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.BLOY-popup__emptyState {
    padding: 100px 0;
    text-align: center;
}

.BLOY-popup__emptyState > * {
    margin-bottom: 16px;
}

.BLOY-popup__emptyState-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__emptyState-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__emptyState-icon svg,
.BLOY-popup__emptyState-icon img {
    margin: 0 auto;
    width: 36px;
    height: 36px;
}

.BLOY-popup__birthday > * {
    margin-bottom: 14px;
}

.BLOY-popup__birthday-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__paginate-load {
    text-align: center;
}

.BLOY-popup__paginate-load svg {
    animation: bloyBtnLoading 0.6s infinite linear;
}
