/**
 * Copyright (c) Enalean, 2022 - present. All Rights Reserved.
 *
 *  This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 *
 */

.account-registration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tlp-x-large-spacing);
    margin: 0 var(--tlp-medium-spacing);
}

.accont-registration-creation-title {
    margin: 0;
}

.account-registration-content {
    text-align: center;

    > .tlp-text-muted > strong {
        color: var(--tlp-dark-color);
        font-weight: 600;
    }
}

.account-registration-content-title {
    margin: 0 0 var(--tlp-medium-spacing);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.875rem;
}

.account-registration-content-cta {
    margin: var(--tlp-large-spacing) 0 0;
}

.account-registration-error {
    width: 400px;
    margin: 0;
}

.account-registration-form {
    width: 400px;
    padding: var(--tlp-large-spacing);
    border-radius: var(--tlp-x-large-radius);

    .robustness {
        &.good {
            > .password-strategy-bad {
                display: none;
            }
        }

        &.bad {
            > .password-strategy-good {
                display: none;
            }
        }
    }
}

.account-registration-form-submit {
    display: flex;
    margin: var(--tlp-large-spacing) 0 0;
}

.account-registration-background {
    position: fixed;
    z-index: -1;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 733px;
    transform: translateX(-50%);

    @media screen and (max-height: 700px) {
        bottom: -25%;
    }

    @media screen and (min-width: 3000px) {
        transform: translateX(-25%);

        > .homepage-background-illustration {
            transform: scale(2);
            transform-origin: bottom center;
        }
    }
}
