/* The sign-up page (MemberProfilePage_register.ss): one column, Google and Facebook first, then email and password */
.am-signup {
    max-width: 440px;
    text-align: start;
}

.am-signup .modal-body {
    padding: 24px;
}

.am-signup-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.am-signup-lead {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.am-signup-kept {
    padding: 8px 12px;
    border-radius: 6px;
    background: #e8f6f3;
    color: #1d6b5c;
}

/* the OAuth form's buttons, made the main way in (colours stay the theme's .btn-outline-secondary) */
.am-signup-oauth .form-group {
    margin-bottom: 10px;
}

.am-signup-oauth .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    font-size: 16px;
    font-weight: 700;
}

.am-signup-oauth .fa-google {
    color: #db4437;
}

.am-signup-oauth .fa-facebook {
    color: #1877f2;
}

/* the theme turns the button teal on hover and focus: the icons take the button's white */
.am-signup-oauth .btn:hover .fa,
.am-signup-oauth .btn:focus .fa {
    color: inherit;
}

.am-signup-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    font-size: 14px;
    color: #6c757d;
}

.am-signup-or::before,
.am-signup-or::after {
    content: '';
    flex: 1;
    border-top: 1px solid #dee2e6;
}

/* custom.min.css hides this label, meant for the old two-box field's title; the one box needs it */
.am-signup-form #Form_RegisterForm_Password_Holder > label {
    display: inline-block;
}

.am-signup-form .form-control {
    min-height: 46px;
    font-size: 16px; /* no zoom on focus in iOS */
}

.am-signup-eye {
    margin-top: 6px;
    padding: 4px 0;
    border: 0;
    background: none;
    font-size: 14px;
    color: #1d6b5c;
    text-decoration: underline;
    cursor: pointer;
}

.am-signup-login {
    margin: 18px 0 0;
    text-align: center;
    font-size: 15px;
}

.am-signup-login a {
    font-weight: 700;
}

@media only screen and (max-width: 480px) {
    .am-signup .modal-body {
        padding: 16px 4px;
    }
}
