/* 全局样式 - 清新、现代、响应式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    padding: 30px 20px;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.03);
    padding: 32px 40px;
}
@media (max-width: 768px) {
    .container { padding: 20px; }
    body { padding: 15px; }
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef2f6;
}
h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(145deg, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}
.sub {
    color: #475569;
    font-size: 1.1rem;
    margin-top: 5px;
}
.btn, .btn-primary, .btn-small, .btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    cursor: pointer;
}
.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}
.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}
.btn-outline {
    background: transparent;
    border: 1px solid #94a3b8;
    color: #334155;
}
.btn-small {
    padding: 5px 14px;
    font-size: 0.85rem;
}
.btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.btn-primary:hover {
    background: #1d4ed8;
    color: white;
}
section {
    margin-bottom: 40px;
    background: #ffffff;
    padding: 28px 30px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}
h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
}
h2 i { font-style: normal; }
.form-group {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.form-group label {
    width: 110px;
    font-weight: 600;
    color: #334155;
}
input[type="text"], input[type="url"], input[type="password"], select, textarea {
    flex: 1;
    min-width: 260px;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 1rem;
    background: white;
    transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
button, .btn-submit {
    padding: 12px 32px;
    border: none;
    border-radius: 40px;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #1d4ed8;
}
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
th {
    text-align: left;
    padding: 14px 12px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}
td {
    padding: 14px 12px;
    border-bottom: 1px solid #ecf1f7;
    vertical-align: middle;
}
tr:hover {
    background-color: #fafcff;
}
img {
    border-radius: 10px;
    background: white;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.alert {
    padding: 16px 22px;
    border-radius: 16px;
    margin-bottom: 25px;
    font-weight: 500;
    border-left: 6px solid;
}
.success {
    background: #e6f7e6;
    color: #0a5a0a;
    border-left-color: #2ecc71;
}
.error {
    background: #fee9e7;
    color: #a12b2b;
    border-left-color: #e74c3c;
}
.info {
    background: #e7f3fe;
    color: #0b4f6c;
    border-left-color: #3498db;
}
.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
    padding-bottom: 5px;
}
.tab {
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: 40px 40px 0 0;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}
.tab.active {
    background: #2563eb;
    color: white;
}
.tab a {
    color: inherit;
    text-decoration: none;
    display: block;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 50px;
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-item label {
    font-weight: 500;
    color: #475569;
}
.filter-item input, .filter-item select {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
}
.batch-actions {
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 40px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.batch-actions button {
    padding: 8px 20px;
    background: white;
    color: #1e293b;
    border: 1px solid #94a3b8;
}
.batch-actions button:hover {
    background: #e2e8f0;
}
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: 30px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
}
.pagination .current {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}