:root {
    --primary-color:#da89ad;
    --text-color: #333;
    --bg-color:rgba(241 241 241);
    --border-radius: 10px;
    --tip-color:#fecf56;
    --border-color:rgba(218, 137, 173,.8);
    --bg-color:rgba(240, 240, 240,.6);
    --color:#575e73;
    --active-bg-color:rgba(218, 137, 173,.2)
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", Roboto, sans-serif;
}
.dirve_bot{
    max-width:100%;
}
.drive_top{
    width:100%;
    height:70px;
    background-color: var(--primary-color);
    display:flex;
    justify-content:center;
    align-items: center;
    position:relative;
}
.drive_main{

}
.dirve_icon_first{
    color:#fff;
    font-size:18px;
    position:absolute;
    left:10px;
    cursor:pointer;
    font-weight:600;
}
.dirve_icon_last{
    color:#fff;
    font-size:18px;
    position:absolute;
    right:10px;
    transform: rotate(180deg);
    display:none;
}
.dirve_icon_last.disabled,.dirve_icon_first.disabled{
    color:rgba(255,255,255,0.5);
    cursor: not-allowed;
}
.drive_top_main{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.drive_top_main>span{
    color:#fff;
    margin-bottom:8px;
    text-align: center;
    font-size:17px;
    font-weight:600;
}
.top_index_s{
    display:flex;
}
.top_index_s .index_circle{
    width:38px;
    height:8px;
    background-color: rgba(255,255,255,0.3);
    margin-left:10px;
    transition: all 0.3s ease;
}
.first_index_circle{
    border-radius: 30px 0 0 30px;
    margin-left:0;
}
.last_index_circle{
    border-radius: 0 30px 30px 0;
}
.index_circle.active{
    background-color: #fff;
}
.dirve_page{
    display:none;
}
.dirve_page.active{
    display:block;
    transform: translateX(0)
}
.dirve_page.prev{
    transform: translateX(-100%);
}
.dirve_page.next {
    transform: translateX(100%);
}
.form_top_tip{
    line-height:45px;
    /* color:#fff;  */
    background-color: var(--tip-color);
    width:100%;
    text-align: center;
}
.length{
    max-width:100%;
}
.common_div{
    border-radius:var(--border-radius) ;
    background-color:var(--bg-color);
    padding:13px 10px 13px 20px;
    color:var(--color);
    font-size:16px;
    cursor: pointer;
    transition: all 0.3 ease;
    border:1px solid transparent;
}
.common_div:hover{
    background-color:var(--active-bg-color) ;
}
.page{
    max-width:60%;
    margin:25px auto;
}
.page_tit{
    font-size:20px;
    font-weight:600;
}
.one_book,.one_number,.one_yes_number.two_email{
    display:none;
}
.date_tip{
    margin-top:10px;
    display:flex;
    align-items: flex-start;
    color:red;
}
.date_tip>img{
    width:30px;
    margin-right:10px;
    margin-top:-5px;
}
.two-cell .cell{
    display: inline-block;
    width:48.6%;
    text-align: center;
}
.two-cell>div:nth-child(1){
    margin-right:2%;
}
.active_border{
    border-color:var(--border-color) !important;
    background-color: var(--active-bg-color) !important;
}
.deActive_border{
    cursor:not-allowed;
}
.deActive_border:nth-child(1):hover{
    background-color:var(--bg-color);
}

.layui-input{
    height:auto;
    padding:13px 10px;
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    border-color:transparent;
    font-size:16px;
    box-sizing: border-box;
    line-height:1;
}
.page .layui-form-item .layui-inline{
    width:100%;
    margin-top:15px;
}
.page .layui-form-item .layui-inline .layui-input-inline{
    width:49%;
    margin-right:2%;
}
.page .layui-form-item .layui-inline .end_date{
    margin-right:0;
}
.page .layui-form-mid{
    display: none;
}
.liveCity{
    display:flex;
    flex-wrap: wrap;
    margin-top:15px;
}
.liveCity>div{
    width:49%;
    padding-left:20px;
    box-sizing: border-box;
    margin-bottom:10px;
}
.liveCity>div:nth-child(1){
    width:59%;
}
.liveCity>div:nth-child(2){
    width:39%;
}
.liveCity>div:nth-child(2n-1){
    margin-right:2%;
}
.marginTop15{
    margin-top:15px;
}
.one_email{
    display:none;
}
.div_flex{
    display:flex;
}
.name1{
    width:20%;
    margin-right:10px
}
.name2{
    width:39%;
    margin-right:10px
}
.name3{
    width:39%;
}
.layui-form-item{
    margin-bottom:0;
}
.textCenter{
    text-align:center;
}
.flexCenter{
    display:flex;
    align-items: center;
}
.icon{
    width:20px;
    margin-right:10px;
}
.next-day-booking-container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding:15px 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    margin-top:15px;
}
.next-day-booking-label{
    display:flex;
    align-items: center;
    font-size:16px;
    color:var(--color);
}
.question-icon-wrapper{
    position: relative;
    display: inline-block;
    margin-left:8px;
}
.question-icon{
    width:20px;
    height:20px;
    cursor:pointer;
    color: #999;
    flex-shrink: 0;
}
.question-icon path,
.question-icon circle{
    stroke: currentColor;
}
.tooltip-content{
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    width: 320px;
    background-color: #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}
.tooltip-content::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}
.question-icon-wrapper:hover .tooltip-content{
    opacity: 1;
    visibility: visible;
}
.tooltip-content p{
    margin: 0;
}
.tooltip-content p strong{
    font-weight: 600;
}
.toggle-switch{
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    cursor: pointer;
}
.toggle-switch input{
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    margin: 0;
}
.toggle-slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 28px;
    z-index: 1;
}
.toggle-slider:before{
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    z-index: 2;
}
.slider-dot{
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}
.toggle-switch input:checked + .toggle-slider,
.toggle-switch.switch-on .toggle-slider{
    background-color: var(--primary-color) !important;
}
.toggle-switch input:checked + .toggle-slider:before,
.toggle-switch.switch-on .toggle-slider:before{
    transform: translateX(22px) !important;
}
.toggle-switch.switch-off .toggle-slider{
    background-color: #ccc !important;
}
.toggle-switch.switch-off .toggle-slider:before{
    transform: translateX(0) !important;
}
.chance-tips{
    margin-top:30px;
    background:rgba(240, 240, 240,.6);
    display:flex;
    padding:10px;
    border-radius:10px;
}
.chance-tips>img{
    flex-shrink:0;
    margin-right:10px;
}
.chance-tips>ul>li>p:nth-child(1){
    font-size:16px;
    font-weight:600;
    color:red;
    margin-top:5px;
}
.chance-tips>ul>li>p:nth-child(2){
    line-height:1.5;
    margin-left:10px;
}
.submit{
    margin:50px auto;
    width:60%;
}
.commonBtn{
    width:100%;
    height:50px;
    line-height:50px;
    border-radius: 30px;
    color:#fff;
    border:1px solid var(--border-color);
    background-color:var(--active-bg-color);
    color:var(--primary-color);
    font-size:18px;
    font-weight:600;
    cursor:pointer;
}
#submitBtn{
    display:block;
}
#payBtn{
    display:none;
}
/* ---------- Loading state for submit ---------- */
#payBtn.loading {
    position: relative;
    opacity: 0.8;
    pointer-events: none;
    color:transparent;
}
#payBtn.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.submit_pay.pay_loading{
    position: relative;
    opacity: 0.8;
    pointer-events: none;
    color:transparent;
}
.submit_pay.pay_loading>img{
    display:none;
}
.submit_pay.pay_loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 3px solid #4f55f1;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.cen_tip{
    margin-top:10px;
    display:flex;
    align-items: center;
    color:red;
}
.cen_tip>img{
    width:30px;
    margin-right:10px;
    margin-top:-5px;
}
/* 修改引入的css样式 */
.text-blue-600,.text-blue-700{
    color:var(--primary-color) !important;
}
.bg-blue-100{
    background-color:var(--active-bg-color)!important;
}
.bg-pink-100{
    background-color:var(--active-bg-color) !important;
}
.p-2{
    z-index:20;
}
.p-3{
    padding:0.9rem;
}
.tip{
    width:140px;
    font-size:12px;
    line-height:20px;
    background-color: #f23a3c;
    color:#fff;
    margin-top:8px;
    text-align: center;
    border-radius:4px;
}
#message{
    background-color: rgba(220, 38, 38,0.8);
    color:#fff;
    padding:20px;
    box-sizing: border-box;
    text-align: center;
    font-size:16px;
    display:none;
    width:100%;
}

/* 支付页面 */
.pay_page{
    max-width:45%;
    margin:0 auto;
    margin-top:20px;
}
.pay_page .pay_tit{
    font-size:24px;
    font-weight:600;
}
.pay_page .pay_tit_1{
    font-weight:600;
    font-size:16px;
    margin-top:10px;
}
.pay_page .pay_tit_2{
    color:var(--color);
    margin-top:10px;
}
.pay_page .pay_con>p{
    margin-top:25px;    
    font-size:18px;    
}
.common_padding{
    padding:20px 15px;
    display:flex;
    justify-content: space-between;
    align-items:center;
}
.common_padding .left>p:nth-child(1){
    font-weight:600;
    font-size:18px;
}
.common_revolut{
    margin-top:20px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    border:1px solid var(--bg-color);
    background:#fff;
    border-radius:var(--border-radius);
}
.revolute .left>p:nth-child(2){
    font-size:14px;
}
.width150{
    width:150px; 
}
.revolut_pay_icon{
    display:flex;
    justify-content:center;
}
.revolut_pay_icon>img{
    width:25px;
    height:25px;
    display:block;
    margin-right:3px;
}
.other>div{
    padding:15px 15px 25px 15px;
}
/* 隐藏按钮下面的文字 */
#revolut-pay>div{
    min-width:100% !important;
}
.card-pay{
    max-width:90%;
    margin:0 auto
}
#card{
    width:155px;
    border-radius:30px;
    height:40px;
    background:#edeefd;
    color:#4f55f1;
    font-weight:600;
    text-align:center;
    line-height:40px;
    cursor:pointer;
}
#card-field{
    width:100%;
    background-color: var(--bg-color);
    border-color:transparent;
    border-radius:var(--border-radius);
    padding:14px 10px;
    box-sizing: border-box;
}
.submit_pay{
    width:100%;
    border-radius:30px;
    height:40px;
    background:#edeefd;
    color:#4f55f1;
    font-weight:600;
    cursor:pointer;
    margin-top:20px;
    display:flex;
    align-items: center;
    justify-content: center;
}
.submit_pay>img{
    width:20px;
    height:20px;
    margin-right:10px;
}
#submit_pay_tip{
    display:none;
}
.pay_page_success{
    max-width:60%;
    margin:0 auto;
    margin-top:30px;
    text-align: center;
    display:none;
}
.success_img{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
}
.success_img>img{
    width:60px;
    height:60px;
    margin:0 auto;
}
.pay_page_success>p{
    font-size:16px;
    text-align: center;
}
.heading {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0 10px;
}
.subscription-id {
    font-size: 18px;
    color: #d63384;
    margin-bottom: 20px;
}
.subscription-id2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
.subscription-id2>p{
    color: #d63384;
}
.success_info {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
.info_no{
    display:none;
}
.info_auto{
    display:none;
}
.telegram {
    color:#0000ee;
    margin-top:10px;
    font-weight: bold;
}
.success_email {
    margin-top: 30px;
    font-size: 15px;
}
.success_email a {
    color: #d63384;
    text-decoration: none;
    font-weight: bold;
}
.city50{
    width:48.6%;
    margin-right:2%;
}
.city0{
    margin-right:0;
}
.flex50{
    display:flex;
}
.pay_bottom{
    width:50%;
    margin:0 auto;
    padding-bottom:50px;
    box-sizing: border-box;
    text-align: center;
    color:#717173;
    font-size:14px;
}
.bottom_img{
    margin:0 auto;
    display:flex;
    margin-top:50px;
    justify-content: center;
}
.bottom_img>img{
    width:25px;
    height:25px;
    margin-right:20px;
}
.bottom_img>img:last-child{
    margin-right:0;
}
.bottom_tit1{
    margin-top:20px;
    color:#717173;
    display:flex;
    flex-direction: column;
}
.bottom_tit1>img{
    width:128px;
    height:auto;
    margin:0 auto;
    margin-top:10px
}
.bottom_tit2{
    color:#717173;
    margin-top:20px;
    font-size:12px;
}
.bottom_tit2>p:nth-child(2) a{
    color:#0000ee;
}
@media screen and (max-width:768px){
    .dirve_bot{
        max-width:100%;
    }
    .form_top_tip{
        line-height:0;
        line-height:25px;
        padding:6px;
        box-sizing: border-box;
    }
    .page{
        max-width:90%;
    }
    .page_tit{
        font-size:18px;
    }
    .layui-form-item .layui-input-inline{
        margin-left:0 !important;
        width:100% !important;
    }
    .two-cell .cell{
        width:47.6%;
    }
    .pay_page{
        max-width:90%;
    }
    .common_padding{
        display:block;
        padding:15px;
        text-align: center;
    }
    .width150{
        width:100%;
        margin-top:10px;
    }
    #card{
        width:calc(100% + 5px);
    }
    .pay_page_success{
        max-width:90%;
    }
    .card-pay{
        max-width:100%;
    }
    .submit{
        width:90%;
    }
    .city50{
        width:100%;
    }
    .flex50{
        display:block !important;
    }
    .div_flex{
        display:flex;
        flex-wrap:wrap;
    }
    .name1{
        width:29%;
        margin-right:15px;
        display:inline-block;
    }
    .name2{
        display:inline-block;
        width:63.6%;
    }
    .name3{
        width:100%;
    }
    .pay_bottom{
        width:100%;
    }
}
@media screen and (max-width:450px) {
    .layui-form-item .layui-input-inline{
        margin-left:0 !important;
        width:100% !important;
    }
}