:root {
    --primary: #3498db;
    --bg: #f4f7f6;
    --text: #2c3e50;
    --white: #ffffff;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
    padding: 40px 20px;
    color: var(--text);
}

.container {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 { text-align: center; color: var(--text); margin-bottom: 5px; }
h3 { border-left: 4px solid var(--primary); padding-left: 15px; margin-top: 30px; color: var(--primary); }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: bold; }
label.required::after { content: " *"; color: #e74c3c; }

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.other-input {
    margin-top: 10px;
    display: none;
    border-style: dashed;
}

.hint { font-size: 12px; color: #7f8c8d; margin-top: 5px; }

button {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

button:hover { background: #2980b9; }

@media (max-width: 480px) {
    .container { padding: 20px; }
}