
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

h1 {
    text-align: center;
}

form {
    width: 300px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    /* 设置输入框的宽度包括padding和border */
    box-sizing: border-box; 
}

input[type="button"] {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="button"]:hover {
    background-color: #45a049;
}
/* 添加样式以定位忘记密码链接到右下角 */
.forgot-password {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #0078d4; /* 设置链接颜色 */
}

.forgot-password:hover {
    text-decoration: underline; /* 鼠标悬停时添加下划线效果 */
}

/* 错误信息弹窗的样式 */
.popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f44336;
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
}

/* 弹窗内容的样式 */
.popup-content {
    padding: 10px;
    font-size: 14px;
}

/* 关闭弹窗按钮的样式 */
.close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}

.close-popup:hover {
    color: black;
}
