html { font-size: 17px; }
.admin-page { width: 100%; max-width: 1536px; margin: 0 auto; padding: 0 1.5rem; }
.admin-nav-item { margin: .15rem .5rem; padding: 0 !important; border-radius: .65rem; }
.admin-nav-link { min-height: 44px; padding: .65rem .8rem; border-radius: .65rem; font-size: .9375rem; line-height: 1.25; }
.admin-nav-item-active { background: #fce7f3; box-shadow: inset 3px 0 0 #ec1f95; }
.admin-nav-item-active .admin-nav-link { color: #9d174d !important; }
.theme-dark .admin-nav-item-active { background: rgba(236, 31, 149, .18); }
.theme-dark .admin-nav-item-active .admin-nav-link { color: #fbcfe8 !important; }
.admin-page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.5rem 0; }
.admin-page-title { color: #374151; font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.theme-dark .admin-page-title { color: #f3f4f6; }
.admin-page-subtitle { margin-top: .35rem; color: #9ca3af; font-size: .875rem; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.admin-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .4rem; padding: .55rem .85rem; border: 1px solid #4b5563; border-radius: .6rem; background: #fff; color: #374151; font-size: .875rem; font-weight: 700; line-height: 1; cursor: pointer; }
.theme-dark .admin-button { background: #1f2937; color: #f3f4f6; }
.admin-button:hover, .admin-button:focus-visible { border-color: #ec1f95; color: #ec1f95; outline: none; }
.admin-button-primary { border-color: #ec1f95; background: #ec1f95; color: #fff; }
.theme-dark .admin-button-primary { background: #ec1f95; color: #fff; }
.admin-button-primary:hover, .admin-button-primary:focus-visible { border-color: #d81782; background: #d81782; color: #fff; }
.admin-button-primary:focus-visible { box-shadow: 0 0 0 3px rgba(236, 31, 149, .3); }
.admin-button-danger { color: #b91c1c; }
.admin-card { border: 1px solid #e5e7eb; border-radius: .8rem; background: #fff; }
.theme-dark .admin-card { border-color: #374151; background: #1f2937; }
.admin-notice { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: .65rem; }
.admin-notice-success { background: #dcfce7; color: #166534; }
.admin-notice-error { background: #fee2e2; color: #991b1b; }
.admin-avatar { display: inline-flex; width: 46px; height: 46px; flex: 0 0 46px; align-items: center; justify-content: center; overflow: hidden; border-radius: 9999px; background: #fce7f3; color: #9d174d; font-weight: 800; }
.admin-avatar-square { border-radius: .75rem; }
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-search-note { color: #9ca3af; font-size: .75rem; }
.dataTables_wrapper .dataTables_filter { display: flex; justify-content: flex-end; padding: 1rem; }
.dataTables_wrapper .dataTables_filter label { color: #6b7280; font-size: .875rem; font-weight: 600; }
.theme-dark .dataTables_wrapper .dataTables_filter label { color: #d1d5db; }
.dataTables_wrapper .dataTables_filter input { min-width: min(320px, 65vw); margin-left: .5rem; padding: .55rem .7rem; border: 1px solid #d1d5db; border-radius: .6rem; background: #fff; color: #111827; }
.theme-dark .dataTables_wrapper .dataTables_filter input { border-color: #4b5563; background: #111827; color: #f9fafb; }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { padding: 1rem; color: #6b7280; font-size: .875rem; }
.theme-dark .dataTables_wrapper .dataTables_info, .theme-dark .dataTables_wrapper .dataTables_paginate { color: #d1d5db; }
.dataTables_wrapper .dataTables_paginate .paginate_button { margin: 0 .15rem; padding: .35rem .6rem; border-radius: .45rem; cursor: pointer; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: #ec1f95; color: #fff !important; }
.dataTables_empty { padding: 2rem !important; text-align: center !important; color: #6b7280; }
.admin-media-fallback { display: inline-flex; min-height: 64px; min-width: 64px; align-items: center; justify-content: center; border: 1px dashed #9ca3af; border-radius: .55rem; color: #9ca3af; font-size: .7rem; font-weight: 700; text-align: center; }
.admin-status { display: inline-flex; align-items: center; padding: .25rem .55rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; }
.admin-status-active { background: #dcfce7; color: #166534; }
.admin-status-warning { background: #fef3c7; color: #92400e; }
.admin-status-danger { background: #fee2e2; color: #991b1b; }
.admin-status-neutral { background: #e5e7eb; color: #374151; }
@media (max-width: 640px) {
  .admin-page { padding: 0 .85rem; }
  .admin-page-header { align-items: stretch; }
  .admin-toolbar { width: 100%; }
  .admin-toolbar .admin-button { flex: 1 1 auto; }
  .dataTables_wrapper .dataTables_filter { justify-content: stretch; }
  .dataTables_wrapper .dataTables_filter label, .dataTables_wrapper .dataTables_filter input { width: 100%; }
  .dataTables_wrapper .dataTables_filter input { min-width: 0; margin: .35rem 0 0; }
}
