.login-register-page {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.hso-login {
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px #00000017;
    max-height: 90vh;
    overflow-y: auto;
}

.login-header h2 {
    text-align: center;
    color: black;
    margin: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.login-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    margin: 0;
}

.login-content form input[type="tel"],.login-content form input[type="text"],.login-content form input[type="password"] {
    border: 1px solid #000;
    padding: 15px;
    color: black;
    border-radius: 30px!important;
}

.login-content form input[type="tel"]:focus-visible,.login-content form button,.login-content form input[type="password"]:focus-visible,.login-content form input[type="text"]:focus-visible {
    outline: none
}

.hso-login span {
    text-align: center;
    color: black;
    font-size: 15px;
}

.hso-login button {
    position: relative;
}

.hso-login button::after {
    content: '';
    display: block;
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    border: .15rem solid transparent;
    border-right-color: white;
    border-radius: 50%;
    animation: animate .5s linear infinite;
    opacity: 0
}

@keyframes animate {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.hso-login button.loading {
    color: transparent
}

.hso-login button.loading svg {
    display: none
}

.hso-login button.loading::after {
    opacity: 1
}

.login-content form button {
    background: #000000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 40px!important;
    color: #fff;
}


.login-content form button:hover {
    background: #000000;
    border: none;
    color: #fff;
}

.login-content form label {
    color: black;
    font-size: 15px;
}

.login-content form span {
    text-align: center;
}

.login-content form button svg {
    width: 24px;
    height: 24px
}

.hso-login-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.681);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hso-login-modal.show {
    opacity: 1;
    visibility: visible;
}

.hso-modal {
    background: #fff;
    width: 500px;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    position: relative;
}

.hso-login.hso-modal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.85);
    transition: opacity .35s ease, transform .35s ease;
    width: 500px;
    background: #fff;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
}

.hso-login.hso-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.close-modal {
    all: unset;
    position: absolute!important;
    left: 15px;
    top: 15px;
    cursor: pointer;
}

.close-modal:hover {
    transition: 0.4s cubic-bezier(.3, 1, .3, 1);
}

.close-modal svg {
    width: 15px;
    height: 15px;
}

.login-modal-button {
    width: fit-content;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 999px) {
    .hso-login,.login-content form {
        padding: 10px;
    }

    .login-header h2 {
        margin: 10px 0;
    }

    .login-content form {
        gap: 10px;
    }
}

@media screen and (max-width: 570px) {
    .hso-login.modal {
        width:auto;
        min-width: 300px
    }
    .login-modal-button span {
        display: none;
    }
    .login-modal-button, .login-modal-button:hover {
        background: none;
    }
}

@media screen and (max-width: 300px) {
    .hso-login.modal {
        width:auto;
        min-width: 200px
    }
}