@import url("./components/checkbox.d35f92ee39e3.css");

.auth-wrapper {
  background-color: #ffffff;
  padding: 22px 65px;
  width: 100%;
  max-width: 100%;
}

.auth-box {
    border-radius: 24px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.11);
    padding: 20px 20px 36px;
    justify-items: center;
    max-width: 450px;
    margin: 15px auto;
}


.login-form-field, .register-form-field {
    margin-bottom: 10px !important;
    min-height: 76px;
}

.login-form-error, .register-form-error  {
    padding-left: unset !important;
    text-align: center;
    width: 300px;
}

.hidden{
    display: none;
}

#id_login_button , #id_register_button{
    width: 100%;
    border-radius: 6px;
}

.auth-wrapper{

    .alfin-button-link{
        font-size: 14px;
    }
    
    .form-head {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 22px;
        text-align: center;
    }

    .errorlist li{
        display: none;
    }
    /* .form-group input, .form-group, .form-group input::placeholder{
        font-size: 14px;
    } */
}

/* login popup */

#login-modal{
    .modal-content{
        border-radius: 12px;
    }

    .auth-wrapper{
        padding-top: 0;
    }

    .auth-box{
        margin-top: 0;
        box-shadow: none;
        padding: 14px 20px 36px;
    }
}

/*
 * Proposal pages load components/modal.css, whose generic modal rule turns the
 * Bootstrap dialog into an extra padded white shell. Keep the shared login
 * popup on Bootstrap's layout so it matches the quote-form popup everywhere.
 */
#login-modal.modal.show .modal-dialog {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
    padding: 0;
    transform: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Isolate the shared widget from page-level KYC/proposal form rules. */
#login-modal .login-form-field,
#login-modal .register-form-field {
    display: block;
    position: relative;
}

#login-modal .form-group label.floating-label {
    display: block;
    margin-bottom: 0;
    color: #475f7b;
    font-size: 16px;
    font-weight: 400;
}

#login-modal .form-group.focused label.floating-label,
#login-modal .form-group.focussed label.floating-label {
    top: 4px;
    left: 19px;
    color: #7b7f82;
    font-size: 12px;
}

#login-modal .alfin-input {
    width: 300px;
    height: 56px;
    padding: 21px 19px 8px;
    font-family: Nunito;
    font-size: 16px;
    line-height: 24px;
}

/* mobile */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 0;
    }
    
    #login-modal.modal.show .modal-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
        padding-top: 80px;
    }
}