* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    transition: all 0.1s linear;
}

a {
    text-decoration: none;
}

body {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: white;
    overflow-x: hidden;
    overflow-y: hidden;
}



div {
    cursor: default;

    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

span {
    cursor: default;

    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

input:focus {
    outline: none;
}

/* 页面整体容器 */
.container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    background-image: url("../file/image/main-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    overflow-y: auto;
}

/* 登录框 */
.login-box {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: stretch;
    gap: 20px;
}

.box-left {
    position: relative;
    width: auto;
    height: auto;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.box-right {
    position: relative;
    width: 460px;
    height: auto;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.logo {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* 系统 Logo */
.logo img {
    width: 80px;
    height: 80px;
}

.info {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

/* 系统标题 */
.title {
    position: relative;
    width: auto;
    height: auto;
    font-size: 36px;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* 副标题 */
.subtitle {
    position: relative;
    width: auto;
    height: auto;
    font-size: 24px;
    color: #f6f6f6;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}



/* 登录表单 */
.login-form {
    position: relative;
    margin: 24px;
    padding: 24px;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

.login-title {
    position: relative;
    padding-bottom: 30px;
    width: auto;
    height: auto;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

/* 输入框组 */
.input-group {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 30%;
}

/* 输入框前的图标 */
.input-group .icon {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 24px;
    color: #0091FF;
}

.input-group .icon i {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 1;
}

.input-group label {
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* 具体的输入框 */
.input-group input[type*="text"], .input-group input[type*="password"], .input-group input[type*="number"] {
    position: relative;
    padding: 8px 16px 8px 48px;
    width: 100%;
    height: 46px;
    border: solid 1px #D1D5DB;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

.input-group button{
    position: relative;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #f6f6f6;
    color: #0091FF;
    font-weight: 600;
    font-size: 16px;
}

    /* 选项（记住密码 & 忘记密码） */
.options {
    position: relative;
    padding: 8px 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.options a {
    text-decoration: none;
    color: #0091FF;
    font-size: 14px;
}

/* 记住密码复选框 */
.options label {
    font-size: 14px;
}

/* 忘记密码链接 */
.forgot-password {
    text-decoration: none;
    color: #0091FF;
}

.error-message {
    position: relative;
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #4B5563;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

/* 登录按钮 */
.login-button {
    position: relative;
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 8px;
    background: #0091FF;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

/* 注册链接 */
.register-link {
    position: relative;
    padding-top: 20px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

/* 注册链接中的文本 */
.register-link a {
    text-decoration: none;
    color: #0091FF;
}

/* 页脚 */
.footer {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer .links {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    gap: 10px;
    color: #D1D5DB;
}

.footer .links a {
    color: #b2b5ba;
    font-size: 12px;
}

/* 页脚中的链接 */
.footer p {
    font-size: 12px;
    color: #4B5563;
}

/* 页脚版权信息 */
.footer p {
    font-size: 14px;
    color: #4B5563;
}
