// 导入全局样式变量
@import '@/styles/variables.scss';

.login {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    .bg-gradient-primary {
        background: linear-gradient(135deg, $primary-color 0%, $primary-light 100%);
    }
    &-left {
        width: 50%;
        height: 100%;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    &-right {
        width: 40%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;

        &-content {
            width: 50%;

            &-title {
                margin-bottom: $spacing-8;

                &-text {
                    font-size: $font-2xl;
                    color: $primary-color;
                    border-bottom: 2px solid $primary-color;
                    background: linear-gradient(to bottom, $bg-secondary 50%, #D3DCF6 50%);
                }
            }
        }

        &-copyright {
            width: 100%;
            font-size: $font-sm;
            color: $text-disabled;
            display: flex;
            justify-content: center;
            position: absolute;
            bottom: $spacing-5;
            left: 0;
        }
    }
}