components/auth-form/AuthForm.module.scss
@use '/app/scss/mixins.scss' as *;

.wrapper {
    width: 100%;
    height: 100%;
}

.container {
    padding: 0 12px;
    width: 100%;
    max-height: 684px;
    height: 100%;
    @include center-align;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    position: relative;
    background-color: transparent;
    overscroll-behavior: none;
    scroll-behavior: smooth;
    border-radius: 16px;
    z-index: 1;

    &::-webkit-scrollbar-track {
        background: #e2e2e2;
    }
}

.header,
.auth-list,
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.auth-list {
    margin-bottom: 24px;
    max-width: 360px;
    width: 100%;
}

.auth-item {
    @include center-align;
    justify-content: flex-start;
    margin-bottom: 12px;
    height: 44px;
    padding: 4px 8px;
    width: 100%;
    background-color: var(--auth-item-bg);
    border: 2px solid var(--auth-item-bg-hover);
    position: relative;
    border-radius: 10rem;
    cursor: pointer;

    &:hover {
        background-color: var(--auth-item-bg-hover);
    }

    .auth-logo {
        margin-left: 12px;
        width: 32px;
        height: 32px;
        position: absolute;
        left: 0;
        padding: 4px;
    }

    .auth-item-text {
        display: inline-block;
        padding: 0 40px;
        font-size: 1.6rem;
        font-family: var(--font-family);
        font-weight: 500;
        width: 100%;
        text-align: center;
    }
}

.footer {
    margin-bottom: 24px;
}

.redirect-text {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    margin-bottom: 12px;
}

.link-text {
    font-weight: 600;
    color: var(--red);
    margin-bottom: 12px;
    font-size: 1.6rem;
    text-decoration: underline;
    cursor: pointer;
}

.foot-des-text {
    max-width: 360px;
    font-size: 1.4rem;
    font-family: var(--font-family);
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-low-color);
}

.back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
    cursor: pointer;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 5;
    color: var(--text-color);
    &:hover {
        opacity: 0.8;

        .back-icon {
            transition: transform 0.2s ease;
            transform: translateX(-4px);
        }
    }
}

.back-text {
    font-size: 1.6rem;
    font-family: var(--font-family);

    font-weight: 500;
}

.password-auth {
    width: 100%;
    display: flex;
    justify-content: center;
}

.forgot-password {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 16px;
}
