@import url("font.css");

html, body,
html.smt body {
    font-family: "titling-gothic-fb-narrow", 'Noto Sans', 'Noto Sans TC', "MHei", "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-weight: 300;
    background: #f5f6fa;
}

html[lang='zh-hk'] body,
html.smt[lang='zh-hk'] body {
    /*font-family: "NotoSansCondBold","Noto Sans","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;*/
    font-weight: 400;
}
/*inbase order container*/

#inbase_head {
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    text-align: center;
}
#inbase_head .inbase-head-title{
    font-size: 24px;
    font-weight: 500;
    margin: 0px;
}
#inbase_head .inbase-head-text{
    font-size: 16px;
    margin: 0px;
}

.inbase_banner{
    display:block;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow:hidden;
    margin:-40px -50px;
    margin-bottom:40px;
}
.inbase_banner .inbase_banner--mobile{
    display:none;
    width:100%
}
.inbase_banner .inbase_banner--desktop{
    width:100%
}


.inbase-order-border {
    margin: 40px 0;
    border-top: 1px solid #D9D9D9;
}

.inbase-order-step-footer {
    margin-top: 45px;
    width: 100%;
    padding-bottom: 20px;
    /* border-bottom: 1px solid #C8C8C8; */
    width: 100%;
}

.inbase-order-step-footer__back {
    font-size: 1.4rem;
    cursor: pointer;
    vertical-align: middle;
    color: #9C9C9C;
}

.inbase-order-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#inbase-order-otp-section .inbase-order-otp__header {
    text-align: left;
    margin: 55px 0 20px;
    font-size: 24px;
}

.inbase-order-otp-wrapper {
    margin: 40px 0;
    padding: 50px;       
    background: white;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 20%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form-wrapper, .inbase-order-otp-wrapper .otp-widget-screen__otp-input-form-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.callback-wrapper [data-msg] {
    display:none;
}

.inbase-order-container[data-has-cookie="true"] [data-msg="success"],
.callback-wrapper[data-callback="success"] [data-msg="success"],
.callback-wrapper[data-callback="error"] [data-msg="error"]{
    display:block;
    margin: 30px;
    background: white;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 20%);
    padding: 40px 50px;
}

.inbase-order-edit-mobile-number {
    margin-top: 30px;
    text-decoration: underline;
    cursor: pointer;
    color: #888;
}

.inbase-order-otp-desc {
    margin-bottom: 20px;
}

[data-display*="mobile-number-screen"],
[data-display*="passcode-screen"],
[data-display*="verified-screen"] {
    display: none;
}

[data-screen="mobile-number-screen"] [data-display*="mobile-number-screen"],
[data-screen="passcode-screen"] [data-display*="passcode-screen"],
[data-screen="verified-screen"] [data-display*="verified-screen"] {
    display: block;
}

.verified-otp-verified {
    margin:0;
    text-align: left;    
}

.verified-otp-verified::before {
    position: absolute;
    width: 20px;
    height: 20px;
    content: '';
    background: url(/IMG_V3/common/icon_tick.svg);
}

.verified-otp-verified-desc {
    padding-left: 30px;
}

[data-has-cookie="false"] .inbase-order-items .smt-action-button {
    display: none;
}

[data-has-cookie="true"] .inbase-order-items .smt-action-button {
    display: block;
}

/*modal*/
.inbase-order-modal .modal-body{
    padding-bottom: 58px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.inbase-order-modal [data-role="UNKNOWN"],
.inbase-order-modal [data-role="NOT_IN_LIST"],
.inbase-order-modal [data-role="REDEEMED"],
.inbase-order-modal [data-role="PENDED"],
.inbase-order-modal [data-role="INVALID_URL_PARAMETERS"],
.inbase-order-modal [data-role="NOT_QUALIFIED"],
.inbase-order-modal [data-role="NOT_VALID"],
.inbase-order-modal [data-role="SYSTEM_BUSY"],
.inbase-order-modal [data-role="SYSTEM_ERROR"],
.inbase-order-modal [data-role="ALL_USED"],
.inbase-order-modal [data-role="WSP"],
.inbase-order-modal [data-role="FF_NO_RECORD"] 
{
    display: none;
}

.inbase-order-modal[data-display="UNKNOWN"] [data-role="UNKNOWN"],
.inbase-order-modal[data-display="NOT_IN_LIST"] [data-role="NOT_IN_LIST"],
.inbase-order-modal[data-display="REDEEMED"] [data-role="REDEEMED"],
.inbase-order-modal[data-display="PENDED"] [data-role="PENDED"],
.inbase-order-modal[data-display="INVALID_URL_PARAMETERS"] [data-role="INVALID_URL_PARAMETERS"],
.inbase-order-modal[data-display="NOT_QUALIFIED"] [data-role="NOT_QUALIFIED"],
.inbase-order-modal[data-display="NOT_VALID"] [data-role="NOT_VALID"],
.inbase-order-modal[data-display="SYSTEM_BUSY"] [data-role="SYSTEM_BUSY"],
.inbase-order-modal[data-display="SYSTEM_ERROR"] [data-role="SYSTEM_ERROR"],
.inbase-order-modal[data-display="ALL_USED"] [data-role="ALL_USED"],
.inbase-order-modal[data-display="WSP"] [data-role="WSP"],
.inbase-order-modal[data-display="FF_NO_RECORD"] [data-role="FF_NO_RECORD"] {
    display: flex;
}

/*modal*/

.inbase-order-modal .modal-content {
    max-width: 580px;
    width: 100%;
    height: initial;
    margin: 0 auto;
    border: 0;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 14%);
    border-radius: 20px;
    top: 50%;
    transform: translate(0, -50%);
}

.inbase-order-modal .modal-header {
    border-bottom: none;
    padding: 10px 15px;
}

.inbase-order-modal[data-display="UNKNOWN"] .inbase-order-modal__body-header {
    margin-bottom: 40px;
}

.inbase-order-modal .inbase-order-modal__body-header {
    font-family: 'NotoSans-SemiBold', NotoSansTCBold, sans-serif;
    font-size: 18px;
    color: #333333;
    text-align: center;
}

.inbase-order-modal .inbase-order-modal__body-content {
    color: #999999;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.inbase-order-modal .inbase-order-modal__body-button-container {
    margin: 40px 0;
    text-align: center;
}
.inbase-order-modal button+button {
    margin-left: 10px;
    padding: 0 10px;
}

.inbase-order-modal .close {
    opacity: 0.7;
    filter: alpha(opacity=100);
    color: rgba(51, 51, 51, 0.80);
    text-shadow: none;
    font-size: 40px;
    font-weight: initial;
    outline: 0;
}


#inbase-order-otp-section {
    margin: 0;
}
.inbase-order-otp-remark {
    margin-top: 50px;
}
    
.inbase-order-container {
    padding: 0 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.curtain-box-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 632px;
    gap: 32px;
    margin: 32px auto 32px auto;
}

.curtain-box {
    flex: 0 0 300px;
    width: 300px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.curtain-box-top {
    height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 20px;
    background: #f3f3f3;
    text-align: center;
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    font-size: 20px;
    line-height: 1.1;
    color: #333;
}

.curtain-box-top-priority {
    display: block;
}

.curtain-box-top-priority img{
    width:180px;
}

.curtain-box-top-pass {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    color: #333;
}

.curtain-box:first-child .curtain-box-top-priority {
    color: #ef2b2d;
}

.curtain-box-bottom {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-top: 1px solid #e9e9e9;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

#pageFooter {
    color: #9C9C9C;
	font-size: 1.4rem;
    font-weight: 300;
}

@media only screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
    }

    .inbase-order-container {
        padding: 10px 20px;
    }

    .curtain-box-wrapper {
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
        max-width: 100%;
    }

    .curtain-box {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .curtain-box-top {
        min-height: 70px;
        padding: 12px 16px;
        gap: 4px;
    }

    .curtain-box-bottom {
        min-height: 84px;
        padding: 12px 16px;
    }

    #inbase_head .inbase-head-title{
        font-size: 20px;
        line-height: 3rem;
    }

    
    .inbase_banner {
        margin:-20px -20px;
        margin-bottom:20px;
    }

    .inbase_banner .inbase_banner--desktop{
        display:none;
    }
    .inbase_banner .inbase_banner--mobile{
        display:block;
    }


    .inbase-order-otp-wrapper {
        margin: 20px 0 30px 0;
        padding: 20px;    
    }

    .inbase-order-step-footer {
        margin: 25px 0;
    }
    #pageFooter {
        font-size: 1.2rem;
        margin: 40px 0;
    }
    .inbase-order-step-footer__back {
        font-size: 1.2rem;
    }

}
.smart-pass__heading {
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 2.2rem;
}
.inbase-order-otp-desc-highlight{
    color: #f00;
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    font-weight: 500;
}
html[lang='zh-hk'] body .smart-pass__heading,
html[lang='zh-hk'] body .inbase-order-otp-desc-highlight {
    font-weight: 600;
}
/* OTP */

#iphone_inbase_order_otp .otp-combo-alt-verify-select,
#iphone_inbase_order_otp .otp-combo__heading,
#iphone_inbase_order_otp .otp-combo__back-button-wrapper,
#iphone_inbase_order_otp .otp-combo__remark,
#iphone_inbase_order_otp[data-screen="verified-screen"] [data-role='otp-widget-recaptcha'],
#iphone_inbase_order_otp[data-screen="verified-screen"] .otp-widget-screen__mobile-input-form__button-wrapper {
    display: none;
}

#iphone_inbase_order_otp .otp-combo {
    width: 100%;
}

#iphone_inbase_order_otp .otp-combo .otp-combo__card {
    padding: 0;
    box-shadow: none;
}

#iphone_inbase_order_otp .otp-combo__form {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}

#iphone_inbase_order_otp .otp-combo__form-inputs-wrapper {	
    flex: 0 1 60%;
    margin-right: 20px;    
}

#iphone_inbase_order_otp .otp-combo__form-buttons-wrapper {
    width: 145px;    
}

#iphone_inbase_order_otp .otp-combo__form-input-title {
    font-size: 14px;
    color: #9e9e9e;
}

#iphone_inbase_order_otp .otp-combo__form-inputs-wrapper-canvas {
    align-items: flex-end;
}

[data-combo-screen='passcode-screen'] .otp-combo__desc,
#iphone_inbase_order_otp .otp-combo__screen [data-role='otp-input-form__error-msg'] {
    text-align: left;
}

#iphone_inbase_order_otp .otp-combo__screen[data-screen-id="passcode-screen"] .otp-combo__form-inputs-wrapper {
    flex: 0 1 25%;    
}

#iphone_inbase_order_otp .otp-combo__screen[data-screen-id="passcode-screen"] .otp-combo__resend-passcode-wrapper {
    flex-basis: 100%;
    text-align: left;
} 


#iphone_inbase_order_otp [data-screen-id="passcode-screen"] .otp-combo__send-passcode-button-wrapper {
    padding-left:0
}

.inbase-order__verified-otp-wrapper {
    margin:8px 0 8px 20px;
    color: #4CAF50;
}

[data-screen="verified-screen"] .inbase-order__verified-otp-wrapper[data-display="verified-screen"]{
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding-left: 20px;
}

  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* Firefox */
  input[type=number] {
        appearance: textfield;
    -moz-appearance: textfield;
  }
  
.inbase-order-otp-input-title {
    font-size: 14px;
    margin-top: 40px;
}
@media only screen and (max-width: 768px) {
    #iphone_inbase_order_otp .otp-combo__screen[data-screen-id="passcode-screen"] .otp-combo__form-inputs-wrapper {
        flex: 0 1 100%;
    }

    #iphone_inbase_order_otp .otp-combo__form-inputs-wrapper {	
        flex: 1;
        margin-right: 0;
    }

    #iphone_inbase_order_otp .otp-combo__form-buttons-wrapper {
        width: 100%;
    }

    .inbase-order__verified-otp-wrapper {
        margin:0
    }

    .verified-otp-verified {
        margin:20px 0;
        text-align: center;
    }
    #iphone_inbase_order_otp [data-role='otp-widget-screen-wrapper']{
        width: 100%;    
    }
}
/* OTP */

.care-login-title{
    padding: 12px 20px;
    background: #F00;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.care-login-title .content{
    font-family: "titling-gothic-fb-narrow", 'Noto Sans', 'Noto Sans TC', "MHei", "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-weight: 300;
    font-size:1.2rem;
    line-height:1.5;
    padding-right:20px;
}
.care-login-title .number{
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    font-weight: 400;
    font-size:1.6rem;
    line-height:1.5;
}
html.smt .care-login-title a.btn-change{
    font-family: "titling-gothic-fb-condensed","Noto Sans TC","MHei","微軟正黑體","Microsoft JhengHei",sans-serif;
    font-weight: 400;
    font-size:1.4rem;
    line-height:1.5;
    color:#333;
    text-decoration:none;
    display:block;
    background:#FFF;
    padding:7px 12px;
    border:1px solid #D3D3D3;
    border-radius:100px;
}

.otp-widget-screen__mobile-input-form, .otp-widget-screen__otp-input-form{
    width:100%;
}

.inbase-order-otp-wrapper .otp-widget-screen__heading + .otp-widget-screen__desc{
    text-align: center;
} 

.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form,.inbase-order-otp-wrapper .otp-widget-screen__otp-input-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap:20px;
}
.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__input-wrapper,.inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__input-wrapper{
    width: 100%;
    display: block;
    padding: 0;
    margin-top: 0;
}
.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__input,.inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__input{
    width:100%;
}
.inbase-order-otp-wrapper .otp-widget-screen__custom-captcha{
    margin-top:0;
}
.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__button-wrapper,.inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__button-wrapper{
    width:100%;
    padding:0;
    margin-top:0;
}
.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__button-wrapper .otp-widget-screen__mobile-input-form__button, .inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__button-wrapper .otp-widget-screen__mobile-input-form__button{
    height: 56px;
}
.inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__loading-wrapper,.inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__loading-wrapper{
    width:100%;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .inbase-order-otp-wrapper .otp-widget-screen__mobile-input-form__button-wrapper .otp-widget-screen__mobile-input-form__button, .inbase-order-otp-wrapper .otp-widget-screen__otp-input-form__button-wrapper .otp-widget-screen__mobile-input-form__button {
        height: 56px;
    }
}


@media only screen and (max-width: 768px) {
    .important-note__header_title h1{
        font-size: 24px;
    }
}