body:has(.bg_black_line) {
    min-height: 100vh;
    background: 
        /* 第一層：垂直直線 */
        linear-gradient(to right, 
            transparent 0px, 
            transparent 239px, 
            #FFFFFF1A 239px, 
            #FFFFFF1A 240px, 
            transparent 240px),
        /* 第二層：從上到下的漸變 */
        linear-gradient(to bottom, #343434, #000000);
    background-size: 240px 100%; /* 直線間距 240px，高度 100% */
    color: white;
    margin: 0px !important;
    font-family: "Noto Sans TC";
}

.mb-55 {
    margin-bottom: 55px;
}

.pj-name{
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    color: #FFFFFF;
    width: 200px;
    line-height: 120%;
    cursor: pointer;
}
.pj-name span{
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    color: #FFFFFF;
    padding-top: 6px;
}

.agent-pj-name.pj-name{
    width: auto;
}

.row-header{
    display: flex;
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
    align-items: center;
    max-width: 1920px;
    justify-self: center;
    width: -webkit-fill-available;
}

.button-container {
    display: flex;
    gap: 4px; /* 按鈕間距 */
    position: relative;
    background-color: #FFFFFF14;
    width: fit-content;
    height: 77px;
    border-radius: 60px;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

.nav-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 900;
    width: 175px;
    height: 71px;
    border-radius: 60px;
    color: #FFFFFF;
    border: 0px solid #FFFFFF1A;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease; /* 文字顏色過渡 */
}

/* 當前按鈕的背景色 */
.nav-button.active {
    background: #FF0886;
}

.nav-button_a-type {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: unset;
}

.nav-button_a-type:hover {
    color: #FFF;
}

/* 背景色滑塊（用於動畫） */
.button-container::before {
    content: '';
    position: absolute;
    background: #FF0886;
    height: 100%;
    width: 0; /* 初始寬度為 0 */
    top: 0;
    left: 0;
    z-index: 0;
    transition: width 0.5s ease, left 0.5s ease; /* 滑動動畫 */
}


.button-container-right {
    display: flex;
    justify-content: center;
    gap: 5px; /* 按鈕間距 */

    position: relative;
    width: fit-content;
    height: 60px; /* 總高度 */
    align-items: center;
}

.nav-button-right {
    width: 60px; /* 每個按鈕寬高 */
    height: 60px;
    border-radius: 50%; /* 圓形 */
    border: none; /* 無邊框 */
    background: #00000066; /* 按鈕背景色（深色，根據圖片） */
    color: white; /* 文字顏色 */
    font-size: 16px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease; /* 文字顏色過渡 */
}

.nav-button-right img {
    width: 100%;
    max-width: 22px;
}

.row-footer{
    position: relative;
    bottom: 0;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(43, 43, 43, 0.2) 100%);
    max-width: 1920px;
    justify-self: center;
    /*background: linear-gradient(to right, #FFFFFF, #2B2B2B);*/
    /* display: flex; */
    /* justify-content: space-between; */
}

.footer-line1{
    justify-content: space-between;
    margin-left: 0px;
    margin-right: 0px;
}

.footer-img{
/*
    position: fixed;
    bottom: 0;
    right: 0;
*/
    position: absolute;
    bottom: -18px;
    right: -12px;
}

.footer-img-logo{
    margin-top: 44px;
    margin-right: 100px;
    /*
    margin-left: 80px;
    */
    max-width: 300px;
}

.footer-list{
    margin-top: 40px;
    margin-left: 80px;
}


.footer-content {
    display: flex;
    /*
    justify-content: space-between;
    */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    font-family: Noto Sans TC;
}


.footer-column {
/*
    flex: 1;
    min-width: 200px;
*/
    margin-bottom: 20px;

}


.footer-column h4 {
    font-weight: 900;
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 15px;
}


.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    height: 30px;
}

.footer-column a {
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}


.footer-bottom {
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    color: #FFFFFF;
    border-top: 1px solid #333;
    margin-bottom: 20px;
    font-family: Noto Sans TC;
    margin-top: 50px;
}

.messages em.placeholder {
    background-color: transparent;
    opacity: 1;
    vertical-align: initial;
    text-decoration: underline;
}

/*  =========================== Home page ===========================  */
.home-page{
    margin-bottom: 100px;
    max-width: 1920px;
    width: 100%;
    justify-self: center;
}

/* 頂部區域 */
.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    margin-left: 100px;
    margin-right: 100px;
}

.home-header-card {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 28px;
    margin-left: 100px;
}

.profile-header-card {
    display: flex;
    justify-content: left;
    align-items: center;
}

.home-desc{
    display: flex;
    align-items: center;
}

.home-button-sign{
    width: fit-content;
    height: 54px;
    gap: 15px;
    border-radius: 100px;
    padding-top: 15px;
    padding-right: 24px;
    padding-bottom: 15px;
    padding-left: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    gap: 15px;
    border: 0px;
}

.home-button-sign-verB{
    padding-right: 20px;
    padding-left: 20px;
}

.home-check{
    font-weight: 700;
    font-size: 16px;
}

.home-button-check{
    font-weight: 700;
    font-size: 14px;
    width: 69px;
    margin-left: 15px;
    height: 29px;
    border-radius: 30px;
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 10px;
    background: #FF0886;
    border: 0px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-header-booking {
    display: flex;
    justify-content: space-between; /* 左右分佈 */
    align-items: center; /* 垂直居中 */
    margin-bottom: 55px; /* 與下方卡片的間距 */
    margin-left: 100px;
    margin-right: 100px;
}

/* 用戶名稱區域 */
.home-user-info {
    display: flex;
    align-items: center; /* 垂直居中 */
}

.home-user-info .welcome {
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    margin-right: 10px; /* 與標籤的間距 */
}

.home-user-info .tag {
    background-color: #FFFFFF1A; /* 標籤 */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    height: 25px;
    gap: 5px;
    border-radius: 100px;
    padding-top: 4px;
    padding-right: 15px;
    padding-bottom: 4px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* 右上角按鈕 */
.home-header-button {
    background-color: #fff; /* 白色背景 */
    border: none;
    border-radius: 50%; /* 圓形 */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.home-card-area{
    margin-left: 0px;
    margin-right: 0px;
    justify-content: center;
}

.home-card-desc{
    display: flex;
    justify-content: space-between;
    padding-left: 100px;
    padding-right: 100px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.home-booking-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 28px;
    color: #FF0886;
    display: flex;
    gap: 5px;
}

.home-booking-desc span{
    font-family: Arial;
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
}

.home-more-top a{
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.home-more-bottom a{
    color: #fff;
    text-decoration: none;
    display: none;
    justify-content: center;
    font-family: Arial;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
}

/* 卡片容器 */
.home-card-container {
    display: flex;
    gap: 20px; /* 卡片間距 */
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
    margin-right: 0px;
}

/* 卡片樣式 */
.home-card {
    height: fit-content;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0px;
    cursor: pointer;
}

.home-card img {
    width: 100%;
    max-width: 400px;
}

.home-button-control{
    cursor: pointer;
    width: auto;
}

/* 按鈕樣式 */
.home-footer-button {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF; /* 白色邊框 */
    color: #000000; /* 白色文字 */
    cursor: pointer;
    position: relative;
    top: -19px;
    border-radius: 100px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 10px;
    min-width: 43px;
    width: fit-content;
    text-align: center;
    box-sizing: unset;
}

.row-header-under{
    display: flex;
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
    align-items: center;
    justify-content: center;
    margin-top: -168px;
    /*
    margin-left: -90px;
    */
}

.row-header-under-login{
    display: flex;
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
    align-items: center;
    justify-content: center;
    margin-top: -168px;
    /*
    margin-left: -90px;
    */
}

.header-hidden{
    display: none !important;
}

.swiper-button-prev {
    background-image: url('../img/vector9-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: static !important;
    height: 14px !important;
    width: 18px !important;
}
.swiper-button-prev:after {
    display: none; /* 隱藏默認箭頭 */
}
.swiper-button-next {
    background-image: url('../img/vector9-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: static !important;
    height: 14px !important;
    width: 18px !important;
}
.swiper-button-next:after {
    display: none; /* 隱藏默認箭頭 */
}
.home-card-container-MKII {
    display: flex;
    gap: 16px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
    margin-right: 0px;
}
.mySwiper {
    width: 100%; /* 相對於父容器 */
    height: 280px;
}
.swiper-slide {
    flex: 0 0 400px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0px;
    cursor: pointer;
}

.swiper img {
    max-width: 400px;
}


/* =========================== Profile Page =========================== */
.subordinate-click{
    cursor:pointer;
}

.card-area {
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    perspective: 150rem;
    height: 271px;
    transform-style: preserve-3d;
}

.card-back {
    transform: rotateY(-180deg);
}

.card-font, .card-back {
    position: absolute;
    transition: all 0.5s;
    backface-visibility: hidden;
}

.profile-page{
    margin-bottom: 100px;
}

.profile-card-d1 {
    padding-left: 0px;
    padding-right: 0px;
}

.profile-card-d2 {
    padding-left: 0px;
    padding-right: 0px;
}

.profile-header {
    display: flex;
    justify-content: space-between; /* 左右分佈 */
    align-items: center; /* 垂直居中 */
    margin-bottom: 28px; /* 與下方卡片的間距 */
    padding-left: 12px;
    padding-right: 12px;
}

.profile-button-edit{
    width: fit-content;
    height: 54px;
    gap: 15px;
    border-radius: 100px;
    padding-top: 15px;
    padding-right: 24px;
    padding-bottom: 15px;
    padding-left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    gap: 15px;
    border: 0px;
    background-color: #090909E5;
    color: #FFFFFF;
    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 14px;

}

.profile-title{
    font-family: Arial;
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
}

.profile-title span{
    font-family: Arial;
    font-weight: 700;
    font-size: 28px;
    color: #FF0886;
}

.profile-amount{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FF0886;
}

.profile-level{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
}

.profile-label {
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
}

.profile-value {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 18px; 
}

.profile-card-custom {
    background-color: #e0f7fa;
    border-radius: 10px;
    padding: 20px;
    height: 200px;
}
.profile-info-section {
    background-color: #343a40;
    border-radius: 10px;
    padding: 20px;
    height: 200px;
}
.profile-btn-custom {
    background-color: #ff4081;
    color: #fff;
    border: none;
}
.profile-btn-custom:hover {
    background-color: #f50057;
}

.profile-line{
    margin-top: 46px;
    margin-bottom: 30px;
    width: 100%;
    border: 1px solid #FFFFFF99;
}

.profile-subordinate{
    font-family: Arial;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    display: flex;
}

.profile-subordinate img{
    margin-bottom: 100px;
    margin-left: 12px;
    width: 26px;
    cursor: pointer;
    margin-top: 5px;
}

.profile-card-container {
    background-color: #2e3b3e;
    border-radius: 10px;
    height: 271px;
    width: 420px;
    min-width: 420px;
    background-image: url('../img/rectangle-4263.svg');
    background-position: -30px -25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card-bg-icon {
    border-radius: 10px;
    padding: 15px;
    height: 271px;
    width: 420px;
    min-width: 420px;
    background-image: url('../img/member_card_D.svg');
    background-position: 187px 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
}

.card-container-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card-container-bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.profile-text-pjname{
    color: #000000;
    margin-top: 13px;
    margin-left: 15px;
    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 19px;
    text-align: center;
}
.profile-text-logo{
    color: #000000;
    margin-top: 15px;
    margin-right: 13px;
}
.profile-text-name{
    color: #000000;
    margin-left: 15px;
    margin-bottom: 12px;
    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 20px;
}
.profile-text-name p{
    color: #000000;
    font-family: Noto Sans TC;
    font-weight: 400;
    font-size: 14px;
    margin-left: 1px;
}
.profile-text-qrcode{
    color: #000000;
    margin-right: 7px;
    margin-bottom: 8px;
}

.profile-button-check{
    width: 50px;
    height: 50px;
    border-radius: 30px;
    padding-top: 13px;
    padding-right: 13px;
    padding-bottom: 13px;
    padding-left: 13px;
    background: #FFFFFF;
    border: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 15px 0px #0000001A;
}

.profile-card-bg-icon-verB {
    border-radius: 10px;
    padding: 15px;
    height: 271px;
    width: 420px;
    min-width: 420px;
    background-position: 187px 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
}

.profile-card-container-verB {
    background-color: #2e3b3e;
    border-radius: 10px;
    height: 271px;
    width: 420px;
    min-width: 420px;
    /*
    background-image: url('../img/rectangle-4263.svg');
    background-position: -30px -25px;
    */
    background: linear-gradient(104.05deg, #FF71A8 -3.53%, #F00044 97.63%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.profile-card-container-verB::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/shkp_card_bg.png') no-repeat -140px 0;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.profile-text-rank {
    color: #000000;
    margin-left: 15px;
    font-weight: 700;
    font-size: 26.13px;
    font-family: Noto Sans HK;
    letter-spacing: 1px;

}

.card-container-mid {
    margin-bottom: -60px;
}

.profile-content{
    margin: 0px;
}
/* popup part */
.popup-TnC {
    margin-bottom: 20px;
}

.popup-input-field {
    max-width: 360px;
    width: 100%;
    height: 60px;
    border-radius: 14px;
    border: 2px solid #ABABAB;
    padding: 20px 24px;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 16px;
    color: #333333;

}

.popup-input-lable {
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;

}

.popup-submit-button {
    color: #ffffff;
    border: none;
    cursor: pointer;
    max-width: 300px;
    width: 100%;
    height: 60px;
    border-radius: 100px;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    background: #FF0886;
    margin-top: 38px;
    margin-bottom: 38px;
}

.modal-body-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal-header {
    padding: 25px 30px;
    border-bottom: 0px;
}
.modal-body {
    padding: 25px 30px;
    border-bottom: 0px;
}
.modal-footer {
    justify-content: flex-start;
    padding: 25px 30px;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 14px;
    border-top: 0px;
}
.modal-footer span{
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 14px;
    margin: 0px;
}
.profile-popup-close {
    background: #333333;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    padding: 19px;
    border: 0;
}
.modal-title {
    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 24px;
}
.profile-popup {
    background-color: #090909;
    border: 3px solid #2C2C2C;
    max-width: 800px;
    width: 800px;
    border-radius: 10px;

}
/* CARD QR CODE PAGE */
.profile-card-qr {
    display: flex;
    justify-content: left;
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
}
.qr-card-container {
    background-image: url('../img/rectangle4263-gray.svg');
    flex-direction: row !important;
    background-color: #2e3b3e;
    border-radius: 10px;
    height: 271px;
    width: 420px;
    min-width: 420px;
    background-position: -30px -25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.qr-card-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.qr-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 25px;
}
.qr-card-code-bg {
    display: flex;
    justify-content: center;
    width: 214px;
    height: 214px;
    border-radius: 18px;
    background-color: #FBFBFB;
    box-shadow: 0px 1.87px 14px 0px #0000000D;
    padding: 16.5px;
}
.qr-card-code-bg img {
    width: 100%;
}

.qr-card-left-text {
    margin-top: 28px;
    margin-left: 30px;
}
.qr-card-left-btn {
    margin-left: 30px;
    margin-bottom: 30px;
}
.qr-card-left-text .qr-card-agent-rank {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 10px;
}
.qr-card-left-text .qr-card-agent-id {
    font-family: Noto Sans TC;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #000000;
}
.qr-button-back {
    justify-content: center;
}


/* =========================== Login Page =========================== */
.login-bottom-terms{
    margin-right: auto;
    margin-top: 170px;
    margin-left: 30px;
    margin-bottom: 20px;
}

.login-bg-img-1{
    z-index: -1;
    position: fixed;
    right: 0px;
    top: 95px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.login-bg-img-2{
    z-index: -1;
    position: fixed;
    left: 0px;
    top: 330px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.login-bg-img-3{
    z-index: -1;
    position: fixed;
    right: 0px;
    bottom: 0px;
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.login-button-container{
    display: flex;
    gap: 4px;
    position: relative;
    background-color: #FFFFFF14;
    width: fit-content;
    height: 77px;
    border-radius: 60px;
    justify-content: center;
    align-items: center;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    padding: 4px;
}

.login-button-container .active{
    background-color: #FFFFFF;
    color: #000000;
}

.login-main{
    display: flex;
    justify-content: center;
    margin-top: 126px;
    align-items: center;
    flex-direction: column;
    max-width: 1920px;
    justify-self: center;
    width: -webkit-fill-available;
}


.login-container {
    background-color: #FFFFFF;
    padding: 30px 52px;
    width: 454px;
    height: auto;/*586px*/
    min-height: 586px;
    border-radius: 40px;
    box-shadow: 0px 4px 25px 0px #FFFFFF4D;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.login-container .login-title {
    font-family: Arial;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: auto;
    color: #000000;
    padding-top: 30px;
    margin-right: auto;
}

.login-container input {
    width: 300px;
    height: 60px;
    padding: 21px;
    margin: 10px 0;
    border: 1px solid #ABABAB;
    border-radius: 100px;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
}

.login-container button {
    width: 300px;
    min-height: 60px;
    padding: 10px;
    background-color: #ff4081;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-top: 30px;
}

.login-container button:hover {
    background-color: #e91e63;
}


.login-forget-pw {
    display: block;
    margin: 24px 0;
    color: #666;
    text-decoration: none;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.login-forget-pw:hover {
  text-decoration: underline;
}

.login-container p {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}

.login-container p a {
  color: #666;
  text-decoration: none;
}

.login-container p a:hover {
  text-decoration: underline;
}

.login-bottom-btn-area {
    color: #000000;
    display: flex;
    justify-content: space-between;
    width: 100%;

    align-items: flex-end;
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: auto;
}
.login-bottom-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/*  =========================== Forget PW / Reset PW page ===========================  */

.forget-pw-btn {
    width: 24px;
    cursor: pointer;
}
.forget-pw-title {
    font-family: Arial;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 60px;
    color: #000000;
    padding-top: 30px;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.reset-pw-success-title {
    font-family: Arial;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 5px;
    color: #000000;
    padding-top: 30px;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.reset-pw-success-content {
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    margin-right: auto;
    margin-bottom: 40px;
}
.reset-pw-resend.disabled, .reset-pw-resend-box.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}
.reset-pw-resend, .reset-pw-resend-box {
    display: block;
    margin: 24px 0;
    color: #666;
    text-decoration: none;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.reset-pw-resend:hover, .reset-pw-resend-box:hover {
text-decoration: underline;
}

.reset-pw-title {
    font-family: Arial;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 5px;
    color: #000000;
    padding-top: 30px;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.reset-pw-content {
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    margin-right: auto;
    margin-bottom: 40px;
}
.reset-pw-content-input {
    display: flex;
    gap: 5px;
}
.reset-pw-content-input input {
    width: 46px;
    height: 60px;
    padding: 20px 17px;
    border: 1px solid #ABABAB;
    border-radius: 8px;
    font-family: Arial;
    font-weight: 400;
    font-size: 18px;
}
.code-container {
    display: flex;
    gap: 10px;
    position: relative;
    width: fit-content;
  }

  .code-boxes {
    display: flex;
    gap: 10px;
    position: relative;
    width: fit-content;
    margin: 20px;
    cursor: text;
  }
  .code-box {
    width: 40px;
    height: 50px;
    border: 1px solid #999;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #fff;
    box-sizing: border-box;
    color: #000000;
  }
  .code-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0px  !important;
    padding: 0px  !important;
    opacity: 0;
    font-size: 18px;
    letter-spacing: 50px;
    padding-left: 10px;
    caret-color: transparent;
  }
  .code-input:focus + .code-boxes .code-box {
    border-color: #007bff;
  }
  .code-box.filled {
    border-color: #007bff;
  }
  
/*  =========================== Reservation page ===========================  */
.code-box.active::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 24px;
    background: #007bff;
    animation: blink 0.8s step-end infinite;
}

.my_reserva{
    cursor: pointer;
}

.reservation-page{
    margin-bottom: 100px;
    max-width: 1920px;
    justify-self: center;
    width: -webkit-fill-available;
}

.table_id_detail{
    cursor: pointer;
    width: fit-content;
}

.reservation-header-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.reservation-card-area{
    display: flex;
    justify-content: center;
    margin-left: 0px;
    margin-right: 0px;
}

/* 頂部區域 */
.reservation-header-control {
    display: flex;
    margin-left: 100px;
    margin-right: 100px;
    justify-content: space-between;
}

.reservation-header {
    display: flex;
    justify-content: space-between; /* 左右分佈 */
    align-items: flex-start; /* 垂直居中 */
    margin-bottom: 10px; /* 與下方卡片的間距 */
    margin-left: 0px;
    margin-right: 0px;
    width: 90%;
}

.reservation-desc{
    display: flex;
    align-items: center;
}

.reservation-input {
    border: none;
    background-color: #FFFFFF33;
    color: #FFFFFF;
    width: 247px;
    height: 50px;
    gap: 15px;
    border-radius: 100px;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 60px;
    padding-right: 10px;

    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 14px;
    
    background-image: url('../img/search8810.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 24px 24px;
  }

.reservation-check{
    font-weight: 700;
    font-size: 16px;
}

.reservation-button{
    font-weight: 700;
    font-size: 14px;
    width: 104px;
    height: 50px;
    margin-right: 25px;
    border-radius: 30px;
    padding-top: 15px;
    padding-right: 24px;
    padding-bottom: 15px;
    padding-left: 24px;
    background: #FF0886;
    border: 0px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reservation-header-booking {
    display: flex;
    justify-content: space-between; /* 左右分佈 */
    align-items: center; /* 垂直居中 */
    margin-bottom: 47px; /* 與下方卡片的間距 */
    margin-left: 100px;
    margin-right: 100px;
}

/* 用戶名稱區域 */
.reservation-user-info {
    display: flex;
    align-items: center; /* 垂直居中 */
}

.reservation-user-info .welcome {
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    margin-right: 10px; /* 與標籤的間距 */
}

.reservation-user-info .tag {
    background-color: #FFFFFF1A; /* 標籤 */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    height: 25px;
    gap: 5px;
    border-radius: 100px;
    padding-top: 4px;
    padding-right: 15px;
    padding-bottom: 4px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* 右上角按鈕 */
.reservation-header-button {
    background-color: #fff; /* 白色背景 */
    border: none;
    border-radius: 50%; /* 圓形 */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reservation-card-desc{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.reservation-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
}

.reservation-desc span{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FF0886;
}

.reservation-more-top a{
    color: #fff;
    text-decoration: none;
}

.reservation-more-bottom a{
    color: #fff;
    text-decoration: none;
    display: none;
    justify-content: center;
    font-family: Arial;
    font-weight: 700;
    font-size: 20px;
}

/* 卡片容器 */
.reservation-card-container {
    display: flex;
    gap: 20px; /* 卡片間距 */
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    margin-left:  0px;
    margin-right: 0px;
    max-width: 864px;
}

.reservation-card-container::after {
    content: '';
    flex: 1 1 400px;
    max-width: 400px;
  }

/* 卡片樣式 */
.reservation-card {
    flex: 0 0 400px; /* 固定寬度 */
    height: 250px; /* 固定高度 */
    border-radius: 15px; /* 圓角 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 陰影效果 */
    background-size: cover; /* 背景圖片覆蓋 */
    background-position: center; /* 背景圖片居中 */
    position: relative;
    padding: 0px;
    margin-bottom: 37px;
    cursor: pointer;
}

.reservation-button-control{
    cursor: pointer;
    width: auto;
}

/* 按鈕樣式 */
.reservation-footer-button {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF; /* 白色邊框 */
    color: #000000; /* 白色文字 */
    cursor: pointer;
    position: relative;
    top: -19px;
    border-radius: 100px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 10px;
    width: 43px;
    text-align: center;
    box-sizing: unset;
    font-family: Noto Sans TC;
}

/*  =========================== Reservation Detail page ===========================  */

.separation-line{
    border-bottom: 2px solid #333333;
}
.reservation-guest {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0px 0px;
    margin: 0px;
}
.reservation-guest-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0px 0px;
    margin: 0px;
    width: 300px;
}
.reservation-guest-input-lable {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
}

.reservation-de-page{
    margin-bottom: 100px;
}

.reservation-de-header{
    font-family: Arial;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;

    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    margin-left: 100px;
    margin-right: 100px;
}

.reservation-de-back-area{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.reservation-de-back{
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    color: #CCCCCC9E;
    font-weight: 700;
    font-size: 14px;
    gap: 7px;
}

.reservation-estate{
    width: 300px;
    height: 60px;
    border-radius: 14px;
    border: 2px solid #ABABAB;
    background-color: #FFFFFF;
    color: #000000;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 24px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("../img/vector401.svg");
    background-repeat: no-repeat;
    background-position: right 22px center; /* 圖片靠右，垂直居中 */
    background-size: 16px; /* 調整圖片大小 */
}

.reservation-click{
    cursor: pointer;
}
    
.reservation-datetime .calendar {
    background: #141414;
    color: #FFFFFF;
    width: 377px;
    padding: 10px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

.reservation-datetime .header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 16px;
    gap: 60px;
}

.reservation-datetime .header .title {
    font-family: Noto Sans HK;
    font-weight: 900;
    font-size: 16px;
    color: #FF0886;
}

.reservation-datetime .header .prev,.reservation-datetime .header .next {
    cursor: pointer;
    width: 20px;
}

.reservation-datetime .weekdays, .reservation-datetime .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 16px;
    color: #BFBFBF;
    gap: 8px;
}

.reservation-datetime .weekdays {
    margin-bottom: 8px;
}

.reservation-datetime .weekdays div {
    width: 40px;
    height: 40px;
}

.reservation-datetime .days div {
    padding: 5px;
    margin: 2px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    font-family: Noto Sans HK;
    font-weight: 900;
    font-size: 16px;
}

.reservation-datetime .days div.selected {
    background: #FF0886;
    border-radius: 10px;
}

.reservation-datetime .days div.disabled {
    color: #A9A9A9;
    pointer-events: none;
    cursor: not-allowed;
}

.reservation-contaniner-template {
    display: none;
}

.reservation-unit-area {
    gap: 30px;
    margin: 0px 100px;
    /*
    background-color: #090909;
    border-radius: 30px;
    padding-top: 40px;
    padding-right: 38px;
    padding-bottom: 40px;
    padding-left: 38px;
    */
}

.reservation-contaniner {
    padding: 30px 38px;
    gap: 30px;
    margin: 0px 0px;
    background-color: #090909;
    border-radius: 30px;
}

.reservation-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 0px;
}

.reservation-title-desc{
    font-family: Noto Sans HK;
    font-weight: 900;
    font-size: 24px;
    color: #FF0886;
    padding: 12px 0px;
}

.reservation-unit-desc {
    padding: 0px 0px;
}

.reservation-title-button{
    width: 113px;
    height: 54px;
    gap: 8px;
    border-radius: 100px;
    padding-top: 15px;
    padding-right: 24px;
    padding-bottom: 15px;
    padding-left: 24px;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #333333;
    border: 0px;
    display: flex;
}

img {
    -webkit-user-drag: none;
}

.reservation-unit-text {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: -20px;
    padding: 0px 0px;
}

.reservation-unit-input {
    border-radius: 14px;
    border-width: 2px;
    background: #FFFFFF;
    color: #000000;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 16px;
    width: 300px;
    height: 60px;
    padding: 10px;
}

.reservation-datetime {
    display: flex;
    flex-direction: row;
    gap: 78px;
    padding: 0px 0px;
    margin: 0px;
}

.reservation-calendar {
    width: 377px;
    /*
    height: 364px;
    */
    padding: 0px 0px;
}

.reservation-button-add {
    font-family: Noto Sans HK;
    font-weight: 900;
    font-size: 20px;
    color: #FF0886;
    width: 180px;
    cursor: pointer;
    padding: 0px 0px;
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.reservation-button-next {
    width: 300px;
    height: 60px;
    border-radius: 100px;
    color: #FFFFFF;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    background-color: #FF0886;
    padding: 0px 0px;
    border: 0px;
}

.reservation-time-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    width: 390px;
    height: 230px;
    padding: 0px 0px;
}

.reservation-time-button {
    background-color: #333333;
    color: #ffffff;
    border: none;
    padding: 11px 14px;
    border-radius: 15px;
    cursor: pointer;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    width: 90px;
    height: 50px;

}

.reservation-time-button.disabled {
    background-color: #000000;
    color: #686868;
    pointer-events: none;
    cursor: not-allowed;
}

.reservation-time-button.selected {
    background-color: #FF0886;
}

/*  =========================== Reservation success/fail page ===========================  */

.reservation-submit-success {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 40px;
    margin-left: 100px;
    height: 700px;
}

.reservation-submit-success-title {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 28px;
}

.reservation-submit-success-content {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 18px;
}

.reservation-submit-success-content span {
    color: #FF0886;
}

.reservation-submit-success-end {
    margin-top: 40px;
}

.reservation-btn-back {
    width: 300px;
    height: 60px;
    border-radius: 100px;
    color: #FFFFFF;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    background-color: #FF0886;
    padding: 0px 0px;
    border: 0px;
}

.reservation-submit-fail {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 40px;
    margin-left: 100px;
    height: 700px;
}

.reservation-submit-fail-title {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 28px;
}

.reservation-submit-fail-content {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    line-height: 30px;
}

.reservation-submit-fail-content-end {
    margin-top: 10px;
}

.reservation-submit-fail-content span {
    color: #FF0886;
}

.reservation-submit-fail-end {
    margin-top: 40px;
}

.reservation-btn-back {
    width: 300px;
    height: 60px;
    border-radius: 100px;
    color: #FFFFFF;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    background-color: #FF0886;
    padding: 0px 0px;
    border: 0px;
}

/*  =========================== Reservation page ===========================  */
.status_desktop {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

.status_mobile {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
}

.status_H {
    color: #FF0886;
}
.status_Y {
    color: #08FFB9;
}
.status_N {
    color: #E5001B;
}

.mr_table_mobile {
    margin-top: 10px;
}

.mr_table_mobile tbody tr td{
    min-width: 180px;
    height: 19px;
    padding: 2px 0px !important;
    border-bottom: 0 !important;
}

/* Title Part */
.mr-de-back-area{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.mr-de-back{
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    color: #CCCCCC9E;
    font-weight: 700;
    font-size: 14px;
    gap: 7px;
}

.mr-click{
    cursor: pointer;
}

.mr-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
}

/* Table Part */
.mr-table-cl {
    width: 100% !important;
    margin: 0px !important;
}

.table_moblie_td {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
}

.table_details4 {
    margin-top: 10px;
    margin-bottom: 64px;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

#mr-table_wrapper {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    max-width: 1140px;
    margin-bottom: 130px;
}

table.mr-table-cl td,
table.mr-table-cl tr {
    background: #ffffff00 !important;
}

.dataTables_wrapper .dataTables_paginate {
    float: left;
    margin-top: 60px;
}

/* 自定義Padding */
table.mr-table-cl.row-border tbody th, 
table.mr-table-cl.row-border tbody td, 
table.mr-table-cl.display tbody th, 
table.mr-table-cl.display tbody td {
    border: 0px;
}

table.mr-table-cl thead .sorting_asc,
table.mr-table-cl thead .sorting_desc,
table.mr-table-cl thead .sorting {
    background-image: none !important;
}

table.mr-table-cl thead th, table.mr-table-cl thead td {
    border-bottom: 2px solid #888888  !important;
}
table.mr-table-cl thead th {
    padding-left: 0px;
    padding-right: 0px;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 14px;
}

table.mr-table-cl tbody th, table.mr-table-cl tbody td {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 0px;
    padding-right: 0px;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 16px;
    height: 19px;
}

/* 自定義排序按鈕樣式 */
table.mr-table-cl thead th {
    position: relative;
    padding-right: 20px;
}

table.mr-table-cl thead th.sorting::after,
table.mr-table-cl thead th.sorting_asc::after,
table.mr-table-cl thead th.sorting_desc::after {
    content: '';
    position: absolute;
    margin-left: 7px;
    top: 50%;
    transform: translateY(-30%);
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 預設排序狀態（無排序） */
table.mr-table-cl thead th.sorting::after {
    background-image: url('../img/gray_desc.svg') !important;
    opacity: 0.3;
}

/* 升序排序 */
table.mr-table-cl thead th.sorting_asc::after {
    background-image: url('../img/pink_desc.svg') !important;
    transform: translateY(-70%) rotate(180deg); /* 向上箭頭 */
    opacity: 1;
}

/* 降序排序 */
table.mr-table-cl thead th.sorting_desc::after {
    background-image: url('../img/pink_desc.svg') !important;
    opacity: 1;
    /* 保持向下箭頭，無需旋轉 */
}

/* 設置容器為 flex 佈局，讓 info 和 search 在同一行 */
.dataTables_wrapper .dataTables_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* 調整 info 樣式 */
.dataTables_info {
    color: #FFFFFF !important;
    margin-right: 10px;
    padding-top: 0px !important;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 15px;
}

/* 調整搜尋框樣式 */
.dataTables_filter {
    display: flex;
    align-items: center;
}

.dataTables_filter label {
    margin-bottom: 0;
    color: #FFFFFF;
}

/* 隱藏或修改清除按鈕 (X) */
.dataTables_filter input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none; /* 隱藏預設清除按鈕 */
}

.dataTables_filter input[type="search"]::-ms-clear {
    display: none; /* 隱藏 IE 的清除按鈕 */
}

.dataTables_filter input[type="search"]::-ms-reveal {
    display: none; /* 隱藏 Edge 的清除按鈕 */
}

.dataTables_wrapper .dataTables_filter input {
    border: none;
    background-color: #FFFFFF33;
    color: #FFFFFF;
    width: 247px;
    height: 50px;
    gap: 15px;
    border-radius: 100px;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 60px;
    padding-right: 10px;

    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 14px;
    
    background-image: url('../img/search8810.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 24px 24px;
}

/* 自定義分頁樣式 */
div.dataTables_paginate {
    text-align: center;
    margin-top: 10px;
}

.dataTables_paginate .paginate_button {
    background: #555;
    color: #FFFFFF !important;
    border: none;
    border-radius: 50% !important;
    width: 44px;
    height: 44px;
    line-height: 22px;
    margin: 0 7px;
    padding: 0;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 18px;
}

.dataTables_paginate .paginate_button.current {
    background: white !important;
    color: black !important;
}

.dataTables_paginate .paginate_button.disabled {
    background: #333;
    color: #999 !important;
    cursor: not-allowed;
}

.dataTables_paginate .ellipsis {
    background: none;
    border: none;
    color: white;
    margin: 0 7px;
    width: 44px;
    height: 44px;
    line-height: 22px;
    display: inline-block;
}

/* 自定義 previous 和 next 按鈕*/
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    position: relative;
    background: #333333;
    border: none;
    width: 44px;
    height: 44px;
    line-height: 22px;
    color: transparent !important;
    border-radius: 100px;
}

.dataTables_paginate .paginate_button.previous::before,
.dataTables_paginate .paginate_button.next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
}

.dataTables_paginate .paginate_button.previous::before {
    background-image: url('../img/vector417.svg');
    transform: translate(-70%, -50%) rotate(180deg); /* 旋轉左箭頭 */
}

.dataTables_paginate .paginate_button.next::before {
    background-image: url('../img/vector417.svg');
    transform: translate(-30%, -50%); /* 右箭頭 */
}

.dataTables_paginate .paginate_button.previous:hover::before,
.dataTables_paginate .paginate_button.next:hover::before {
    opacity: 0.7; /* hover 時稍微淡化 */
}

.dataTables_paginate .paginate_button.previous.disabled::before,
.dataTables_paginate .paginate_button.next.disabled::before {
    opacity: 0.3; /* 禁用狀態淡化 */
}

.dataTables_paginate{
    display: flex;
    flex-direction: row;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: #333333;

}
.dataTables_wrapper .dataTables_paginate .paginate_button{
    color: #FFFFFF !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 9px 17px;
}
/* 停用 hover 效果 */
.dataTables_paginate .paginate_button:hover {
    background: #333333 !important;
}

.dataTables_paginate .paginate_button.current:hover {
    background: #FFFFFF !important;
}

/* 自定義排序按鈕樣式 */
.sort-button-mr {
    background: #666666;
    color: #FFFFFF;
    border: none;
    margin-top: 12px;
    margin-right: 12px;
    cursor: pointer;
    white-space: nowrap;
    height: 46px;
    border-radius: 30px;
    padding-top: 12px;
    padding-right: 26px;
    padding-bottom: 12px;
    padding-left: 26px;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
}

.sort-button-mr:hover {
    background: #555555;
}

.sort-button-mr.asc.active {
    background: #FF0886;
    color: #FFFFFF;
}

.sort-button-mr.desc.active {
    background: #FF0886;
    color: #FFFFFF;
}

.sort-buttons-mr {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    margin-bottom: 45px;
}

.dataTables_wrapper table.dataTable tbody tr {
    background-color: transparent !important;
}

.dataTables_wrapper table.dataTable.display tbody tr td {
    background-color: transparent !important;
}

.dataTables_wrapper  table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #888888;
}

.dataTables_wrapper table.dataTable {
    width: 100% !important;
}

/* =========================== My Reservation Detail page =========================== */

.mrd-contaniner {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 80px;
}

.mrd-de-back-area{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.mrd-de-back{
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    color: #CCCCCC9E;
    font-weight: 700;
    font-size: 14px;
    gap: 7px;
}

.mrd-click{
    cursor: pointer;
}

.mrd-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
}

.status_H {
    color: #FF0886;
}
.status_Y {
    color: #08FFB9;
}
.status_N {
    color: #E5001B;
}

.mrd-top {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

.mrd-title {
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFFB2;
}

.mrd-content {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
}

.mrd-unit {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 220px;
    height: 40px;
}

.mrd-col-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mrd-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.mrd-grip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
}

.mrd-divider{
    max-height: 1px;
    min-height: 1px;
    border: 1px solid #666666;
}

/* =========================== Profile Subordinate page =========================== */

/* Title Part */
.profile-de-back-area{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.profile-de-back{
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    color: #CCCCCC9E;
    font-weight: 700;
    font-size: 14px;
    gap: 7px;
}

.profile-click{
    cursor: pointer;
}

.profile-desc{
    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
}

/* Table Part */
.ps-table-cl {
    width: 100% !important;
    margin: 0px !important;
}

.table_moblie_td {
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
}

.mobile_td_font_size {
    font-size: 20px !important;
}

.table_details1 {
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
}

.table_details2 {
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 18px;
    margin-top: 7px;
    margin-bottom: 13px;
    line-height: 100%;
}

.table_details3 {
    margin-bottom: 65px;
}

#ps-table_wrapper {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    max-width: 690px;
    margin-bottom: 130px;
}

table.ps-table-cl td, 
table.ps-table-cl tr {
    background: #ffffff00 !important;
}

.dataTables_wrapper .dataTables_paginate {
    float: left;
    margin-top: 60px;
}

/* 自定義Padding */
table.ps-table-cl.row-border tbody th, 
table.ps-table-cl.row-border tbody td, 
table.ps-table-cl.display tbody th, 
table.ps-table-cl.display tbody td {
    border: 0px;
}

table.ps-table-cl thead .sorting_asc,
table.ps-table-cl thead .sorting_desc,
table.ps-table-cl thead .sorting {
    background-image: none !important;
}

table.ps-table-cl thead th, table.ps-table-cl thead td {
    border-bottom: 2px solid #888888;
    font-family: Arial;
    font-weight: 700;
    font-size: 14px;
}
table.ps-table-cl thead th {
    padding-left: 0px;
    padding-right: 0px;
}

table.ps-table-cl tbody th, table.ps-table-cl tbody td {
    padding-top: 16px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 16px;
    height: 19px;
    line-height: 1;
}

/* 自定義排序按鈕樣式 */
table.ps-table-cl thead th {
    position: relative;
    padding-right: 20px;
}

table.ps-table-cl thead th.sorting::after,
table.ps-table-cl thead th.sorting_asc::after,
table.ps-table-cl thead th.sorting_desc::after {
    content: '';
    position: absolute;
    margin-left: 7px;
    top: 50%;
    transform: translateY(-30%);
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 預設排序狀態（無排序） */
table.ps-table-cl thead th.sorting::after {
    background-image: url('../img/gray_desc.svg') !important;
    opacity: 0.3;
}

/* 升序排序 */
table.ps-table-cl thead th.sorting_asc::after {
    background-image: url('../img/pink_desc.svg') !important;
    transform: translateY(-70%) rotate(180deg); /* 向上箭頭 */
    opacity: 1;
}

/* 降序排序 */
table.ps-table-cl thead th.sorting_desc::after {
    background-image: url('../img/pink_desc.svg') !important;
    opacity: 1;
    /* 保持向下箭頭，無需旋轉 */
}

/* 設置容器為 flex 佈局，讓 info 和 search 在同一行 */
.dataTables_wrapper .dataTables_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* 調整 info 樣式 */
.dataTables_info {
    color: #FFFFFF !important;
    margin-right: 10px;
    padding-top: 0px !important;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 15px;
}

/* 調整搜尋框樣式 */
.dataTables_filter {
    display: flex;
    align-items: center;
}

.dataTables_filter label {
    margin-bottom: 0;
    color: #FFFFFF;
}

/* 隱藏或修改清除按鈕 (X) */
.dataTables_filter input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none; /* 隱藏預設清除按鈕 */
}

.dataTables_filter input[type="search"]::-ms-clear {
    display: none; /* 隱藏 IE 的清除按鈕 */
}

.dataTables_filter input[type="search"]::-ms-reveal {
    display: none; /* 隱藏 Edge 的清除按鈕 */
}

.dataTables_wrapper .dataTables_filter input {
    border: none;
    background-color: #FFFFFF33;
    color: #FFFFFF;
    width: 247px;
    height: 50px;
    gap: 15px;
    border-radius: 100px;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 60px;
    padding-right: 10px;

    font-family: Noto Sans TC;
    font-weight: 700;
    font-size: 14px;
    
    background-image: url('../img/search8810.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 24px 24px;
}

/* 自定義分頁樣式 */
div.dataTables_paginate {
    text-align: center;
    margin-top: 10px;
}

.dataTables_paginate .paginate_button {
    background: #555;
    color: #FFFFFF !important;
    border: none;
    border-radius: 50% !important;
    width: 44px;
    height: 44px;
    line-height: 22px;
    margin: 0 7px;
    padding: 0;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-family: Noto Sans HK;
    font-weight: 400;
    font-size: 18px;
}

.dataTables_paginate .paginate_button.current {
    background: white !important;
    color: black !important;
}

.dataTables_paginate .paginate_button.disabled {
    background: #333;
    color: #999 !important;
    cursor: not-allowed;
}

.dataTables_paginate .ellipsis {
    background: none;
    border: none;
    color: white;
    margin: 0 7px;
    width: 44px;
    height: 44px;
    line-height: 22px;
    display: inline-block;
}

/* 自定義 previous 和 next 按鈕*/
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    position: relative;
    background: #333333;
    border: none;
    width: 44px;
    height: 44px;
    line-height: 22px;
    color: transparent !important;
    border-radius: 100px;
}

.dataTables_paginate .paginate_button.previous::before,
.dataTables_paginate .paginate_button.next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
}

.dataTables_paginate .paginate_button.previous::before {
    background-image: url('../img/vector417.svg');
    transform: translate(-70%, -50%) rotate(180deg); /* 旋轉左箭頭 */
}

.dataTables_paginate .paginate_button.next::before {
    background-image: url('../img/vector417.svg');
    transform: translate(-30%, -50%); /* 右箭頭 */
}

.dataTables_paginate .paginate_button.previous:hover::before,
.dataTables_paginate .paginate_button.next:hover::before {
    opacity: 0.7; /* hover 時稍微淡化 */
}

.dataTables_paginate .paginate_button.previous.disabled::before,
.dataTables_paginate .paginate_button.next.disabled::before {
    opacity: 0.3; /* 禁用狀態淡化 */
}

.dataTables_paginate{
    display: flex;
    flex-direction: row;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: #333333;

}
.dataTables_wrapper .dataTables_paginate .paginate_button{
    color: #FFFFFF !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 9px 17px;
}
/* 停用 hover 效果 */
.dataTables_paginate .paginate_button:hover {
    background: #333333 !important;
}

.dataTables_paginate .paginate_button.current:hover {
    background: #FFFFFF !important;
}

/* 自定義排序按鈕樣式 */
.sort-button-ps {
    background: #666666;
    color: #FFFFFF;
    border: none;
    margin-top: 12px;
    margin-right: 12px;
    cursor: pointer;
    white-space: nowrap;
    height: 46px;
    border-radius: 30px;
    padding-top: 12px;
    padding-right: 26px;
    padding-bottom: 12px;
    padding-left: 26px;
    font-family: Noto Sans HK;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
}

.sort-button-ps:hover {
    background: #555555;
}

.sort-button-ps.asc.active {
    background: #FF0886;
    color: #FFFFFF;
}

.sort-button-ps.desc.active {
    background: #FF0886;
    color: #FFFFFF;
}

.sort-buttons-ps {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    margin-bottom: 45px;
}


.qr-popup-close {
    background: #333333;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    padding: 0;
    border: 0;
    opacity: 1;
}

.qr-popup {
    background-color: #FFFFFF;
    border: 3px solid #C4C4C4;
    max-width: 450px;
    width: 100%;
    border-radius: 10px;
    padding: 25px 30px;
}

#QRModal .modal-title {
    color: #000000;
}

#QRModal .modal-header {
    padding: 0;
}

#QRModal .modal-dialog {
    justify-content: center;
}

#QRModal .modal-body-container {
    align-items: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.popup_qf_block {
    padding: 24px;
    background-color: #FBFBFB;
    border-radius: 26px;
    box-shadow: 0px 2.61px 15px 0px #00000026;
    width: fit-content;
}

.popup_info_block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
.popup_info_block_name {
    font-family: Noto Sans TC;
    font-weight: 700;
    font-style: Bold;
    font-size: 18.67px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}
.popup_info_block_code {
    font-family: Noto Sans TC;
    font-weight: 400;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.profile-header-btn {
    display: flex;
    gap: 20px;
}

.popup_edit_block {
    display: flex;
    gap: 14px;
}

.popup_edit_block_part {
    width: 100%;
}

.dt_edit_btn {
    display: flex;
}

.mb_edit_btn {
    display: none;
}

.mobile-row-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}



/* =========================== drupal login =========================== */

div:has(>#block-shkp-theme-content) {
    width: 100%;
}

/* 針對 Drupal 產生的 "登入" 按鈕 */
.button.js-form-submit.form-submit {
    width: 300px;
    min-height: 60px;
    padding: 10px;
    background-color: #ff4081;
    color: #FFFFFF;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: Arial;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-top: 30px;
}

.button.js-form-submit.form-submit:hover {
    background-color: #e91e63;
}

#block-shkp-theme-content form,
.user-login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.js-form-item {
    width: min-content;
}

.js-form-required.form-required {
    color: #000000;
}



.hidden-verification-code-input {
    /* 我們不能用 display: none; 因為會導致表單提交失敗 */
    /* 使用 visually-hidden 技巧 */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  
  /* 驗證碼輸入框容器 (圖 2) */
  .verification-code-boxes {
    display: flex;
    justify-content: space-between;
    gap: 8px; /* 框之間的間距 */
    margin: 1.5rem 0;
  }
  
  .code-box {
    width: 48px;  /* 框的寬度 */
    height: 52px; /* 框的高度 */
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    /* 移除 number input 的上下箭頭 */
    -moz-appearance: textfield;
  }
  .code-box::-webkit-outer-spin-button,
  .code-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  .code-box:focus {
    border-color: #007bff; /* 對應您主題的 highligh 顏色 */
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
    outline: none;
  }
  
  /* 驗證碼提示訊息 (圖 2) */
  .verification-message {
    text-align: center;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  /* 「重新發送」按鈕 (圖 2) */
  .resend-button {
    /* 讓它看起來像個連結 */
    background: none;
    border: none;
    color: #007bff; /* 連結顏色 */
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
  }
  .resend-button:hover {
    color: #0056b3;
  }

  
/* * =========================================
 * * Drupal 錯誤訊息
 * * =========================================
 */

  [data-drupal-messages] {
    display: block; 
    background-color: #fff1f1; /* 淡紅色背景 */
    border: 1px solid #e5007f; /* 粉紅色邊框 */
    color: #c2006b; /* 深紅色文字 */
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  [data-drupal-messages] ul {
    margin: 0;
    padding: 0;
    list-style: none; /* 移除 <ul> 的圓點 */
  }
  
  [data-drupal-messages] li {
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  /* 隱藏由 setErrorByName() 產生的空 li 項目 */
  [data-drupal-messages] li:empty {
    display: none;
  }

  [data-drupal-messages] .placeholder {
    vertical-align: inherit;
    background-color: transparent;
    opacity: 1;
    text-decoration: underline;
}


  .login-main #block-shkp-theme-content .reset-pw-resend .resent_OTP {
    background-color: white;
    color: #666;
    margin: 0;
    width: fit-content;
    text-decoration: none;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

  .login-main #block-shkp-theme-content .reset-pw-resend-box .resent_OTP, 
  #block-shkp-theme-content .login-main .reset-pw-resend-box .resent_OTP {
    background-color: white;
    color: #666;
    margin: 0;
    width: fit-content;
    text-decoration: none;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.js-form-type-password label {
    color: #000;
}


/* =========================== edit profile form =========================== */
form.shkp-edit-profile-form {
    gap: 14px;
    flex-direction: row !important;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-end !important;
}

form.shkp-edit-profile-form label.js-form-required.form-required {
    display: block;
    color: #fff;
}

form.shkp-edit-profile-form label {
    display: block;
    color: #fff;
    font-family: Noto Sans HK;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
}

form.shkp-edit-profile-form .js-form-item {
    width: auto;
}

form.shkp-edit-profile-form .button.js-form-submit.form-submit {
    background: #FF0886;
    margin-top: 0;
    margin-bottom: 0;
}

.user-logged-in [data-drupal-messages]{
    max-width: 1320px;
    margin: auto;
}

/*  =========================== User Check page ===========================  */
form#shkp-user-active-form {
    padding: 50px 0 150px;
}

/*  =========================== News page ===========================  */
.news-container .news-footer-button{
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF; /* 白色邊框 */
    color: #000000; /* 白色文字 */
    cursor: pointer;
    position: relative;
    top: -19px;
    border-radius: 100px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 10px;
    min-width: 43px;
    width: fit-content;
    text-align: center;
    box-sizing: unset;
}

.news-container .news-item{
    margin-bottom: 15px;
}

/*  =========================== Agent Login page ===========================  */
.agent-form.form-messages-wrapper {
    max-width: 100%;
    width: 100%;
}

.page-node-type-agent-login [data-drupal-messages], 
.page-node-type-agent-forgot-password [data-drupal-messages],
.page-node-type-agent-password-verify [data-drupal-messages],
.page-node-type-agent-password-reset [data-drupal-messages],
.page-node-type-agent-member [data-drupal-messages],
.page-node-type-agent-home [data-drupal-messages] {
    display: none;
}

.page-node-type-agent-login .agent-form.form-messages-wrapper [data-drupal-messages], 
.page-node-type-agent-forgot-password .agent-form.form-messages-wrapper [data-drupal-messages],
.page-node-type-agent-password-verify .agent-form.form-messages-wrapper [data-drupal-messages],
.page-node-type-agent-password-reset .agent-form.form-messages-wrapper [data-drupal-messages],
.page-node-type-agent-member .agent-form.form-messages-wrapper [data-drupal-messages] {
    display: block;
}

.page-node-type-agent header.logged-in-header,
.page-node-type-static-content header.logged-in-header,
.page-node-type-posts header.logged-in-header,
.page-node-type-agent-home header.logged-in-header,
.page-node-type-agent-member header.logged-in-header,
.page-node-type-export-report header.logged-in-header   {
    display: none;
}

.user-logged-in.path-frontpage .active-agent-header{
    display: none;
}

.user-logged-in.path-frontpage .logged-in-header{
    display: block;
}

.path-frontpage .logged-in-header{
    display: none;
}

.path-frontpage .nav-button.front-page-btn, 
.page-node-type-agent .nav-button.agent-page-btn,
.page-node-type-agent-home .nav-button.front-page-btn, 
.page-node-type-agent-member .nav-button.agent-page-btn{
    background: #FF0886;
}

.feeds_feed__content {
    max-width: 1320px;
    margin: auto;
    padding: 30px 0;
}

form#user-pass-reset {
    margin: 100px;
}

form#user-pass-reset .placeholder {
    vertical-align: inherit;
    background-color: transparent;
}

form#user-pass p{
    font-size: 16px;
    text-align: left;
}

.page-node-type-export-report .report-title {
    font-size: 26px;
}

.page-node-type-export-report .js-form-required.form-required {
    color: #fff;
}

.page-node-type-export-report .js-form-item.form-item.js-form-type-select {
    width: fit-content;
}

.page-node-type-export-report .js-form-item.form-item {
    margin-bottom: 25px;
    text-align: center;
}

.page-node-type-export-report .label {
    margin-bottom: 3px;
}

.page-node-type-export-report .button.export-button {
    width: 200px;
}

.page-node-type-export-report .export-form-wrapper {
    margin-bottom: 100px;
}


div#edit-new-password--description {
    color: red;
    font-size: 12px;
}

/* =========================== min-width =========================== */

@media (min-width: 501px) {
    /* .reset-pw-title,
    .reset-pw-content, */
    .reset-pw-success-title,
    .reset-pw-success-content,
    .login-container .login-title,
    .forget-pw-title {
        margin-left: 30px;
    }
}

@media (min-width: 767px) {
    .mr_table_flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mr_table_flex_img {
        width: 9px;
        opacity: 0.3;
        cursor: pointer;
    }

    .mr_table_flex_img:hover {
        opacity: 1;
    }

    table.mr-table-cl tbody tr {
        transition: background-color 0.3s; /* 平滑效果 */
    }

    table.mr-table-cl tbody tr:hover {
        background: #FFFFFF1A !important; /* 高亮 */
        padding-left: 7px;
        padding-right: 7px;
        border-radius: 10px !important;
        
    }

    table.mr-table-cl thead tr th:first-child,
    table.mr-table-cl thead tr th:last-child{
        border: 0 !important;
        padding: 2px;
    }

    table.mr-table-cl tbody tr td:first-child {
        border-radius: 10px 0 0 10px;
    }
    table.mr-table-cl tbody tr td:last-child {
        border-radius: 0 10px 10px 0;
    }
    table.mr-table-cl tbody tr td:nth-child(2),
    table.mr-table-cl tbody tr td:nth-child(8) {
        font-weight: 700;
    }
}

@media (min-width: 940px) {
    .home-card-container-MKII {
        max-width: 908px;
    }
    .home-card-container {
        display: none;
    }
    .home-header-card {
        max-width: 420px;
    }
}

@media (min-width: 1367px) {
    .home-card-container-MKII {
        max-width: 1328px;
    }
    .mr-container {
        margin-left: 100px !important;
        margin-right: 100px !important;
    }
    .ps-container {
        margin-left: 100px !important;
        margin-right: 100px !important;
    }
}

@media (min-width: 1300px) {
    .reservation-card-container{
        justify-content: flex-start;
        max-width: 1264px;
    }
}

@media (min-width: 1200px) {
    .profile-card-d2{
        margin-left: -100px;
    }
    .card-area{
        width: 420px;
        margin-right: 140px;
    }
}

@media (min-width: 1500px) {
    .profile-container{
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1900px) {
    .profile-container{
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================== max-width =========================== */

@media (max-width: 1366px) {
    .home-card-container :nth-child(4) {
        display: none;
    }
}

@media (max-width: 1250px) {
    .reservation-datetime {
        gap: 50px;
    }
}

@media (max-width: 1200px) {
    .home-card-container :nth-child(4){
        display: none;
    }

    .footer-column {
        min-width: 123px;
    }
}

@media (max-width: 1100px) {
    .row-header-under{
        margin-top: 0px;
        margin-left: 0px;
        padding-top: 48px;
    }

    .row-header-under-login {
        margin-top: -98px;
    }
    
    .row-header {
        margin-bottom: 0px;
    }
}

@media (max-width: 992px){
    .profile-card-d1{
        display: flex;
        justify-content: center;
    }
    .profile-card-d2{
        margin-top: 33px;
        margin-left: 125px;
        max-width: fit-content;
    }
    .profile-card-dm1{
        margin-bottom: 20px;
    }
    .profile-card-qr {
        justify-content: center;
    }
    .popup_edit_block {
        flex-wrap: wrap;
    }
    .dt_edit_btn {
        display: none;
    }
    
    .mb_edit_btn {
        display: flex;
    }

    .popup-input-field {
        max-width: 100%;
    }
}


@media (max-width: 940px) {

    .mb-55 {
        margin-bottom: 21px;
    }
    
    .footer-img{
        display: none;
    }

    .footer-list{
        margin-left: 40px;
    }

    .home-card-container :nth-child(4){
        /*
        display: none;
        */
        display: block;
    }

    .home-card-container :nth-child(3){
        /*
        display: none;
        */
        display: block;
    }

    .footer-column {
        min-width: 123px;
    }

    .row-header-under{
        margin-top: 0px;
        margin-left: 0px;
    }

    .row-header-under-login{
        margin-top: 0px;
        margin-left: 0px;
    }

    .login-main{
        margin-top: 0px;
    }

    /*  Home page hidden 箭頭  */
    .home-button-control{
        display: none;
    }

    /*  QR Code Button 縮小  */
    .home-button-sign {
        width: 127px;
        height: 51px;
        padding-left: 15px;
        padding-right: 15px;
        gap: 10px;
    }    

    .home-user-info{
        flex-direction: column;
        width: 45%;
    }

    .home-user-info .tag{
        margin-right: auto;
        margin-top: 5px;
    }
    .home-more-top a{
        display: none;
    }
    .home-more-bottom a{
        display: flex;
    }

    .profile-card-d2{
        width: fit-content;
    }

    .home-card-container-MKII {
        display: none;
    }
    .home-card-container {
        display: flex;
        flex-direction: column;
        gap: 17px;

    }

    .home-header-card {
        justify-content: center;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

}

@media (max-width: 843px) {

    .reservation-page{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /*  Header Login兩個Button縮小  */
    .login-button-container{
        width: fit-content;
        height: 51px;
    }

    .login-button-container .nav-button{
        width: fit-content;
        height: 47px;
    }

    /*  Header 主要三個Button縮小  */
    .button-container{
        width: fit-content;
        height: 51px;
    }

    .button-container .nav-button{
        width: 145px;
        height: 47px;
    }

    .row-header{
        padding-left: 20px;
        padding-right: 20px;
    }

    .reservation-button {
        margin-right: 0px;
    }

    .reservation-header-control {
        flex-direction: column;
    }

    .reservation-input {
        width: 422px;
    }

    .reservation-header {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .card-area{
        display: flex;
        justify-content: center;
    }
    .footer-img-logo{
        margin-top: 50px;
        margin-left: 26px;
    }
    .footer-list{
        margin-left: 15px;
        max-width: 400px;
        margin-top: 60px;
    }
    .profile-card-d1{
        display: flex;
        justify-content: center;
    }
    .profile-card-d2{
        margin-top: 33px;
        margin-left: 35px;
    }
    .profile-card-dm1{
        margin-bottom: 20px;
    }

    .home-header{
        margin-left: 25px;
        margin-right: 25px;
    }
    .home-header-booking{
        margin-left: 30px;
    }
    .home-card-desc{
        padding-left: 30px;
        padding-right: 30px;
    }
    .reservation-de-header{
        margin: 0px 50px;
    }
    .reservation-unit-area{
        margin: 0px 20px;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        justify-content: center;
    }
    .reservation-contaniner{
        padding-left: 20px;
        padding-right: 20px;
    }

    .reservation-submit-success {
        margin-left: 32px;
        height: auto;
    }
    .reservation-btn-back {
        margin-bottom: 72px;
    }

    .reservation-submit-fail {
        margin-left: 32px;
        height: auto;
    }
    .reservation-btn-back {
        margin-bottom: 72px;
    }
    table.mr-table-cl td {
        border-bottom: 1.5px solid #555555 !important;
    }

    table.mr-table-cl thead th.sorting::after,
    table.mr-table-cl thead th.sorting_asc::after,
    table.mr-table-cl thead th.sorting_desc::after {
        display: none;
    }

    table.ps-table-cl td {
        border-bottom: 1.5px solid #555555 !important;
    }

    table.ps-table-cl thead th.sorting::after,
    table.ps-table-cl thead th.sorting_asc::after,
    table.ps-table-cl thead th.sorting_desc::after {
        display: none;
    }

    .dataTables_wrapper .dataTables_top {
        align-items: flex-start;
        flex-direction: column-reverse;
        margin-bottom: 13px;
    }

    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_filter label,
    .dataTables_wrapper .dataTables_filter label input{
        width: 100%;
        margin-left: 0px;
    }

    .dataTables_wrapper .dataTables_paginate {
        float: none;
        display: flex;
        justify-content: center;
    }
    .mrd-contaniner {
        margin-left: 40px;
        margin-right: 40px;
    }
    .mrd-unit {
        width: unset;
    }
}

@media (max-width: 841px) and (min-width: 768px) {
    .footer-column {
        min-width: 110px;
    }
}

@media (max-width: 500px) {
    .login-container {
        width: 404px;
    }
    .profile-card-d2 {
        margin-left: 12px;
    }

    .row-header-under {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-header-card {
        transform: scale(0.93);
    }
}

@media (max-width: 470px) {
    .row-header-under-login {
        margin-bottom: 45px;
    }
    .login-bottom-terms {
        margin-top: 99px;
    }
    .pj-name {
        transform: scale(0.9);
        transform-origin: top left;
    }
    .button-container-right{
        transform: scale(0.95);
        transform-origin: top right;
    }
    .nav-button {
        font-size: 14px;
    }
    .reservation-card-container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer-img-logo {
        margin-top: 40px;
        margin-left: 16px;
    }
    .footer-list {
        margin-left: 5px;
        max-width: 400px;
    }
    .footer-column {
        min-width: 100px;
    }
    .reservation-datetime .days div{
        padding: 0px;
        margin: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .reservation-card-container{
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .reservation-datetime .calendar{
        width: auto;
    }
    .reservation-time-buttons{
        gap: 5px;
    }
    .reservation-time-button{
        width: 70px;
    }
    .reservation-datetime {
        gap: 50px;
    }
    .home-card-desc{
        padding-left: 30px;
        padding-right: 30px;
    }
    .reservation-card-area {
        transform: scale(0.9);
        transform-origin: top;
        margin-bottom: -250px;
    }

    .container {
        transform: scale(0.9);
        transform-origin: top;
        margin-bottom: -100px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .mobile-hide {
        display: none;
    }
    .mobile-header-margin {
        margin-bottom: 36px;
    }
    .dataTables_wrapper {
        margin-bottom: 10px;
    }
    #mr-table_wrapper {
        margin-bottom: 10px;
    }

    .home-user-info .welcome {
        font-size: 20px;
    }

    .home-user-info {
        width: 60%;
        align-items: start;
    }
    
}

@media (max-width: 440px) {
    .login-container {
        transform: scale(0.9);
        transform-origin: top;
    }
    .login-bottom-terms {
        margin-top: 60px;
    }
    .profile-card-d1 {
       /* transform: scale(0.98);*/
    }

    .profile-card-qr {
       /* transform: scale(0.98);*/
    }

    .profile-card-d2 {
        margin-left: 12px;
    }
    .footer-content{
        transform: scale(0.95);
        transform-origin: top left;
    }
    .footer-bottom{
        margin-left: 10px;
    }
    .home-header-card {
        transform: scale(0.85);
    }
    .profile-header-card {
        transform: scale(0.9);
    }
    .reservation-header-control {
        transform: scale(0.9);
    }

    .reservation-submit-success {
        transform: scale(0.9);
        transform-origin: top left;
    }

    .reservation-submit-fail {
        transform: scale(0.9);
        transform-origin: top left;
    }
    .mr_table_mobile tbody tr td{
        min-width: 160px;
    }

}

@media (max-width: 410px) {
    .reservation-datetime .weekdays, .reservation-datetime .days{
        gap: 0px;
    }
    .row-header {
        transform: scale(0.95);
        padding-left: 5px;
        padding-right: 5px;
    }

    .reservation-de-header {
        margin: 0px 30px;
    }
    .footer-img-logo {
        margin-top: 40px;
        margin-left: 11px;
    }
    .footer-list {
        margin-left: 0px;
        max-width: 400px;
    }

    .login-container {
        width: 350px;
        padding: 30px 30px;
    }

    .reservation-datetime .weekdays, .reservation-datetime .days{
        gap: 0px;
    }
    .reservation-page{
        margin-top: -160px;
        transform: scale(0.85);
    }

    .profile-card-d1 {
        /*transform: scale(0.9);*/
    }
    .profile-card-qr {
        /*transform: scale(0.9);*/
    }

    .profile-card-d2{
        margin-left: 12px;
    }
    .home-card-desc{
        padding-left: 30px;
        padding-right: 30px;
    }
    .reservation-card-area{
        transform: scale(0.9);
        margin-bottom: -400px;
    }

    .home-header {
        margin-bottom: 0px;
    }
    
    .home-card-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .home-user-info {
        transform: scale(0.9);
        transform-origin: top left;
    }
    .home-button-sign {
        transform: scale(0.9);
        transform-origin: top right;
    }
    .home-desc {
        transform: scale(0.9);
        transform-origin: top left;
    }
    .home-card-desc {
        transform: scale(0.9);
        transform-origin: top left;
    }
    .home-header-card {
        transform: scale(0.75);
    }
    .profile-header-card {
        transform: scale(0.85);
    }
    .mr_table_mobile tbody tr td{
        min-width: 130px;
    }
    .mrd-contaniner {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-width: 350px) {
    .home-header-card {
        transform: scale(0.7);
    }
    .profile-header-card {
        transform: scale(0.75);
    }
}

@keyframes blink {
    50% {
      opacity: 0;
    }
  }

form.protected-pages-enter-password{margin-bottom:100px;}
form.protected-pages-enter-password .js-form-required{color:white;}