/* 基础页面设置 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 应用容器 */
#app {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
}

/* 表单容器 */
.form-container {
    display: none; /* 默认隐藏 */
}

.form-container.active {
    display: block; /* 添加 active 类时显示 */
}

.form-container h2 {
    margin-bottom: 20px;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 添加间距 */
}

.form-container input, .form-container select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd; /* 添加边框 */
    border-radius: 4px; /* 添加圆角 */
}

button {
    padding: 10px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background: #0056b3; /* 添加悬停效果 */
}

.hidden {
    display: none;
}

.error {
    color: red;
}

/* 外观样式 */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}