/* [0722324TIN] Move page row setting to plugin */
/* [070124TIN] Add general css */
.page-row {
    width: 100%;
    max-width: 1480px;
    box-sizing: border-box;
    padding: 0 20px;
    margin: 0 auto;
}

/* [061824TIN] update new max width */
.page-row--1200 {
    /* Add padding offset + 40px to max-width */
    max-width: 1240px;
}

/* [061824TIN] update new max width */
.page-row--1024 {
    /* Add padding offset + 40px to max-width */
    max-width: 1064px;
}

/* [070124TIN] Add general css - end*/

#left-area .entry-content ul.membership-orders {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.membership-orders .order-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 16px;
    border-bottom: 1px solid #fe9f3a;
}

.membership-orders .order-item>div:first-child {
    font-size: 24px;
    font-weight: 600;
}

/* // move paginator css to global */
.paginator {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .paginator>button,
.paginator>button {
    height: 40px;
    width: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
    color: #7D7D7D;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .paginator>button.selected,
.paginator>button.selected {
    color: #3D3D3D;
}

.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .paginator>button:hover,
.paginator>button:hover {
    background-color: #ECD9D2;
}

.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .paginator>button:disabled,
.paginator>button:disabled {
    cursor: not-allowed;
    background-color: transparent;
}

.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .paginator>button.paginator__dotted,
.paginator>button.paginator__dotted {
    background-color: transparent;
    cursor: default;
}

/* [071724TIN] Update style for custom event calendar */
/* .calendar-event-custom {
    background-color: #FFF1EC;
} */

.calendar-event-custom__divider {
    margin: 0;
    height: 1px;
    background-color: #AAA;
}

.calendar-event-custom__navigation {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
    padding: 13px 9px 9px;
    border: 1px solid #9C6E5E;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background-color: #FFF1EC;
}

.calendar-event-custom__navigation-title {
    color: #3D3D3D;
    text-align: center;
    font-family: "Segoe UI";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.calendar-event-custom__navigation-button {
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    width: 24px;
    border: none;
    background-color: transparent;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-month .toastui-calendar-month-daygrid {
    border: 1px solid #9C6E5E;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-day-names.toastui-calendar-month {
    border: 1px solid #9C6E5E;
    border-top: none;
    border-bottom: none;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-day-names.toastui-calendar-month {
    height: 38px;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-template-monthDayName {
    color: #3D3D3D;
    text-align: center;
    font-family: "Segoe UI";
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-transform: uppercase;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-day-name-item.toastui-calendar-month {
    height: 38px;
    box-sizing: border-box;
    padding: 0;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-grid-cell-date .toastui-calendar-weekday-grid-date.toastui-calendar-weekday-grid-date-decorator {
    background-color: transparent;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-grid-cell-date {
    text-align: left;
    box-sizing: border-box;
    padding: 0;
    padding-left: 10px;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-daygrid-cell .toastui-calendar-weekday-grid-date.toastui-calendar-template-monthGridHeader,
.calendar-event-custom .desktop-calendar-container .toastui-calendar-daygrid-cell .toastui-calendar-template-monthGridHeader {
    color: #878787;
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-weekday-event {
    background-color: #ECD9D2;
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 0 3px !important;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content {
    color: #3D3D3D;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    box-sizing: border-box;
    line-height: 140%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4px;
    row-gap: 2px;
    line-height: 0.9;
    align-items: center;
    justify-content: start;
    text-decoration: none;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content__title {
    grid-column: 1/3;
    grid-row: 1;
    font-size: 8px;
    font-weight: 600;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content__time {
    grid-row: 2;
    grid-column: 1;
    font-size: 7px;
    text-transform: lowercase;
    font-weight: 400;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content__status {
    grid-row: 2;
    grid-column: 2;
    font-size: 6px;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 1px 5px;
    text-transform: capitalize;
    width: fit-content;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content__status--present {
    color: #0CBC8B;
    background: #DDFFF3;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-template-time .event-content__status--absent {
    color: #F12222;
    background-color: #FFDDDD;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-weekday-event-block .toastui-calendar-weekday-event-dot {
    display: none;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-daygrid-cell {
    background-color: white !important;
}

.calendar-event-custom .desktop-calendar-container .toastui-calendar-detail-container .toastui-calendar-section-detail .toastui-calendar-detail-item:has(.toastui-calendar-template-popupDetailState, .toastui-calendar-template-popupDetailAttendees) {
    display: none;
}

.calendar-event-custom .desktop-calendar-container .calendar-custom-popup-cta {
    display: inline-block;
    box-sizing: border-box;
    display: flex;
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #9C6E5E;
    color: #9C6E5E;
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-decoration: none;
    width: fit-content;
    font-size: 12px;
}

.mobile-calendar {
    border-radius: 8px;
    border: 1px solid #9C6E5E;
    background: white;
    padding: 0 13px;
    box-sizing: border-box;
}

.mobile-calendar__header {
    box-sizing: border-box;
    padding: 16px 23px 12px;
    border-bottom: 1px solid #FAF9F9;
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.mobile-calendar .day-of-week {
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    box-sizing: border-box;
    padding: 7px 10px 12px;
    justify-content: center;
    align-items: center;
}

.mobile-calendar .day-of-week__day {
    color: #878787;
    font-family: "Segoe UI";
    font-size: 11px;
    font-weight: 600;
    line-height: 140%;
}

.mobile-calendar .day-of-week__date {
    color: #3D3D3D;
    font-family: "Segoe UI";
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
}

.mobile-calendar .day-of-week--active {
    background: #9C6E5E;
}

.mobile-calendar .day-of-week--active .day-of-week__date,
.mobile-calendar .day-of-week--active .day-of-week__day {
    color: white;
}

.mobile-calendar .day-of-week:active {
    opacity: 0.7;
}

.mobile-calendar__event-table {
    border-spacing: 0;
    border-collapse: 0;
    width: 100%;
}

.mobile-calendar__event-table th,
.entry-content .mobile-calendar__event-table thead th {
    box-sizing: border-box;
    padding: 16px 17px 21px !important;
    color: #878787 !important;
    font-family: "Segoe UI";
    font-size: 14px;
    font-weight: 600 !important;
}

@media (max-width: 479px) {

    .mobile-calendar__event-table th,
    .entry-content .mobile-calendar__event-table thead th {
        padding: 16px 17px 21px !important;
    }
}

@media (min-width: 480px) and (max-width: 785px) {

    .mobile-calendar__event-table th,
    .entry-content .mobile-calendar__event-table thead th {
        padding: 16px 17px 21px !important;
    }
}

.mobile-calendar__event-table td {
    box-sizing: border-box;
    padding: 0 16px 12px !important;
    text-align: right;
    border-top: none !important;
}

.mobile-calendar__event-table td:first-child {
    border-right: 2px solid #FAF9F9;
}

.mobile-calendar__event-table tr:last-child td {
    padding-bottom: 0;
}

.mobile-calendar__event-table-footer {
    height: 49px;
}

.mobile-calendar__event-table-footer td {
    border-right: 2px solid #FAF9F9;
}

.mobile-calendar__time-start {
    color: #3D3D3D;
    font-family: "Segoe UI";
    font-size: 15px;
    font-weight: 600;
}

.mobile-calendar__time-end {
    color: #AAA;
    font-family: "Segoe UI";
    font-size: 12px;
    font-weight: 600;
}

.mobile-calendar .mobile-calendar-event {
    border-radius: 3px;
    background: #F7E9E4;
    display: flex;
    gap: 25px;
    box-sizing: border-box;
    padding: 9px 7px 9px 9px;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
}

.mobile-calendar .mobile-calendar-event__name {
    flex: 1;
    color: #3D3D3D;
    font-family: "Segoe UI";
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    height: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-calendar .mobile-calendar-event__status {
    box-sizing: border-box;
    padding: 5px 6px;
    font-family: "Segoe UI";
    font-size: 11px;
    font-weight: 600;
    line-height: 140%;
    border-radius: 2px;
}

.mobile-calendar .mobile-calendar-event__status--green {
    color: #0CBC8B;
    background-color: #DDFFF3;
}

.mobile-calendar .mobile-calendar-event__status--red {
    color: #F12222;
    background-color: #FFDDDD;
}

.mobile-calendar-today {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    box-sizing: border-box;
    padding: 0 8px 0 20px;
}

.mobile-calendar-today__date {
    flex: 1;
    display: flex;
    gap: 14px;
    align-items: center;
}

.mobile-calendar-today__date-number {
    color: #3D3D3D;
    font-family: "Segoe UI";
    font-size: 48px;
    font-weight: 700;
    line-height: 120%;
}

.mobile-calendar-today__date-text {
    color: #878787;
    font-family: "Segoe UI";
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
}

.mobile-calendar-today__button {
    border-radius: 8px;
    background: rgba(156, 110, 94, 0.1);
    color: #9C6E5E;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    box-sizing: border-box;
    padding: 8px 16px;
    border: none;
}

.mobile-calendar-today__button:active {
    opacity: 0.7;
}

/* [071724TIN] Update style for custom event calendar - end */

/* [071724TIN] Add animation */
@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* [071924TIN] Update style for event calendar */
.calendar-event-custom__navigation-2 {
    display: flex;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    align-items: center;
}

.calendar-event-custom__navigation-2>* {
    flex: 1;
}

.calendar-event-custom__navigation-2__right {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.calendar-event-custom__navigation-2__right button {
    border-radius: 8px;
    background: transparent;
    color: #9C6E5E;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #9C6E5E;
}

.calendar-event-custom__navigation-2__right button.active {
    background-color: #9C6E5E;
    color: white;
}

.calendar-event-custom__navigation-2__left {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.calendar-event-custom__navigation-2__left button {
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-event-custom__navigation-2__left button.today-btn {
    border-radius: 8px;
    background: rgba(156, 110, 94, 0.1);
    color: #9C6E5E;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-event-custom__navigation-2__left button.today-btn:active {
    opacity: 0.7;
}

.calendar-event-custom .loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.calendar-event-custom .loading__dotted::before {
    content: "···";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #C4C4C4;
    font-size: 62px;
    letter-spacing: 2px;
    z-index: 0;
    animation: fadeOut 1s linear 0s infinite;
    animation-direction: alternate;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.01;
    }
}

/* [071924TIN] Update style for event calendar - end */

:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: auto;
}

/* [072324TIN] Add loading style */
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.loading__dotted::before {
    content: "···";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #C4C4C4;
    font-size: 62px;
    letter-spacing: 2px;
    z-index: 0;
    animation: fadeOut 1s linear 0s infinite;
    animation-direction: alternate;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.01;
    }
}

/* [072324TIN] Add loading style - end */

/* [092324TIN] Add css for coupon selection popup */
/* .coupon-selection-popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background: #0003;
    width: 100dvw;
    height: 100dvh;
    z-index: 999999;
    align-content: center;
    padding: 16px;
    box-sizing: border-box;
    gap: 16px;
}

.coupon-selection-popup__content {
    display: flex;
    width: 100%;
    height: fit-content;
    max-width: 400px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: white;
    margin: auto;
    box-sizing: border-box;
    padding: 20px;
    flex-direction: column;
    border-radius: 4px;
    position: relative;
}

.coupon-selection-popup__content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.coupon-selection-popup__content ul li.coupon-selection {
    border: none;
    padding: 10px;
    background-color: rgba(254, 159, 58, 0.06);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-selection-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    height: 26px;
    width: 26px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
}

.coupon-selection-popup .apply-coupon-btn {
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    box-sizing: border-box;
    color: white;
    background-color: #FE9F3A;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.coupon-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 14px;
    color: #7d7d7d;
    font-weight: 400;
    line-height: 1.4;
}

.coupon-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 14px;
    color: #7d7d7d;
    font-weight: 400;
    line-height: 1.4;
}

.coupon-selection-popup .coupon-title {
    font-size: 24px;
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 5px;
} */

/* [092324TIN] Add css for coupon selection popup - end */

/* [092324TIN] Override css of add to cart popup to prevent overlay */
body .xoo-cp-opac {
    z-index: 999999;
}

body .xoo-cp-modal {
    z-index: 999999;
}

/* [092424TIN] Update css for coupon selection popup */

.coupon-selection-popup {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    padding: 16px;
}

.coupon-selection-popup__wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: white;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    max-width: 500px;
    margin: 0 auto;
    font-family: "Segoe UI", sans-serif;
    width: 100%;
}

.coupon-selection-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.coupon-selection-popup__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.coupon-selection-popup__close {
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s;
}

.coupon-selection-popup__close:hover {
    background-color: rgba(156, 110, 94, 0.1254901961);
}

.coupon-selection-popup__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: min(300px, 70vh);
    overflow-y: auto;
}

.coupon-selection-popup__body::-webkit-scrollbar {
    width: 16px;
}

.coupon-selection-popup__body::-webkit-scrollbar-thumb {
    background-color: #AAA;
    border-radius: 8px;
    border: 4px solid white;
}

.coupon-selection-popup__body::-webkit-scrollbar-track {
    background-color: transparent;
}

.coupon-selection-popup .coupon-selection-card {
    display: flex;
    gap: 0;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    background-color: rgba(255, 152, 0, 0.1490196078);
    align-items: stretch;
    flex-shrink: 0;
}

.coupon-selection-popup .coupon-selection-card__discount {
    display: flex;
    padding: 16px;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 600;
    color: #ff9800;
    flex-direction: column;
    position: relative;
    margin: 0;
    flex-basis: 30%;
    justify-content: center;
    border-right: 2px dashed #ffa621;
}

.coupon-selection-popup .coupon-selection-card__discount-amount {
    font-size: 28px;
    font-weight: 600;
}

.coupon-selection-popup .coupon-selection-card__discount::after,
.coupon-selection-popup .coupon-selection-card__discount::before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: white;
    background-blend-mode: lighten;
    z-index: 9;
    right: calc(-16px / 2);
    border-radius: 8px;
}

.coupon-selection-popup .coupon-selection-card__discount::before {
    top: calc(-16px / 2);
}

.coupon-selection-popup .coupon-selection-card__discount::after {
    bottom: calc(-16px / 2);
}

.coupon-selection-popup .coupon-selection-card__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
    color: #626262;
    gap: 6px;
    height: 100%;
}

.coupon-selection-popup .coupon-selection-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.coupon-selection-popup .coupon-selection-card__description {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.coupon-selection-popup .coupon-selection-card__code {
    font-size: 14px;
    font-weight: 400;
    color: #ff9a19;
}

.coupon-selection-card__exp {
    text-align: left;
}

/* [092424TIN] Update css for coupon selection popup - end */

/* [101624TIN] Add css for login popup */
.account-popup {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    font-family: "Poppins", sans-serif;
    color: #333;
    top: 0;
    left: 0;
    z-index: 99999;
}

.account-popup__backdrop {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.account-popup__modal {
    width: 100%;
    max-width: 800px;
    max-height: 90dvh;
    overflow-y: auto;
    background-color: white;
    border-radius: 24px;
    box-sizing: border-box;
    padding: 32px 20px;
    position: relative;
}

.account-popup__modal .close {
    position: absolute;
    right: 0;
    font-size: 2rem;
    top: 0;
    margin-right: 15px;
    margin-top: 15px;
    z-index: 9999;
    cursor: pointer;
}

.account-popup .account-popup-modal {
    display: flex;
    gap: 10px;
    /* [102324TIN] Add position to align close button */
    position: relative;
}

.account-popup .account-popup-modal__left-side,
.account-popup .account-popup-modal__right-side {
    flex: 1 1 50%;
}

.account-popup .account-popup-modal__left-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FAFAF5;
    border-radius: 16px;
}

.account-popup .account-popup-modal__right-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-sizing: border-box;
}

.account-popup .account-popup-modal__image {
    width: 100%;
}

.account-popup .account-popup-modal__image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.account-popup .account-popup-modal__heading1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
}

.account-popup .account-popup-modal__heading2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
}

.account-popup .account-popup-modal__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}

.account-popup .account-popup-modal__show-on-mobile {
    display: none;
}

@media (max-width: 479px) {
    .account-popup .account-popup-modal__show-on-mobile {
        display: block;
    }
}

@media (min-width: 480px) and (max-width: 785px) {
    .account-popup .account-popup-modal__show-on-mobile {
        display: block;
    }
}

.account-popup .account-popup-modal__show-on-desktop {
    display: block;
}

@media (max-width: 479px) {
    .account-popup .account-popup-modal__show-on-desktop {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 785px) {
    .account-popup .account-popup-modal__show-on-desktop {
        display: none;
    }
}

.account-popup .account-popup-modal .account-popup-modal__left-side .account-popup-modal__heading2 {
    margin: 5px 0;
}

.account-popup .account-popup-modal .account-popup-modal__left-side .account-popup-modal__text {
    margin: 14px 0;
    color: #575757;
}

.account-popup .account-popup-modal .account-popup-modal__left-side .account-popup-modal__image {
    max-height: 150px;
}

@media (max-width: 479px) {
    .account-popup .account-popup-modal__left-side {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 785px) {
    .account-popup .account-popup-modal__left-side {
        display: none;
    }
}

.account-popup .account-popup-form {
    max-width: 400px;
    box-sizing: border-box;
    margin: 100px auto 30px;
    width: 100%;
}

.account-popup .account-popup-form fieldset {
    display: contents;
    width: 100%;
}

.account-popup .account-popup-form__wrap {
    display: flex;
    gap: 24px;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 479px) {
    .account-popup .account-popup-form {
        margin: 30px 0;
    }
}

.account-popup .account-popup-form__field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-popup .account-popup-form__label {
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}

.account-popup .account-popup-form__input {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    outline: none;
    transition: all 0.2s;
	width: 100%;
}

.account-popup .account-popup-form__input:disabled {
    opacity: .5;
}

.account-popup .account-popup-form__submit {
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background-color: #F39336;
    color: white;
}


.account-popup .account-popup-form__submit:disabled {
    opacity: .7;
}

.account-popup .account-popup-form__footer {
    text-align: center;
}

.account-popup .account-popup-form__link {
    font-weight: 600;
    color: #F39336;
    text-decoration: none;
}

.account-popup .account-popup-modal #loginMessage {
    color: #F44336;
}

/* [102324TIN] Add css for close button of login popup */
.account-popup__close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 14px;
}

/* [101624TIN] Add css for login popup - end */

/* [102324TIN] Add css for .alt-a, that use as link to open a link and avoid conflict when nesested a tags */
.alt-a {
    padding: 0;
    margin: 0;
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
    color: inherit;
}

/* [112824TIN] Add css for lucky draw order table */
.lucky-draw-table {
    padding: 10px 10px 16px 10px;
    border-radius: 12px;
    background-color: #f9f1e8;
    width: 100%;
    border: 1px solid #d9d9d9;
}

.lucky_draw_order_table_placeholder {
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: black;
    background-color: #f9f1e8;
    border-radius: 12px;
    padding: 20px;
    line-height: 1.4;
}

.lucky-draw-table__wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    position: relative;
    overflow: auto;
    max-height: 400px;
}

.lucky-draw-table__wrap::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.lucky-draw-table__wrap::-webkit-scrollbar-thumb {
    background-color: #a6a6a6;
    border-radius: 10px;
    border: 5px solid transparent;
}

.lucky-draw-table table.lucky-draw-table__table {
    width: 100%;
    border-radius: 12px;
    border-collapse: collapse;
	/* [112924TIN] Override margin of table divi event calendar */
    margin: 0 !important;
}

.lucky-draw-table table.lucky-draw-table__table th,
.lucky-draw-table table.lucky-draw-table__table td {
    padding: 8px 16px;
    border-bottom: 1px solid black;
    background-color: #f9f1e8;
    color: #3d3d3d;
    text-align: center;
}

/* [112924TIN] Increase padding of td */
.lucky-draw-table table.lucky-draw-table__table tr td {
    padding: 12px 16px !important;
}

.lucky-draw-table__table tr:last-child th,
.lucky-draw-table__table tr:last-child td {
    border-bottom: none;
}

.lucky-draw-table__table th {
    position: sticky;
    top: 0;
}

.lucky-draw-table__table th:first-child,
.lucky-draw-table__table td:first-child {
    position: sticky;
    left: 0;
    z-index: 9;
}

.lucky-draw-table__table tr:first-child th:first-child {
    z-index: 99;
}

/* [112824TIN] Add css for lucky draw order table - end */

/* 122426LH #2326 [website] Highlight undo button */
.woocommerce-notices-wrapper .woocommerce-message {
  color: #fff !important;
  background: orange !important;
}
.woocommerce-notices-wrapper .woocommerce-message a {
  color: #03045e !important;
}

/*030625lk - css for pricing calculator */
.event-calculator-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* First Row: Form and Summary */
.event-calculator-row-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.event-calculator-form {
    flex: 1;
    min-width: 300px;
}

.event-calculator-results {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

/* Second Row: Chart */
/* Existing styles remain unchanged until .event-calculator-row-2 */
.event-calculator-row-2 {
    width: 100%;
    margin-top: 20px;
}

.cost-visualization {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 300px; /* Fixed height for bars */
    max-width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%; /* Adjust based on number of bars */
    text-align: center;
}

.bar-label {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
    word-wrap: break-word;
    max-width: 100%;
}

.bar {
    width: 100%;
    min-height: 1px; /* Ensure visibility even for 0 */
    transition: height 0.3s ease;
    position: relative;
    border-radius: 4px 4px 0 0;
}

.bar-value {
    position: absolute;
    top: -20px;
    width: 100%;
    font-size: 0.9em;
    color: #333;
    font-weight: bold;
}

/* Rest of the existing CSS remains unchanged */

.event-calculator-form-group {
    margin-bottom: 15px;
}

.event-calculator-form-group label {
    display: block;
    margin-bottom: 5px;
    position: relative;
    font-weight: bold;
    color: #333;
}

.event-calculator-form-group input[type="number"],
.event-calculator-form-group input[type="text"],
.event-calculator-form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.event-calculator-form-group input[type="range"] {
    width: 100%;
    margin-top: 5px;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    outline: none;
    transition: background 0.3s;
}

.event-calculator-form-group input[type="range"]::-webkit-slider-runnable-track {
    background: #ddd;
    height: 8px;
    border-radius: 4px;
}

.event-calculator-form-group input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 8px;
    border-radius: 4px;
}

.event-calculator-form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.event-calculator-form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.event-calculator-form-group input[type="range"]:hover::-webkit-slider-thumb {
    background: #2980b9;
    transform: scale(1.1);
}

.event-calculator-form-group input[type="range"]:hover::-moz-range-thumb {
    background: #2980b9;
    transform: scale(1.1);
}

.event-calculator-form-group input[type="range"]:active::-webkit-slider-thumb {
    background: #1f618d;
}

.event-calculator-form-group input[type="range"]:active::-moz-range-thumb {
    background: #1f618d;
}

.event-calculator-form-group input[type="range"] {
    background: linear-gradient(to right, #3498db 0%, #3498db var(--value), #ddd var(--value), #ddd 100%);
}

.event-calculator-form-group input[type="checkbox"] {
    margin-left: 10px;
    vertical-align: middle;
}

.event-calculator-results p {
    margin: 10px 0;
    position: relative;
}

.event-calculator-results h3 {
    margin: 15px 0 10px;
}

/* Bigger, Clearer Money Amounts */
.event-calculator-results .money-amount {
    font-size: 1.5em; /* Even larger text */
    font-weight: bold;
    color: #2c3e50;
    display: inline-block;
    margin-left: 5px;
}

/* Chart Styling */
.event-calculator-chart {
    max-height: 400px; /* More room for chart */
    width: 100%;
}

/* Floating Button */
.floating-total {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    font-weight: bold;
    z-index: 1000;
    cursor: default;
    transition: background-color 0.3s;
}

.floating-total:hover {
    background-color: #2980b9;
}

/* Tooltip Styles */
.tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #666;
    color: white;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 5px;
    cursor: help;
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/* Product Media Tabs */
.product-media-tabs {
    position: relative;
}

.product-media-tabs input[type="radio"] {
    display: none;
}

.product-media-tabs label {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
}

.product-media-tabs input[type="radio"]:checked + label {
    background: #fff;
    border-bottom: 1px solid #fff;
}

.product-media-tabs .tab-content {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
}

.product-media-tabs .tab-image,
.product-media-tabs .tab-video {
    display: none;
}

.product-media-tabs input[id="tab-image"]:checked ~ .tab-content .tab-image,
.product-media-tabs input[id="tab-video"]:checked ~ .tab-content .tab-video {
    display: block;
}