/* 整体页面布局和基本样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.dashboard-container,
.login-container,
.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 50px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

p {
    color: #666;
}

a {
    color: #007BFF;
    text-decoration: none;
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

a:hover {
    text-decoration: underline;
}

/* 表单样式 */
form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

form input[type="text"],
form input[type="password"],
form input[type="number"],
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

form button {
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

table th {
    background-color: #f4f4f4;
}

/* 管理员后台按钮样式 */
.dashboard-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.dashboard-button:hover {
    background-color: #0056b3;
}

.input-field {
    width: 100px;
    padding: 5px;
    margin-bottom: 5px;
}

.operation-select {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.operation-select select,
.operation-select input {
    margin-right: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.operation-select button {
    flex-grow: 1;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.operation-select button:hover {
    background-color: #0056b3;
}
