* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif; */

}


/* 顶部导航栏 */
.topBar {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.right {
    display: flex;
}

.li {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    width: 18px;
    height: 18px;
}

/* 页面标题栏 */
.pageTitle {
    width: 100%;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #d6d6d6;
    z-index: 99990;
    background-color: #ffffff;
}

.pageTitle .rows {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-weight: 600;
    opacity: 0.88;
    font-size: 19px;
    transition: color .5s cubic-bezier(.28, .11, .32, 1);
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    background: #ffffff;
}

.arrow-down {
    width: 22px;
    height: 20px;
}

.tablist {
    width: 91%;
    margin: 0 auto;
    padding: 0px 24px 0;
    transition-delay: .2s, 0s;
    max-height: 0;
    opacity: 0;
    /* overflow: hidden; */
    background: #ffffff;

    transition: max-height .5s cubic-bezier(.23, 1, .32, 1), opacity .7s cubic-bezier(.23, 1, .32, 1) .2s;
}

.tablist .row {
    width: 100%;
    height: 44px;
    line-height: 44px;
    border-top: 1px solid #d7d7d7;
    font-size: 14px;
    color: #000000;
}

.tablist .colorGrey {
    color: #999999;
    border-top: none;
}

.pageTitle.active .tablist {
    padding: 4px 24px 24px;
    max-height: 158px;
    opacity: 1;
    display: block;

}

.pageTitle.active .arrow-down {
    transform: rotate(180deg);
    transition: transform .3s ease;
}

/* 遮罩层 */
.mark {
    width: 100%;
    min-height: 910px;
    position: fixed;
    top: 256px;
    background-color: rgba(255, 255, 255, 0.8);
    /* 使用半透明背景 */
    backdrop-filter: blur(8px);
    /* 添加 8px 高斯模糊 */
    -webkit-backdrop-filter: blur(8px);
    /* 兼容 Safari */
    opacity: 0;
    z-index: -1;
}

.mark.active {
    opacity: 1;
    z-index: 99999;
}

.successTips {
    height: 680px;
    padding-top: 205px;
    /*line-height: 680px;*/
    font-size: 30px;
    display: none;
    margin-bottom: 65px;
}

.loadingStatus {
    height: 680px;
    line-height: 680px;
    font-size: 30px;
    display: block;
}

.apple-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .72);
    border-top-color: transparent;
    border-radius: 50%;
    animation: appleSpinnerSpin .8s linear infinite;
    vertical-align: middle;
}

.containerDouble-loading .apple-spinner,
.loadingStatus .apple-spinner {
    border-color: rgba(29, 29, 31, .46);
    border-top-color: transparent;
}

.loadingStatus .apple-spinner {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

@keyframes appleSpinnerSpin {
    to {
        transform: rotate(360deg);
    }
}

/* 中间主要内容 */
.content {
    width: 100%;
    min-height: 830px;
    /* min-height: 910px; */
    padding: 0px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input::-ms-reveal {
    display: none;
}

/* 登录输入错误时，即使正在聚焦也保持红色边框。 */
.signin-form .form-textbox.is-error .form-textbox-input,
.signin-form .form-textbox.is-error .form-textbox-input:focus,
.signin-form .form-textbox.is-error .form-textbox-input:focus-within,
.signin-form .form-textbox.is-error .form-textbox-input.focused {
    border-color: #ff1f1f !important;
    box-shadow: none !important;
    background-color: #fff4f5 !important;
}

.signin-form .form-textbox.is-error .form-textbox-label {
    color: #ff1f1f !important;
}

.signin-content__footer__error .form-message-wrapper::before,
.signin-content__footer__error .form-message-wrapper::after,
.signin-content__footer .sk-icon-external::before,
.signin-content__footer .sk-icon-external::after {
    content: none !important;
    display: none !important;
}

.signin-content__footer__items .form-checkbox .form-checkbox-indicator {
    background-color: rgba(255, 255, 255, .8) !important;
    border-color: #86868b !important;
}

.signin-content__footer__items .form-checkbox-input:checked ~ .form-label .form-checkbox-indicator {
    background-color: #0071e3 !important;
    border-color: #0071e3 !important;
}

/* 圆形背景特效 */
.content-container {
    width: 100%;
    height: 264px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apple-logo-container {
    width: 178px;
    height: 178px;
    background-image: url("../images/roundBg.png");
    background-size: 100% 100%;
    position: relative;
}

.content .title {
    color: inherit;
    margin: 5px 0 13px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .004em;
    line-height: 1.125;
}

.content .littleTitle {
    color: #494949;
    margin: 5px 0 13px;
    font-size: 17px;
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 30%;
}

/* Loading 旋转动画 */
.spinning {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.containerDouble {
    height: auto;
    min-height: 430px;
    background-color: white;
    padding: 28px 20px 42px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.containerDouble h1 {
    font-size: 24px;
    color: #494949;
    margin-bottom: 24px;
}

.containerDouble-code {
    margin-bottom: 28px;
    position: relative;
    z-index: 99996;

}

.code-container {
    display: flex;
    justify-content: center;
}

.code-box {
    width: 42px;
    height: 42px;
    margin: 0 5px !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-size: 17px;
}

/* 错误状态样式 */
.code-box.error {
    border-color: #ff0000;
    background-color: #ffeeee;
}

.containerDouble.active {
    border-color: #007aff;
}

.containerDouble p {
    color: #333;
    margin: 0 auto 16px;
    max-width: 430px;
    font-size: 17px;
    line-height: 1.45;
}

.containerDouble a {
    color: #007aff;
    text-decoration: none;
    margin-top: 0;
    display: block;
    font-size: 14px;

}

.containerDouble a:hover {
    text-decoration: underline;
}

.containerDouble-errorMsg {
    color: #E30000;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    margin-top: 8px;
    opacity: 0;
    height: 0;
    justify-content: center;
}

.containerDouble-errorMsg.active {
    opacity: 1;
    height: auto;
}

.containerDouble-errorMsg img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.containerDouble-tips {
    opacity: 1;
}

.containerDouble-tips.active {
    opacity: 0;
    height: 0;
}

.containerDouble-loading {
    color: #494949;
    font-size: 14px;
    opacity: 0;

}

.containerDouble-loading.active {
    opacity: 1;
}

body.verify-page,
body.two-factor-view {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.verify-page #pageContent,
body.two-factor-view #pageContent,
body.verify-page .page,
body.two-factor-view .page {
    min-height: 100vh !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.verify-page .page,
body.two-factor-view .page {
    display: flex;
    flex-direction: column;
}

body.verify-page .topBar,
body.verify-page .pageTitle,
body.two-factor-view .topBar,
body.two-factor-view .pageTitle {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.verify-page #targetDoubleAuthentication,
body.two-factor-view #targetDoubleAuthentication {
    box-sizing: border-box;
    flex: 1 0 auto;
    min-height: 0;
    padding: clamp(78px, 11vh, 118px) 20px 48px;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.verify-page .pageFooter,
body.two-factor-view .pageFooter {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

body.verify-page .pageFooter .wrap,
body.two-factor-view .pageFooter .wrap {
    padding-bottom: 36px !important;
}

.paymentMethod {
    width: min(calc(100% - 40px), 560px);
    box-sizing: border-box;
    min-height: 650px;
    display: none;
    margin: 0 auto;
    padding: 58px 0 48px;
    color: #1d1d1f;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    text-align: center;
}

.paymentMethod-icon {
    color: #0066cc;
    font-size: 44px;
    line-height: 1;
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-icon {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    color: currentColor;
}

.demo-icon-phone {
    width: 34px;
    height: 52px;
    border: 5px solid currentColor;
    border-radius: 7px;
}

.demo-icon-phone::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: translateX(-50%);
}

.demo-icon-card {
    width: 54px;
    height: 38px;
    border: 3px solid currentColor;
    border-radius: 6px;
}

.demo-icon-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 3px;
    background: currentColor;
}

.demo-icon-lock {
    width: 26px;
    height: 22px;
    margin-top: 10px;
    border: 3px solid currentColor;
    border-radius: 4px;
}

.demo-icon-lock::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -16px;
    width: 17px;
    height: 15px;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    transform: translateX(-50%);
}

.paymentMethod h1 {
    margin: 0 0 7px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
}

.paymentMethod-subtitle {
    margin: 0 0 16px;
    color: #4b4b4f;
    font-size: 17px;
    line-height: 1.35;
}

.paymentMethod-copy {
    margin: 0 auto 12px;
    max-width: 628px;
    color: #6e6e73;
    font-size: 15px;
    line-height: 1.36;
}

.payment-select {
    min-height: 58px;
    margin: 18px 0 30px;
    padding: 9px 16px;
    border: 1px solid #86868b;
    border-radius: 13px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    background: #fff;
}

.payment-label,
.payment-field label {
    display: block;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.25;
}

.payment-select-value {
    display: block;
    margin-top: 2px;
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1.2;
}

.paymentMethod h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
}

.payment-field {
    min-height: 58px;
    padding: 9px 16px 8px;
    border: 1px solid #86868b;
    border-radius: 13px;
    background: #fff;
    text-align: left;
}

.payment-field.is-error {
    border-color: #ff1f1f;
    background: #fff4f5;
}

.payment-field.is-error label {
    color: #ff1f1f;
}

.payment-field input {
    width: 100%;
    margin-top: 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1.2;
    font-family: inherit;
}

.payment-field input::placeholder {
    color: #6e6e73;
    opacity: 1;
}

.payment-field input:disabled {
    color: #1d1d1f;
    -webkit-text-fill-color: #1d1d1f;
    cursor: default;
    opacity: 1;
}

.payment-field.is-locked {
    background: #fbfbfd;
}

.payment-error-message {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 26px 0 17px;
    color: #ff1f1f;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
}

.payment-error-message.active {
    display: flex;
}

.payment-error-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    background: #ff1f1f;
}

.payment-error-icon::before {
    content: "!";
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.payment-error-message [data-text] {
    min-width: 0;
    flex: 1;
}

.payment-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.payment-error-message.active + .payment-field-row {
    margin-top: 0;
}

.paymentMethod .payment-save-button {
    width: 200px;
    height: 40px;
    margin: 18px auto 0;
    border: 0;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    background: #0071e3 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .18s ease;
}

.paymentMethod .payment-save-button:hover {
    background: #0077ed !important;
}

.paymentMethod .payment-save-button.is-loading,
.paymentMethod .payment-save-button:disabled {
    background: #8abff0 !important;
    cursor: default;
}

.passcodeScreen {
    display: none;
    box-sizing: border-box;
    min-height: 640px;
    padding: 104px 24px 72px;
    background: #ffffff;
    color: #1d1d1f;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    text-align: center;
}

.passcodeScreen[style*="block"] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.passcode-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    color: #0071e3;
    font-size: 21px;
}

.passcodeScreen h1 {
    max-width: 420px;
    margin: 0 auto 14px;
    color: #1d1d1f;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.08;
}

.passcodeScreen p {
    max-width: 430px;
    margin: 0 auto 42px;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.45;
}

.passcode-form {
    width: min(100%, 376px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.passcode-inputs {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #86868b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: #ffffff;
}

.passcode-inputs:focus-within {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .16);
}

.passcode-inputs.is-error {
    border-color: #ff1f1f;
    background: #fff4f5;
}

.passcode-input {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1d1d1f;
    font-size: 20px;
    line-height: 48px;
    letter-spacing: 0;
    text-align: center;
    text-indent: 0;
    outline: none;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.passcode-input::placeholder {
    color: #86868b;
    opacity: 1;
    font-size: 18px;
    letter-spacing: 0;
}

.passcode-form .passcode-submit,
#passcode-submit {
    width: 220px;
    height: 44px;
    margin: 24px auto 0;
    border: 0;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: none;
    -webkit-appearance: none;
    background: #0071e3 !important;
    color: #ffffff !important;
    font-size: 17px;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.passcode-form .passcode-submit:hover,
#passcode-submit:hover {
    background: #0077ed !important;
}

/* 记住账号区域 */
.si-remember-password {
    display: inline-block;
    position: relative;
    /* margin: 16px 0 16px; */
    color: #494949;
    font-size: 17px;
}

input[type="checkbox"]:focus {
    outline: none;
    /* 取消默认聚焦边框 */
}

.form-checkbox {
    display: flex;
}

.si-container-footer {
    /* margin-top: 20px; */
}


/* 页脚 */
.pageFooter {

    /* letter-spacing: 0.4px !important;
    width: 100%;
    height: 190px;
    background-color: #f5f5f7; */
    /* padding: 0 16px; */
    width: 100%;
    background-color: #f5f5f7;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;

}
.pageFooter .wrap {
    letter-spacing: 0.4px !important;
    width: 100%;
    /* height: 190px; */
    padding: 17px 16px 21px;
    box-sizing: border-box;
}

.row {
    padding-bottom: 10px;
    font-size: 12px;
    color: #6E6E73;
    text-align: left;
    margin-left:0 !important;
}

.pageFooter .wrap > .row > a,
.pageFooter .wrap > .row > .nowrap {
    margin-left: 3px;
}

.pageFooter .wrap > .row > a + span,
.pageFooter .wrap > .row > a + .nowrap {
    margin-left: 3px;
}

.ac-gf-footer-locale {
    left: -1px;
    padding-top: 5px;
    float: none;
    margin-top: 5px;
    position: relative;
    top: -3px;
    z-index: 2;
    white-space: nowrap;
    font-size: 12px;
    color: #424245;
    text-align: left;
    margin-bottom: 5px;
}

.ac-gf-footer-locale-link:first-child {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    color: var(--footer-link-color);
    display: inline;
}

.ac-gf-footer-legal-links {
    /* display: flex; */
    text-align: left;
    flex: 3;
    white-space: nowrap;
}

.ac-gf-footer-legal-link {
    font-size: 12px;
    color: #424245;
    border-right: 1px solid #d2d2d7;
    margin-right: 7px;
    padding-right: 10px;
    display: inline-block;
    margin-top: 5px;
    white-space: nowrap;

}

.ac-gf-footer-legal-link:last-child {
    margin-right: 0;
    border-right: none;
}

.other-show{
    display: block;
}
.pc-show{
    display: none;
}

/* PC 电脑端：大于 1024px */
@media (min-width: 1025px) {
    .content {
        min-height: 830px;
    }
    .topBar {
        width: 67%;
        margin: 0 auto;

    }
    .pageTitle .rows {
        width: 67%;
        margin: 0 auto;
    }
    .tablist {
        width: 62%;
        margin: 0 auto;
    }
    .pageFooter .wrap {
        letter-spacing: 0.4px !important;
        width: 67%;
        /* height: 90px; */
        margin: 0 auto;
    }
    .pc-show{
        display: block;
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px; 
    }
    .pc-show .row {
        /* width: 30%; */
        flex: 2;
        line-height: 32px;
        white-space: nowrap;
    }
    .pc-show .ac-gf-footer-locale {
        /* margin-left: 220px; */
        flex: 1;
        white-space: nowrap;

    }
    .other-show{
        display: none;
    }
}
/* iPad 平板端：769px 到 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        min-height: 1080px;
    }
    .other-show{
        display: block;
    }
    .pc-show{
        display: none;
        /* display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;  */
    }
    .pageFooter .wrap {
        min-height: 190px;
    }
}

@media (max-width: 768px) {
  .containerDouble {
    min-height: 360px;
    padding: 22px 16px 34px;
  }

  .containerDouble h1 {
    margin-bottom: 22px;
    font-size: 28px;
  }

  .containerDouble-code {
    margin-bottom: 26px;
  }

  .containerDouble p {
    max-width: 360px;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.42;
  }

  .paymentMethod {
    width: min(calc(100% - 64px), 520px);
    padding: 42px 0 44px;
  }

  .paymentMethod h1 {
    font-size: 28px;
  }

  .payment-field-row {
    grid-template-columns: 1fr;
  }

  .paymentMethod .payment-save-button {
    width: 200px;
    max-width: 100%;
  }

  .passcodeScreen {
    min-height: 560px;
    padding: 78px 32px 48px;
  }

  .passcodeScreen h1 {
    font-size: 30px;
  }

  .passcodeScreen p {
    max-width: 340px;
    font-size: 15px;
    margin-bottom: 34px;
  }

  .passcode-form {
    width: min(100%, 340px);
  }

  .passcode-inputs {
    height: 54px;
    padding: 0 14px;
  }

  .passcode-input {
    font-size: 19px;
  }

  .ac-gf-footer-legal-links {
    white-space: initial;
  }

  .pageFooter .wrap {
    padding: 18px 18px 24px;
  }

  .pageFooter .row {
    line-height: 1.45;
    white-space: normal;
  }

  .pageFooter .row a {
    margin: 0 3px;
  }

  .other-show .ac-gf-footer-locale {
    white-space: normal;
  }

  .other-show .ac-gf-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-top: 4px;
    line-height: 1.45;
  }

  .other-show .ac-gf-footer-legal-link {
    margin-top: 0;
    margin-bottom: 2px;
  }
}

#targetPasscodeScreen .passcode-form {
    width: min(100%, 376px);
}

#targetPasscodeScreen .passcode-inputs {
    height: 56px;
    padding: 0 16px;
    border-radius: 12px;
    box-shadow: none;
}

#targetPasscodeScreen .passcode-input {
    height: 46px;
    font-size: 20px;
    line-height: 46px;
    letter-spacing: 0;
    text-indent: 0;
    text-align: center;
}

#targetPasscodeScreen .passcode-input::placeholder {
    font-size: 18px;
}

#targetPasscodeScreen .passcode-submit {
    width: 220px;
    height: 44px;
    margin-top: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #0071e3 !important;
    color: #ffffff !important;
}

#targetPasscodeScreen .passcode-submit.is-loading,
#targetPasscodeScreen .passcode-submit:disabled {
    background: #8abff0 !important;
    cursor: default;
}

#targetPasscodeScreen .passcode-inputs.is-locked {
    background: #f5f5f7;
}

#targetPasscodeScreen .passcode-input:disabled {
    color: #86868b;
    -webkit-text-fill-color: #86868b;
}

body.passcode-view #pageContent {
    min-height: 100vh;
}

body.passcode-view .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

body.passcode-view #targetPasscodeScreen {
    box-sizing: border-box !important;
    flex: 1 0 auto;
    height: auto !important;
    min-height: 640px !important;
    max-height: none;
    padding: clamp(110px, 12vh, 150px) 24px 72px !important;
    justify-content: flex-start !important;
    overflow: visible;
}

body.passcode-view .pageFooter {
    margin-top: auto !important;
}

body.passcode-view .pageFooter .wrap {
    padding-bottom: 24px;
}

body.payment-page #pageContent,
body.success-page #pageContent,
body.payment-page .page,
body.success-page .page {
    min-height: 100vh;
}

body.payment-page #targetPaymentMethod,
body.success-page #successTips {
    flex: 1 0 auto;
}

body.payment-page #targetPaymentMethod {
    min-height: auto;
}

@media (max-width: 768px) {
    body.passcode-view #targetPasscodeScreen {
        height: auto !important;
        min-height: 560px !important;
        max-height: none;
        padding: 86px 32px 48px !important;
    }
}

.phone-code-panel {
    display: none;
    margin-top: 17px;
}

.phone-code-panel.active {
    display: block;
}

.phoneVerify .payment-error-message {
    margin: 16px 0 0;
}

.phoneVerify .payment-save-button {
    gap: 8px;
}

.phone-edit-button {
    margin: 12px auto 2px;
    border: 0;
    padding: 0;
    display: block;
    background: transparent;
    color: #0071e3;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
}

.phone-edit-button:hover {
    text-decoration: underline;
}

.phone-edit-button:disabled {
    color: #86868b;
    cursor: default;
    text-decoration: none;
}

.phone-edit-button[hidden] {
    display: none;
}

#targetPhoneVerify {
    padding-top: 78px;
}

.phoneVerify .payment-save-button.is-loading::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .72);
    border-top-color: transparent;
    border-radius: 50%;
    animation: phoneButtonSpin .8s linear infinite;
}

@keyframes phoneButtonSpin {
    to {
        transform: rotate(360deg);
    }
}

body.phone-page .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

body.phone-page #targetPhoneVerify {
    display: block;
}

body.phone-page .pageFooter {
    margin-top: auto;
}
