/* 页面居中 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 外层居中容器 */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 表单容器 */
.login-container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* 标题 */
h1 {
    color: #333;
    margin-bottom: 25px;
}

/* 输入框 */
form input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
}

form input:focus {
    border-color: #4ade80; /* 绿色高亮 */
    outline: none;
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.4);
}

/* 按钮 */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #22c55e; /* 主绿色 */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background: #16a34a; /* 深绿色悬停效果 */
}

/* 消息提示 */
.msg {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 链接 */
p {
    margin-top: 15px;
    font-size: 14px;
}

p a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

p a:hover {
    text-decoration: underline;
}
