* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body {
    background: #d1ba60 url("../images/fresh-snow.png");
    min-height: 10vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    gap: 20px;
}

/* 头部样式 */
header {
    background: #fff;
    /* 白色头部背景 */
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    /* 浅色边框 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a73e8;
    /* 蓝色LOGO文本 */
}


main {
    flex: 1;
    margin: 30px 0;
    /* 新增的代码 */
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

.login-container {
    position: relative;
    z-index: 1;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #7b6148;
    font-size: 28px;
    margin-bottom: 8px;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.input-group .error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 14px;
}

.options a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s;
}

.options a:hover {
    color: #2575fc;
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(to right, #b8860b, #bdb76b);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(203, 169, 17, 0.878);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 169, 17, 0.878);
}

.login-btn:active {
    transform: translateY(0);
}

/* 页脚样式 */
footer {
    background-color: #fff;
    color: #000;
    padding: 30px 0;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.copyright {
    text-align: left;
    font-size: 14px;
    line-height: 24px;
    display: inline-block;
}

.copyright p {
    opacity: 1;
}

.copyright a {
    color: #333;
    text-decoration: none;
    outline: none;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}