body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    /* 改为垂直排列 */
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    background-repeat: repeat;
    background-size: 200px;
}

.welcome-container {
    text-align: center;
    font-size: 72px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-container,
.login-container {
    display: block;
    margin-bottom: 10px;
}

.login-button {
    margin-top: 50px;
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 18px;
    /* 字体放大 */
    color: #000;
    background-color: #65c965;
    /* 浅绿色背景 */
    border: 2px solid #006400;
    /* 深绿色边框 */
    border-radius: 5px;
    cursor: pointer;
}

.login-button:hover {
    background-color: #77dd77;
    /* 鼠标悬停时的浅绿色 */
}

/* 登录模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content form {
    margin-bottom: 10px;
}

.modal-content button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
    /* 按钮之间的间距 */
}

.modal-content button[type="submit"] {
    background-color: #4CAF50;
    /* 登录按钮背景色 */
}

.modal-content .close-button {
    background-color: #f44336;
    /* 关闭按钮背景色 */
}

.modal-content .button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.close-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

form label {
    width: 60px;
    /* 设置标签的固定宽度 */
    text-align: right;
    /* 文字右对齐 */
    margin-right: 10px;
    /* 标签与输入框之间的间距 */
}

form input {
    width: 200px;
    /* 设置输入框的统一宽度 */
    padding: 5px;
    /* 添加内边距 */
    box-sizing: border-box;
    /* 包括内边距和边框在宽度内 */
}