/* 基础样式 */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(to bottom, #f0f8ff, #e6f7ff);
}

.container {
    max-width: 600px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #0077cc;
    margin-bottom: 24px;
    font-size: 3.4em; /* 调大标题字号 */
    letter-spacing: 2px;
    font-weight: bold;
}

/* 标签页按钮 */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 4px;
}

.tab:hover {
    background-color: #d9ebff;
}

.tab.active {
    background-color: #0077cc;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 119, 204, 0.4);
}

/* 表单样式 */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #333;
}

input, select, button {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    border-color: #0077cc;
    box-shadow: 0 0 4px rgba(0, 119, 204, 0.3);
}

button[type="submit"] {
    background-color: #0077cc;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #005fa3;
}

/* 隐藏面板 */
.hidden {
    display: none;
}

/* 提示信息 */
.message {
    margin-top: 10px;
    color: green;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s, transform 0.4s;
    position: fixed;
    left: 50%;
    top: 30%;
    z-index: 9999;
    min-width: 220px;
    max-width: 80vw;
    padding: 18px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    font-size: 1.3em;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.95);
}

.message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

/* 响应式支持 */
@media (max-width: 600px) {
    .tab {
        font-size: 14px;
        padding: 10px;
    }

    input, select, button {
        font-size: 14px;
    }

    h1 {
        font-size: 40px;
    }
}
