:root { --bs-primary: #2563eb; --bs-primary-rgb: 37,99,235; }
.clearable-filter { position: relative; }
.clearable-filter > .form-select { padding-right: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-clear { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #7b879a; width: 24px; height: 24px; padding: 0; line-height: 24px; font-size: 20px; border-radius: 50%; z-index: 2; }
.filter-clear:hover, .filter-clear:focus-visible { background: #edf1f7; color: #26364b; }
body { background: #f5f7fb; color: #202b3d; font-family: system-ui, "Microsoft YaHei", sans-serif; }
.app-header { background: #fff; border-bottom: 1px solid #e6eaf0; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #18263d; text-decoration: none; font-size: 17px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #2563eb; color: #fff; border-radius: 9px; }
.brand-divider { color: #d0d7e2; margin: 0 5px; font-weight: 400; }
.brand-subtitle, .header-label { color: #7b879a; font-size: 13px; font-weight: 400; }
.page-container { max-width: 1600px; margin: 0 auto; padding-top: 30px; padding-bottom: 48px; }
.breadcrumb-text { color: #8691a3; font-size: 13px; margin-bottom: 24px; }
.breadcrumb-text span { padding: 0 10px; color: #c0c8d3; }
h1 { font-size: 27px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; }
.card { border: 1px solid #e5eaf2; border-radius: 12px; box-shadow: 0 3px 12px #1b355305; }
.filter-card { padding: 22px 24px; }
.form-label { font-size: 13px; font-weight: 500; color: #4b5870; }
.form-control, .form-select, .btn { border-radius: 7px; }
.form-control, .form-select { border-color: #dce2ec; min-height: 39px; font-size: 14px; }
.btn-primary { background: #2563eb; border-color: #2563eb; }
.btn { font-size: 14px; }
.btn-outline-secondary { --bs-btn-color: #5c6980; --bs-btn-border-color: #dce2ec; }
.list-heading, .list-footer { padding: 19px 24px; }
.list-heading { border-bottom: 1px solid #e9edf3; }
.count-pill { background: #edf3ff; color: #3565b8; font-size: 12px; border-radius: 6px; padding: 3px 9px; margin-left: 8px; }
.table { font-size: 13px; }
.table thead th { background: #f8fafc; color: #728097; font-weight: 500; padding: 14px 18px; white-space: nowrap; border-bottom-color: #e9edf3; }
.table tbody td { padding: 18px; border-color: #eef1f6; }
.table tbody td:nth-child(3), .table tbody td:nth-child(6) { white-space: nowrap; }
.table tbody tr:hover td { background: #fafcff; }
.table td:first-child, .table th:first-child { padding-left: 24px; }
.table td:last-child, .table th:last-child { padding-right: 24px; }
.name-column { min-width: 230px; }
.resource-title { font-weight: 600; color: #27364b; word-break: break-word; }
.resource-number { font-size: 12px; color: #8a95a7; margin-top: 5px; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 5px; font-size: 12px; white-space: nowrap; background: #eaf8f0; color: #238354; }
.status-badge.inactive { background: #f0f2f5; color: #818a98; }
.action-cell { white-space: nowrap; }
.action-cell .btn { font-size: 13px; padding: 4px 8px; text-decoration: none; }
.list-footer { border-top: 1px solid #e9edf3; }
.page-size { width: 112px; min-height: 32px; }
.empty-state { text-align: center; color: #8793a5 !important; padding: 75px 20px !important; }
.pagination { gap: 6px; }
.page-link { border-radius: 6px !important; color: #65738c; }
.modal-content { border: 0; border-radius: 14px; }
.modal-header, .modal-footer { padding: 18px 24px; border-color: #eef1f5; }
.modal-body { padding: 24px; }
#resource-form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
@media (max-width: 767px) { .page-container { padding-top: 20px; } .filter-card { padding: 18px; } .brand-subtitle, .brand-divider, .header-label { display: none; } h1 { font-size: 23px; } }
