/* General Body and Layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    font-size: 14px;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 1200px;
}

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 55px;
    background-color: #fff;
    border-bottom: 1px solid #e0e6ed;
    flex-shrink: 0;
}

/* Content Wrapper - Main and Footer with background */
.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-image: url('image/背景.jpg');
    background-size: cover;
    background-position: center calc(50% + 30px);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 30px;
    margin-right: 12px;
}

.logo-text {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    padding-right: 15px;
    border-right: 1px solid #dcdfe6;
}

.site-name {
    font-size: 16px;
    color: #666;
    margin-left: 15px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #606266;
    font-size: 14px;
}

.header-nav a:hover {
    color: #e30613;
}

.header-nav img {
    height: 16px;
    margin-right: 6px;
}

/* Main Content */
.login-main {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 5.5%;
    position: relative;
    background-color: transparent;
}

.login-box {
    width: 270px;
    background-color: #fff;
    border: 1px solid #e0e6ed;
    border-top: 7px solid #e30613;
    border-radius: 8px;
    padding: 35px 30px 55px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: none;
    padding-bottom: 0;
    width: auto;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.form-group select, .form-group input {
    width: 100%;
    height: 32px;
    padding: 6px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}
.form-group select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23606266%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px;
    cursor: pointer;
    font-size: 12px;
}


.form-group select:focus, .form-group input:focus {
    border-color: #e30613;
}

.form-group input::placeholder {
    color: #aab2bd;
}


.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.form-group-checkbox input {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    accent-color: #e30613;
}

.form-group-checkbox label {
    font-size: 12px;
    color: #333;
    line-height: 1.3;
    font-weight: 500;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background-color: #e30613;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 22px;
}

.btn-login:hover {
    background-color: #c00510;
}

.login-helpers {
    font-size: 10px;
    color: #0c0c0c;
    line-height: 1.5;
    font-weight: 500;
}

.login-helpers p {
    margin: 2px 0;
    white-space: nowrap;
}

.login-helpers a {
    color: #0713f5;
    text-decoration: none;
}

.login-helpers a:hover {
    text-decoration: underline;
    color: #3d8ae5;
}

.side-feedback {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e30613;
    color: #fff;
    padding: 15px 8px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}


/* Footer */
.page-footer {
    padding: 20px 40px 25px;
    background-color: transparent;
    text-align: center;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-links {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 0 auto 18px;
    max-width: 500px;
    overflow: hidden;
}

.footer-links .footer-link {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    position: relative;
    transition: background-color 0.3s;
    gap: 6px;
}

.footer-links .footer-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.8);
}

.footer-links .footer-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-links .footer-link img {
    width: 20px;
    height: 20px;
}

.footer-links .footer-link span {
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    padding-bottom: 10px;
}

.copyright img {
    height: 16px;
    margin: 0 5px;
}

.copyright span {
    margin: 0 8px;
    font-size: 11px;
    color: #fff;
    opacity: 0.95;
}
