body {
    font-family: 'Maax-Regular', 'Noto Sans JP', sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f7f8f8;
}

.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-43 { margin-top: 43px !important; }

.loader {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 9999;
}

.loader .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    color: #000;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.divider {
    width: 100%;
    height: 1px;
    background: #edf0f0;
}

.text-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #7f8c8d;
    font-size: 11px;
    margin: 20px 0;
}

.text-divider::before,
.text-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #edf0f0;
    margin-top: 1px;
}

.text-divider::before {
    margin-right: 10px;
}

.text-divider::after {
    margin-left: 10px;
}

i {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.btn i.copy-icon:before {
    background-image: url('../images/copy-icon.svg');
    background-size: 16px 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    content:"";
    margin-bottom: -4px;
}

.btn-outline-primary {
    font-size: 13px;
    padding: 12px;
    border-radius: 4px;
    background-color: #fff;
    border-color: #edeeee;
    color: #00141b;
    width: 100%;
    text-align: left;
    line-height: 1;
}

.address-wrapper .btn-outline-primary:not(:first-child) {
    margin-top: 15px;
}

.btn-outline-primary:hover {
    border-color: #008fa1;
    background-color: #f0fafb;
    color: #00adbb;
}

.btn-outline-primary:hover i.copy-icon:before {
    background-image: url('../images/copy-icon-hover.svg');
}

.btn-outline-primary:focus {
    box-shadow: none !important;
    outline: none;
}

.btn-outline-primary:not(:disabled):not(.disabled):active {
    border-color: #e5f6f8;
    background-color: #f0fafb;
    color: #00adbb;
}

.btn-outline-primary i {
    margin-right: 15px;
}

.action-wrapper .btn-outline-primary {
    text-align: center;
    min-width: 240px;
}

.navbar {
    background-color: #00141b !important;
    padding: 10px 0;
    min-height: 54px !important;
}

.navbar-brand {
    font-size: 100%;
    line-height: 1;
}

.navbar-brand img {
    height: 24px;
}

.payment-progress-bar {
    height: 4px;
    margin-bottom: 0;
    background-color: #e5e8e8;
    direction: rtl;
}

.payment-progress-bar .progress-bar {
    background-color: #f9e319;
    border-radius: 4px 0 0 4px;
    -webkit-transition: width 2s !important;
    transition: width 2s !important;
}

.payment-countdown {
    padding: 8px 0;
    font-size: 11px;
}

.payment-countdown span {
    color: #7f8c8d;
}

.payment_title {
    font-family: 'Maax-Medium', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    line-height: 1.3;
    color: #00141b;
}

main .container {
    width: auto;
    max-width: 385px;
    padding: 0 15px;
}

main .container .card {
    margin-bottom: 20px;
    border-radius: 1px;
    border: 0.6px solid rgb(229, 246, 248);
    box-shadow: 0px 2px 4px 0px rgba(0, 173, 187, 0.07), 0px 10px 20px 0px rgba(0, 173, 187, 0.07);
}

main .container .card .card-body {
    padding: 25px;
}

.message-wrapper {
    margin-top: 40px;
}

.message-wrapper .action-wrapper {
    margin-top: 70px;
}

.message-wrapper .message-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    margin-top: -65px;
    margin-bottom: 20px;
}

.message-wrapper.message-success .message-icon {
    background: url("../images/success-icon.svg") center center no-repeat;
    background-size: 80px 80px;
}

.message-wrapper.message-fail .message-icon {
    background: url("../images/fail-icon.svg") center center no-repeat;
    background-size: 80px 80px;
}

.message-wrapper.message-underpaid .message-icon {
    background: url("../images/fail-icon.svg") center center no-repeat;
    background-size: 80px 80px;
}

.message-wrapper.message-error {
    margin-top: 80px;
}

.message-wrapper .info-description {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 15px;
    line-height: 18px;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 13px 15px;
    line-height: 1;
    cursor: pointer;
}

.close-btn .close-icon {
    background-image: url('../images/close-icon.svg');
    background-size: 12px 12px;
    display: inline-block;
    width: 12px;
    height: 12px;
    content: "";
}

.back-btn {
    position: absolute;
    top: 0;
    left: 0;
    padding: 13px 15px;
    line-height: 1;
    cursor: pointer;
}

.back-btn .back-icon {
    background-image: url('../images/arrow-left.svg');
    background-size: 16px 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    content: "";
}

.amount-wrapper {
    width: 100%;
    line-height: 1;
    margin-bottom: 15px;
}

.amount-wrapper span {
    font-size: 28px;
    line-height: 1.3;
    color: #00141b;
}

.amount-wrapper .amount-title {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    color: #7f8c8d;
}

.qr-code-wrapper {
    margin-top: 25px;
    margin-bottom: 25px;
}

.qr-code-info-wrapper span {
    display: block;
    width: 100%;
    font-size: 11px;
    color: #7f8c8d;
    text-align: center;
}

.qr-code-info-wrapper .qr-code-info-title {
    font-family: 'Maax-Medium', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #00adbb;
    font-size: 15px;
    margin-bottom: 20px;
}

.qr-code-wrapper .qr-code-icon {
    position: absolute;
    width: 38px;
    height: 38px;
    background: #fff;
    padding: 4px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -19px;
}

.payment-description-wrapper {
    width: 100%;
    text-align: center;
    line-height: 100%;
    margin-bottom: 10px;
    margin-top: 20px;
}

.payment-description-wrapper span {
    font-size: 10px;
    line-height: 100%;
    color: #666666;
}

.address-wrapper {
    line-height: 1;
}

.address-wrapper .address-info {
    display: inline-block;
    width: 100%;
    font-size: 11px;
    color: #7f8c8d;
    text-align: center;
    margin: 5px 0;
}

.qr-code-text-divider {
    margin: 25px 0;
}

.qr-code-mobile-btn {
    position: relative;
    width: 100%;
    font-size: 11px;
    color: #7f8c8d;
    text-align: left;
    cursor: pointer;
    padding: 10px 0 10px 0;
    margin-bottom: -10px;
    margin-top: -5px;
}

.qr-code-mobile-btn:before {
    position: absolute;
    right: 0;
    background-image: url('../images/arrow-open.svg');
    background-size: 14px 14px;
    display: inline-block;
    width: 14px;
    height: 14px;
    content:"";
    margin-top: 1px;
}

.qr-code-mobile-btn.active:before {
    background-image: url('../images/arrow-close.svg');
}

.qr-code-mobile-wrapper {
    display: inline-block;
    width: 100%;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e5f6f8;
    border-radius: 0 0 4px 4px;
    margin-top: -21px;
    margin-bottom: 20px;
}

.qr-code-mobile-wrapper .qr-code-mobile-info {
    max-width: 170px;
    font-size: 11px;
    color: #7f8c8d;
}

.wallet-wrapper {
    margin-top: 10px;
}

.wallets-title {
    font-family: 'Maax-Medium', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: center;
    color: #00adbb;
    font-size: 14px;
    margin-bottom: 16px;
    margin-top: 20px;
}

.wallet-item {
    border-radius: 4px;
    border: 1px solid #fff;
    margin: 5px 0;
    font-size: 14px;
    padding: 10px;
}

.wallet-item:after {
    content: " ";
    width: 18px;
    height: 18px;
    background: url('../../assets/images/arrow-right-icon.svg');
    margin-right: 0;
}

.wallet-item:hover {
    cursor: pointer;
    background: #f0fafb;
    border-color: #008fa1;
}

.wallet-item .wallet-name {
    text-align: left;
}

.wallet-item .wallet-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 rgba(97, 111, 116, 0.1);
    background: linear-gradient(to bottom, #ffffff, #d0e9ee);
    padding: 1px;
    margin-right: 12px;
}

.wallet-item .wallet-icon-wrapper .wallet-icon {
    width: 100%;
    height: 100%;
    border-radius: 3.4px;
    background: #eef7f8;
}

.wallet-item .wallet-icon-wrapper .wallet-icon img {
    width: 28px;
    height: 28px;
    margin: 5px;
}

.wallets-description-wrapper {
    width: 100%;
    line-height: 100%;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 20px;
}

.wallets-description-wrapper span {
    font-size: 10px;
    color: #666666;
    line-height: 100%;
}

.cancel-payment-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.cancel-payment-wrapper a {
    font-size: 12px;
    text-decoration: underline;
    color: #00adbb;
}

.supported-wallets-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.supported-wallets-wrapper span {
    display: block;
    width: 100%;
    font-size: 11px;
    color: #7f8c8d;
    text-align: center;
}

.supported-wallets-wrapper .list-inline {
    margin: 10px 0 0 0;
}

.supported-wallets-wrapper .list-inline-item:not(:last-child) {
    margin-right: 10px;
}

.supported-wallets-wrapper .list-item-separator {
    width: 1px;
    height: 24px;
    background-color: #edf0f0;
    margin-bottom: -6px;
}

.footer {
    background-color: #f7f8f8;
    border-top: 1px solid #edeeee;
    font-size: 11px;
    padding: 25px 0;
    color: #00141b;
}

.footer p,
.footer .list-inline {
    margin-bottom: 0;
}

.footer .list-inline a {
    color: #00adbb;
}

.footer .list-inline-item:not(:last-child) {
    margin-right: 30px;
}

.sticky-pay-button-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 15px 15px 10px 15px;
    background-color: #fff;
    border-top: 1px solid #f2f4f4;
    text-align: center;
}

.sticky-pay-button-wrapper .btn-primary {
    font-family: 'Maax-Medium', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #00adbb;
    border-color: #00adbb;
    color: #fff;
}

.sticky-pay-button-wrapper .btn-primary:hover {
    border-color: #3D8D9F;
    background-color: #008fa1;
    color: #fff;
}

.sticky-pay-button-wrapper .btn-primary:focus {
    box-shadow: none !important;
    outline: none;
}

.sticky-pay-button-wrapper .btn-primary:not(:disabled):not(.disabled):active {
    border-color: #007e8e;
    background-color: #008fa1;
    color: #fff;
}

.sticky-pay-button-wrapper span {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #7f8c8d;
    margin-top: 8px;
}

@media (max-width: 586px) {
    .mobile-payment .footer {
        padding-bottom: 120px;
    }

    .mobile-payment .sticky-pay-button-wrapper {
        display: inline-block;
    }

    .footer .copyright-content {
        width: 100%;
    }

    .footer .terms-content {
        width: 100%;
        float: left !important;
        margin-top: 15px;
    }

    .footer .list-inline-item:not(:last-child) {
        margin-right: 15px;
    }
}
