/* Material Design 3 全局表单美化包 (专治老式 HTML) */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    background-color: #ffffff; /* 确保背景干净 */
}

input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #f9fafb;
    color: #374151;
}

input:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #ffffff;
}

button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(1px);
}

/* 复选框与单选框美化 */
input[type="radio"], input[type="checkbox"] {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

label {
    font-weight: 500;
    color: #4b5563;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 4px;
}
