.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    pointer-events: unset !important;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
    backdrop-filter: blur(12px);
    background: #100907B2;
}

#popup-register {
    display: none;
}

#popup-register.active {
    display: block;
}

.popup {
    margin: 10% auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
    text-align: center;
    background: url("../images/popup-bg.png");
    width: 555px;
    position: relative;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06d85f;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

.popup .close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

#main .section {
    z-index: 1;
}

.form-submit {
    padding: 0;
    padding-top: 60px;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}

.normal-form-submit.form-submit {
    padding-top: 0;
}

.form-submit .form-input {
    display: block;
    position: relative;
    gap: 0px;
    border-radius: 8px;
    border: 1px solid #fede5e;
    background: transparent;
    margin-top: 12px;
    padding: 5px;
}

.form-submit .form-input img.form-icon-image {
    position: absolute;
    top: 9px;
    left: 5px;
}

.form-submit .form-input input {
    padding-left: 40px;
    padding-right: 40px;
    background: transparent;
    border: unset;
    color: white;
    margin-bottom: 0;
    outline: unset;
    box-shadow: none;
}

.form-input-pass .toggle-password {
    cursor: pointer;
    position: absolute;
    top: calc(5% + 15px);
    right: 15px;
    z-index: 9999;
}

.validate-password {
    background: var(
            --gradient-red,
            linear-gradient(
                    90deg,
                    #aa5c44 -2.26%,
                    #e43023 28.78%,
                    #e8533d 61.38%,
                    #e96a00 79.49%,
                    #e70e02 101.22%
            )
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: red;
    transform: initial;
    display: none;
    text-align: left;
    margin-top: 6px;
    margin-bottom: 0px;
}

.form-submit .form-input input:focus {
    outline: unset !important;
    border: unset !important;
    box-shadow: unset !important;
}

.popup .close img {
    width: 60px;
}

.toggle-password {
    cursor: pointer;
}

.loader-submit {
    display: none;
}

.dotted-loader {
    position: relative;
    text-align: center;
    margin-top: 20%;
    cursor: pointer;
    z-index: 9999;
}

.loader-submit {
    height: 100vh;
    position: absolute;
    z-index: 9999;
    width: 100%;
}

.dotted-loader::after,
.dotted-loader::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px #ffdf74;
    border-style: dotted solid dotted solid;
    animation: turn-left 1.5s linear infinite;
}

.dotted-loader::before {
    left: calc(50% - 25px);
    top: calc(50% - 25px);
    width: 150px;
    height: 150px;
    border-style: dotted dotted solid solid;
    animation: turn-right 1.5s linear infinite;
}

.hide {
    display: none;
}

@keyframes turn-right {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes turn-left {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }

    .popup {
        background: url("../images/popup-bg.png");
        width: 350px;
        margin: 30% auto;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .popup .close {
        font-size: unset;
    }

    .popup .close img {
        width: 40px;
    }

    .form-submit {
        padding-top: 50px;
    }

    .form-submit .form-input {
        margin-bottom: 15px;
    }

    .form-submit .form-input input {
        font-size: 14px;
        padding-left: 25px;
    }

    .form-submit .form-input img {
        position: absolute;
        width: 20px;
        top: 12px;
    }

    .form-submit .form-input img.form-icon-image {
        top: 12px;
    }

    .form-submit .form-input img.toggle-password {
        top: 15px;
    }

    .form-input-pass:before {
        top: calc(10% + 10px);
    }
}

/* Kito css */
.show-noti h4 {
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 19.2px */
    text-transform: uppercase;
    background: linear-gradient(
            90deg,
            #aa5c44 -2.26%,
            #e43023 28.78%,
            #e8533d 61.38%,
            #e96a00 79.49%,
            #e70e02 101.22%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 16px;
}

.show-noti h2 {
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 28.8px */
    text-transform: uppercase;
}

.show-noti span {
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.btn-download-mobile {
    position: relative;
    text-align: center;
}

.btn-download-mobile span {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    color: currentColor;
    cursor: pointer;
    display: block;
    font-size: 10px;
    font-weight: bolder;
    letter-spacing: .03em;
    line-height: 2.4em;
    margin-right: 1em;
    margin-top: 0;
    max-width: 100%;
    min-height: 2.5em;
    padding: 0 1.2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    text-shadow: none;
    margin-bottom: -30px;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
}

.btn-download-mobile img {
    width: 100%;
}

@supports (-webkit-tap-highlight-color: transparent) and (hover: none) {
    /* Chỉ áp dụng cho các thiết bị Android */
    .apple-button {
        display: none;
    }
}
@supports (-webkit-touch-callout: none) and (not (hover: hover)) {
    /* Chỉ áp dụng cho các thiết bị iOS */
    .android-button {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    .show-noti h4 {
        font-size: 14px;
    }

    .show-noti h2 {
        font-size: 18px;
    }
}

.validate-user,
.validate-confirm {
    background: var(
            --gradient-red,
            linear-gradient(
                    90deg,
                    #aa5c44 -2.26%,
                    #e43023 28.78%,
                    #e8533d 61.38%,
                    #e96a00 79.49%,
                    #e70e02 101.22%
            )
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: red;
    transform: initial;
    display: none;
    text-align: left;
    margin-top: 6px;
    margin-bottom: 0px;
}

.btn-register {
    cursor: pointer;
    margin-top: 25px;
}
