body { margin: 0; height: 100vh; display: flex; justify-content: center; align-items: center; font-family: Arial, "Microsoft YaHei", sans-serif; background: linear-gradient(135deg, #fceef5 0%, #e6d9ff 100%); }
.card { background: rgba(255, 255, 255, 0.92); padding: 35px 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(180, 130, 200, 0.3); width: 90%; max-width: 400px; }
.tabs { display: flex; background: #f7edf5; border-radius: 10px; padding: 4px; margin-bottom: 25px; }
.tab { flex: 1; padding: 10px; border: none; background: transparent; font-size: 16px; font-weight: bold; color: #a893b8; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.tab.active { background: white; color: #ff6fb5; box-shadow: 0 2px 6px rgba(255, 138, 196, 0.25); }
.form { display: none; } .form.active { display: block; }
.form h2 { color: #4a3f5c; margin-top: 0; margin-bottom: 20px; font-size: 22px; text-align: center; }
.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: 14px; color: #7a5b8c; margin-bottom: 6px; }
.input-group input { width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 15px; border: 2px solid #f0d8ea; border-radius: 10px; outline: none; font-family: inherit; color: #4a3f5c; background: #fffafd; transition: border-color 0.3s; }
.input-group input:focus { border-color: #ffb3d9; box-shadow: 0 0 0 3px rgba(255, 179, 217, 0.25); }
.submit-btn { width: 100%; padding: 13px; font-size: 16px; font-weight: bold; color: white; border: none; border-radius: 10px; cursor: pointer; margin-top: 8px; background: linear-gradient(135deg, #ff8ac4 0%, #b28dff 100%); box-shadow: 0 6px 18px rgba(255, 138, 196, 0.4); transition: filter 0.25s, transform 0.1s; font-family: inherit; }
.submit-btn:hover { filter: brightness(1.08); } .submit-btn:active { transform: scale(0.97); }
.msg { text-align: center; font-size: 14px; margin-top: 14px; min-height: 20px; }
.msg.error { color: #e0447a; } .msg.success { color: #28a745; }