.modal{
    z-index: 1052;
}
.modal.modal-md .modal-dialog{
    max-width: 662px;
}
.modal.modal-md .modal-content{
    border-radius: 8px;
    border: solid 1px #192047;
    background-color: #0c1230;
    background-position: top center;
    background-repeat: no-repeat;
}
#loginModal .modal-content{
    background-image: url("../img/hero/login.svg");
}
#registerModal .modal-content{
    background-image: url("../img/hero/register.svg");
}
.modal-md .modal-body{
    padding: 195px 135px 58px;
}
#registerModal .modal-body{
    padding-top: 235px;
}
.password-label-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title{
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    margin-bottom: 6px;
}
.modal-description{
    font-size: 15px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.54px;
    text-align: center;
    color: #a7a0c6;
    margin-bottom: 46px;
}
.btn.btn-link{
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.5px;
    text-align: right;
    color: #24a594;
    padding: 0px 0 6px 8px;
}
.btn.btn-link:hover{
    text-decoration: underline;
}
label.label{
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    border: none;
}
.show-pass, .show-pass-login{
    display: none;
}
.password-container{
    position: relative;
}
.toggle-password{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.modal-md .btn.btn-success{
    width: 100%;
    border-radius: 5px;
    background-color: #24a594;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 16px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.57px;
    text-align: center;
    color: #fff;
}
.login-with-social{
    display: flex;
    align-items: center;
    margin-bottom: 34px;
}
.btn.btn-block{
    border-radius: 5px;
    background-color: #131b41;
    margin-top: 0;
}
.btn.btn-block img{
    height: 20px;
}
.register-note{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.57px;
    text-align: center;
    margin-bottom: 38px;
}
.to-register-modal, .to-login-modal{
    color: #24a594;
    cursor: pointer;
}
.to-register-modal:hover,
.to-login-modal:hover{
    text-decoration: underline;
}
.modal-md .btn.btn-close{
    border-radius: 5px;
    background-color: #131b41;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.57px;
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 17px;
}
.modal-backdrop.show{
    opacity: 0.95;
    background-color: #040819;
    z-index: 1051;
}
.form-control{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.57px;
}
.form-control::placeholder{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.57px;
    color: #a0a3c6;
}
@media(max-width: 767px){
    .modal.modal-md .modal-dialog {
        max-width: calc(100% - 20px);
    }
    .modal.modal-md .modal-content{
        background-size: contain;
    }
    #loginModal .modal-content {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.9),rgba(0,0,0,0.1) 60%), url('../img/hero/login.svg');
    }
    #registerModal .modal-content {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.9),rgba(0,0,0,0.1) 60%), url('../img/hero/register.svg');
    }
    .modal-md .modal-body {
        padding: 60px 45px 58px;
    }
    #registerModal .modal-body {
        padding-top: 60px;
    }
}
@media(max-width: 575px){
    .modal-md .modal-body {
        padding: 50px 15px 30px;
    }
    .modal.modal-md .modal-dialog {
        max-width: calc(100% - 8px);
    }
}
