/* 全局样式 */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

/* 卡片容器 */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    width: 380px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 标题样式 */
.form-container h2 {
    margin-bottom: 30px;
    color: #5c6bc0;
    font-weight: 600;
}

/* 输入框样式 */
input {
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

input:focus {
    border-color: #5c6bc0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.2);
}

/* 按钮样式 */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 链接样式 */
a {
    color: #5c6bc0;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .form-container {
        width: 90%;
        padding: 30px 20px;
    }
}