.modal .modal-dialog {
    margin-top: 0;
}

.modal .modal-dialog .modal-content .modal-body {
    padding: 0;
}

.auth-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1440px;
    height: calc(100vh - 70px);
    margin: 0 auto;
    position: relative;
}

.cursor-pointer {
    cursor: pointer;
}

.auth-inner .title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 30px;
    color: #1A1A1A;
    text-align: center;
    margin: 25px 0;
}

.auth-inner .logo {
    text-align: center;
}

.auth-inner .join{
    margin-top: auto;
    margin-bottom: 40px;
    background: none;
}

.auth-form {
    margin: auto;
    min-width: 350px;
}

.auth-inner .join p,
.auth-inner .join p a {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #9EA2B2;
    margin-bottom: 0;
}

.auth-inner .join p a {
    color: #000;
}

.auth-inner .description {
    font-size: 16px;
    color: #656A76;
    line-height: 22px;
    letter-spacing: 0;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}

ul.password-errors {
    font-size: 13px;
    color: rgba(101, 106, 118, .7);
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
}

.close {
    padding: 0;
    position: absolute;
    top: 18px;
    right: 0;
    color: #AEAEB2;
    background: #F7F7FA;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.close:hover {
    background: #F2F2F6;
    color: #9499A4 !important;
    opacity: 1;
}

.back {
    padding: 0;
    position: absolute;
    top: 18px;
    left: 0;
    display: flex;
    align-content: center;
    align-items: center;
    gap: 15px;
}

.back .back-btn {
    padding: 0;
    color: #AEAEB2;
    background: #F7F7FA;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back .back-btn:hover {
    background: #F2F2F6;
    color: #9499A4;
}

.forgot-link, .resend-link {
    color: rgba(134, 138, 156, 1);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    display: block;
    cursor: pointer;
}

.forgot-link:hover, .resend-link:hover {
    color: rgba(134, 138, 156, 1);
    text-decoration: underline;
}

.resend-link {
    margin-top: 30px;
}

.forgot-container.error {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.error-text {
    font-size: 13px;
    display: none;
    max-width: 180px;
    color: rgba(221, 7, 8, 1);
}

.error-text img {
    position: relative;
    top: -1px;
    left: -2px;
}

/* FORM */
.form-control,
.form-control:focus,
.form-control:active,
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active{
    background-color: #F3F5F8;
    border-radius: 16px;
    color: #1A1A1A;
    border: 0;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 18px;
    height: 48px;
    outline: none !important;
    box-shadow: none;
    margin-left: 0 !important;
}

.input-group .input-group-text {
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
}

.form-control:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #F3F5F8 inset;
    transition: background-color 9999s ease-in-out 0s;
}

.input-group .form-control {
    padding-left: 0;
}

.inputs-group.error .form-control,
.inputs-group.error .input-group-text {
    background-color: rgba(242, 9, 11, 0.05) !important;
}

.inputs-group.error .form-control-webkit-autofill {
    box-shadow: 0 0 0px 1000px rgba(242, 9, 11, 0.05) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.input-group .input-group-prepend {
    margin-right: 0;
}

.input-group .input-group-append {
    margin-left: 0 !important;
}

.input-group .input-group-text {
    padding: 0 12px 0 18.5px;
}

.form-control::placeholder {
    color: #8C8C8D;
}

.input-group-text {
    line-height: 1;
    border: none;
    background: #F3F5F8;
}

.input-group:has(.input-group-prepend):has(.input-group-append) .form-control {
    border-radius: 0px;
}

.input-group .input-group-append .input-group-text {
    border-radius: 0px 16px 16px 0;
}

.input-group .input-group-prepend .input-group-text {
    border-radius: 16px 0 0 16px;
}

/* last child */

.inputs-group .input-group:last-child .input-group-prepend .input-group-text {
    border-radius: 0 0 0 16px;
}

.inputs-group .input-group:last-child .input-group-append .input-group-text {
    border-radius: 0 0 16px 0;
}

/* not last child */
.inputs-group .input-group:not(:last-child) .form-control {
    border-bottom-right-radius: 0px !important;
}

/* not first child */
.inputs-group .input-group:not(:first-child) .form-control {
    border-top-right-radius: 0px !important;
}

/* first child */
.inputs-group .input-group:first-child .input-group-text {
    border-bottom-left-radius: 0px;
}

.inputs-group .input-group:first-child .input-group-text {
    border-top-left-radius: 16px;
}

.inputs-group .input-group:not(:last-child):after {
    content: "";
    width: 89%;
    height: 1px;
    background-color: rgba(199, 199, 204, 0.5);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 5;
}

.submit-icon {
    cursor: pointer;
}

/* verification code inputs */

.code-digits-container {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.code-digits-container input {
    width: 56px;
    height: 60px;
    outline: none;
    background: rgba(247, 247, 250, 1);
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
}

.code-digits-container input:active,
.code-digits-container input:focus {
    border: 1px solid rgba(219, 219, 225, 1);
}

.code-digits-container.error input {
    background-color: rgba(242, 9, 11, 0.05);
}

.code-digits-container.error input:focus {
    border: 1px solid rgba(242, 9, 11, 0.1);
}