* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    font-size: 18px;
}

.tab.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: 100%;
    padding: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0069d9;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.forgot-password {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password a:hover {
    color: #007bff;
}

.verify-code-container {
    display: flex;
    gap: 10px;
}

.verify-code-container input {
    flex: 1;
}

.verify-code-container button {
    width: auto;
    min-width: 100px;
    padding: 0 15px;
    background-color: #f0f0f0;
    color: #666;
    white-space: nowrap;
}

.verify-code-container button:hover {
    background-color: #e0e0e0;
}
/* 登录按钮样式 */
button[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* 登录按钮悬停效果 */
button[type="submit"]:hover {
    background-color: #000000; /* 悬停时变为黑色 */
}

/* 验证码按钮样式 */
.verify-code-container button {
    width: auto;
    min-width: 100px;
    padding: 0 15px;
    background-color: #f0f0f0;
    color: #666;
    white-space: nowrap;
    transition: background-color 0.3s; /* 添加过渡效果 */
}

/* 验证码按钮悬停效果 */
.verify-code-container button:hover {
    background-color: #000000; /* 悬停时变为黑色 */
    color: white; /* 文字变为白色 */
}

/* 分页标签样式 */
.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 500; /* 默认中等粗细 */
    color: #666;
    transition: all 0.3s;
    font-size: 18px;
}

/* 分页标签悬停效果 */
.tab:hover {
    color: #000000; /* 悬停时文字变黑 */
    font-weight: 600; /* 悬停时加粗 */
}

/* 活动标签样式 */
.tab.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    font-weight: 600; /* 活动状态也加粗 */
}

/* 活动标签悬停效果 */
.tab.active:hover {
    color: #007bff; /* 保持蓝色不变 */
    font-weight: 600; /* 保持加粗 */
}