#auth-signin-modal,
#auth-signup-modal {
    margin:0 auto;
}

#auth-signin-modal .modal-content,
#auth-signup-modal .modal-content{
    border-radius: 8px;
    padding:24px 24px 28px;
    width: 360px;
    margin:0 auto;
}

#auth-signin-modal .modal-body,
#auth-signup-modal .modal-body{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 20px;

    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

.register-link, .register-link:hover {
    color: #9E0620;
    font-weight: 500;
}

.forgot-password-link, .forgot-password-link:hover {
    color: #9E0620;
    font-weight: 500;
    letter-spacing: 0.1px;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;

/*   // gap: 16px;*/

    padding:0;
}

.auth-form-group {
    position: relative;
    width: 100%;
}

.auth-form-group .auth-form-input{
    width: 100%;
    padding:14px 16px;
    border:1px solid #E8E8E8;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    background: #fff;
    height: 48px;
    letter-spacing: 0.15px;
}

.auth-form-group .auth-form-input:focus {
    border:2px solid #9E0220;
}

.auth-form-group .auth-form-label {
    font-family: 'Rubik';
    position: absolute;
    left: 0;
    pointer-events: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding:14px 16px;
    transition: .5s;
    letter-spacing: 0.15px;
    color: #A0A4A8;
}

.auth-form-group input.auth-form-input:valid ~ label.auth-form-label,
.auth-form-group input.auth-form-input:focus ~ label.auth-form-label,
.auth-form-group input.auth-form-input:read-only ~ label.auth-form-label{
    transform: translateX(10px) translateY(-9px);
    font-size: 12px;
    padding:0 5px;
    background: #fff;
}

.auth-form-group input.auth-form-input:read-only ~ label.auth-form-label {
    background: none !important;
}

.auth-form-group input.auth-form-input:read-only {
    background: #f3f2f2;
}

.auth-form-group input.auth-form-input:focus ~ label.auth-form-label {
    color: #9E0220;
}

.auth-form-input .input-group {
    position: relative;
    width: 100%;
    border-radius: 8px;
    border:1px solid #E8E8E8;
}

.auth-form-input .input-group .auth-form-input {
    border-right: 0;
}
.auth-form-group .input-group .auth-form-input {
    border-bottom-right-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.auth-form-group .input-group button {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    position: absolute;
    top:10px;
    right: 14px;
    border:0;
    background: #fff;
}
.auth-form-group .input-group button:focus-visible {
    border:0;
    outline: 0;
}

.auth-form-input .form-control:focus,
.auth-form-input .form-control:focus-visible,
.auth-form-input .form-control:focus-within {
    border:1px solid #d9d9d9 !important;
    box-shadow: none;
}

.auth-from-group-country-code .input-group {
    position: relative;
    width: 100%;
    border: 0;
    border-radius: 0;
}

.auth-from-group-country-code .input-group .sign-up-country-selection,
.auth-from-group-country-code .input-group .sign-in-country-selection {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    position: absolute;
    top: -6px;
    left: 28px;
    background: none;
}

.auth-from-group-country-code .input-group .auth-form-input {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.auth-from-group-country-code .input-group .sign-up-country-selection button,
.auth-from-group-country-code .input-group .sign-in-country-selection button {
    right: -72px;
    background: none;
    top: 12px;
    color: #52575c;
}

.auth-from-group-country-code .input-group .sign-up-country-selection button:focus,
.auth-from-group-country-code .input-group .sign-up-country-selection button:active,
.auth-from-group-country-code .input-group .sign-in-country-selection button:focus,
.auth-from-group-country-code .input-group .sign-in-country-selection button:active  {
    border:none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

.auth-from-group-country-code .input-group .sign-up-country-selection button:hover,
.auth-from-group-country-code .input-group .sign-in-country-selection button:hover {
    color: #52575c;
}

.auth-from-group-country-code .input-group .sign-up-country-selection button span,
.auth-from-group-country-code .input-group .sign-in-country-selection button span {
    font-size: 14px;
    color: #000;
}

.sign-up-country-selection .dropdown-menu,
.sign-in-country-selection .dropdown-menu {
    width: 296px !important;
    height: 400px;
    overflow-y: scroll;
}

.sign-up-country-selection li.filter-country,
.sign-in-country-selection li.filter-country {
    padding-bottom: 0 !important;
}

.sign-up-country-selection .dropdown-menu li,
.sign-in-country-selection .dropdown-menu li {
    padding: 8px;
}

.sign-up-country-selection .dropdown-menu li a,
.sign-in-country-selection .dropdown-menu li a {
    color: #000;
    font-size: 14px;
    font-family: 'Rubik';
    display: inline-flex;
    flex-direction: row;
    gap: 6px;
}


.auth-form > button{
    border-radius: 8px;
    height: 44px;
}

.auth-modal-title .form-control .input-group-text {
    background: #fff;
}

.auth-divider-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-divider-text span {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.1px;
    margin:0 5px;

    width: 80px;
    color: #E8E8E8;

}

.auth-divider-text::before {
    justify-content: flex-start;

    width: 100%;

}

.auth-divider-text::after {
    justify-content: flex-end;

    width: 100%;

}

.auth-divider-text::before, .auth-divider-text::after {
    height: 1px;
    background: #E8E8E8;
    border-radius: 6px;
    content: '';
}

.auth-form-input button{
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    height: 44px;
}

/* auth social button */
.auth-social-button {
    gap: 12px;
    width: 100%;
}

.auth-social-button-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding:8px 42px 8px 16px;
    gap: 8px;
    border:1px solid #E8E8E8;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    height: 44px;
}

.auth-social-button-item span {
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    letter-spacing: 0.1px;
    color: #25282B;
    width: 100%;
}


.auth-social-button .auth-social-facebook,
.auth-social-button .auth-social-facebook span{
    background: #0E70E3 !important;
    color: #fff !important;
}

