body {
    font-family: Arial, sans-serif;
    margin: auto;
    background-color: #fff;
}

.container {
    display: block;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.left {
    width: 100%;
    height: auto;
}

.left img {
    height: calc((100vh - 400px)/2);
    width: 100%;
}

.right {
    flex: 2;
    padding: 20px;
    background-color: white;
    max-width: 100%;
    height: calc(100vh - (100vh - 400px)/2 - 40px);
    min-height: 500px;
    position: relative;
}

.right h1 {
    margin-bottom: 30px;
    font-weight: normal;
    font-size: 24px;
    text-align: left;
    margin-top: 0px;
    font-family: monospace;
}
.right h1 label{
    font-size: 18px;
}
.right h1 strong{
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    margin: 10px 0;
    color: #a52020;
}
.right h1 strong img{
    width: 40px;
    margin-right: 5px;
}
.right h1 span{
    display: none;
}

.right h3 {
    margin: auto;
    max-width: 400px;
    margin-top: 0px;
    font-weight: 500;
    text-align: right;
    font-family: cursive,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-style: italic;
}

.right-content {
    margin: auto;
    width: 100%;
    margin-bottom: 60px;
}

.form-content {
    padding: 10px 20px 20px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #f8f8f8;
}

.login-form h2 {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
    margin-top: 0;
    font-size: 20px;
}

.login-form input {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

/* 基础样式 - 移除默认轮廓线 */
input {
    outline: none;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

/* 焦点状态 - 蓝色边框带阴影 */
input:focus {
    border: 1px solid #90c3f3;
}

/* 高对比度无障碍版本 */
input:focus-visible {
    outline: 1px solid #90c3f3;
    border-color: #90c3f3;
}

.login-form button {
    width: calc(100% - 0px);
    padding: 10px;
    background-color: #c83232;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.login-form button:hover {
    background-color: #a52020;
}

.remember-password {
    display: none;
    align-items: center;
    font-size: 14px;
}
.remember-password.active {
    display: flex;
}

.remember-password input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.login, .register {
    position: absolute;
    right: 10px;
    bottom: 5px;
}
/* 基础下划线样式 */
a {
  text-decoration: underline;
  color: #0066cc;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* 悬停时下划线动画效果 */
a:hover {
  color: #4d85bc;
}

/* 已访问链接样式 */
a:visited {
  color: #6e8abd;
}

.copyright {
    color: #aaa;
    font-size: 12px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
    margin-top: 10px;
}

.fixed-bg {
    background-image: url('../img/bg2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: calc((100vh - 400px)/2);
    position: relative;
}

/* 中等屏幕 (≥768px) */
@media (min-width: 768px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .left {
        flex: 1;
        text-align: center;
        width: 60%;
        height: 100%;
    }

    .right {
        flex: 2;
        padding: 20px;
        background-color: white;
        max-width: 40%;
        height: calc(100% - 80px);
    }
    .right h1 {
        font-size: 24px;
        margin-top: 60px;
    }
    .right h1 span{
        display: block;
    }
    .login-form h2 {
        margin-bottom: 20px;
    }
    .left img {
        height: 100%;
    }
    .right-content {
        margin: auto;
        width: 400px;
        margin-bottom: 60px;
    }

    .form-content {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 360px;
        padding: 20px 20px 40px 20px;
    }
    
    /* .copyright {
        width: 40%;
    } */

    .fixed-bg {
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
        width: 100%;
        height: 100vh;
        position: relative;
    }
}

.hidden {
    display: none;
}

.tabs-nav{
    width: 100%;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.tabs-nav .tabs-nav-item {
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 16px;
    color: rgb(115, 119, 122);
    position: relative;
    cursor: pointer;
}
.tabs-nav .tabs-nav-item .tabs-nav-item-text {
    display: inline-block;
    font-weight: 600;
    color: #181818;
    vertical-align: middle;
    transition: all 0.3s ease 0s;
}
.tabs-nav .tabs-nav-item.active .tabs-nav-item-text {
    color: #a52020;
}
.tabs-nav .tabs-nav-item::before {
    content: "";
    position: absolute;
    transform: translate(0px, 5px);
    inset: calc(100% - 2.5px) 0px 0px;
    background: #f8f8f8;
    transition: all 0.3s ease 0s, translate 0s ease 0.3s;
}
.tabs-nav .tabs-nav-item.active::before {
    background: #a52020;
}
.tabs-nav .tabs-nav-item.active::before {
    transition: all 0.3s ease 0s;
}