/* style.css - 登录页样式 (风格已统一) */
body {
    background-color: #f5f5f5;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    background: #fff;
    width: 360px;
    padding: 40px;
    border-radius: 20px;
    /* 统一的黑边框风格 */
    border: 1px solid #000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

h2 {
    color: #000;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #000; /* 黑边框 */
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    background-color: #fafafa;
}

button {
    width: 100%;
    padding: 12px;
    background: #000; /* 黑色按钮 */
    color: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.8;
}

button:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

#msg {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    min-height: 20px;
    font-weight: 500;
}