html,
body {
    width: 100%;
    height: 100%;
    background: linear-gradient(200deg, #e3c5eb, #a9c1ed);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 16px; /* 设置基础字体大小 */
}

.container {
    width: 90%;
    max-width: 500px; /* 增大最大宽度 */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem; /* 增大标题字体大小 */
}

.input-group {
    margin-bottom: 15px;
}

.input-group-text,
.form-control {
    font-size: 1rem; /* 设置输入框和标签的字体大小 */
}

.links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.links a {
    color: blue;
    text-decoration: none;
    font-size: 0.9rem; /* 设置链接字体大小 */
}

a {
    color: blue;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem; /* 设置链接字体大小 */
}

button {
    width: 100%;
    font-size: 1.1rem; /* 增大按钮字体大小 */
    padding: 0.5rem 0; /* 增加按钮内边距 */
}

/* 小屏幕设备适配 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        max-width: 90%; /* 在小屏幕上保持最大宽度为90% */
    }

    h2 {
        font-size: 1.5rem; /* 在小屏幕上减小标题字体大小 */
    }
}

/* 大屏幕设备适配 */
@media (min-width: 1200px) {
    body {
        font-size: 18px; /* 在大屏幕上增大基础字体大小 */
    }

    .container {
        max-width: 600px; /* 在大屏幕上增大容器最大宽度 */
    }
}