/* 后台管理样式 */
.header-container {
    justify-content: space-between;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout {
    color: #ff5000;
    text-decoration: none;
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 200px;
    background-color: #fff;
    border-right: 1px solid #eee;
    padding: 20px 0;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    padding: 0;
}

.nav-item a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.nav-item a:hover,
.nav-item.active a {
    background-color: #fff5f0;
    border-left: 3px solid #ff5000;
    color: #ff5000;
}

.content {
    flex: 1;
    padding: 20px;
    background-color: #f5f5f5;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.content-header h2 {
    font-size: 18px;
    color: #333;
}

.filters {
    display: flex;
    gap: 10px;
}

.filters select,
.filters input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filters button {
    padding: 8px 15px;
    background-color: #ff5000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.content-body {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.wants-table {
    width: 100%;
    border-collapse: collapse;
}

.wants-table th,
.wants-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wants-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #666;
}

.want-info-small .want-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.want-info-small .want-category {
    font-size: 12px;
    color: #999;
}

.btn-primary,
.btn-danger,
.btn-info {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 5px;
}

.btn-primary {
    background-color: #19be6b;
    color: white;
}

.btn-danger {
    background-color: #ed4014;
    color: white;
}

.btn-info {
    background-color: #2d8cf0;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.page-numbers a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.page-numbers a.current {
    background-color: #ff5000;
    color: white;
    border-color: #ff5000;
}

.btn-prev,
.btn-next {
    padding: 8px 15px;
    background-color: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.batch-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.batch-actions button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}