/* ==========================================================================
   Painel Administrativo - Dra. Alessandra Ferraz
   Design System em harmonia com o site oficial
   ========================================================================== */

:root {
  --primary: #284D63;
  --primary-dark: #1A3647;
  --primary-light: #3C6C87;
  --primary-subtle: #EDF3F7;
  
  --sage: #8DAA90;
  --sage-dark: #6B8B6E;
  --sage-light: #DFEAE1;
  --sage-soft: #F1F6F2;
  
  --sand: #E7DFD5;
  --accent-gold: #C29567;
  --danger: #DC3545;
  --danger-light: #F8D7DA;
  --success: #28A745;
  --success-light: #D4EDDA;
  
  --bg-main: #F6F8F9;
  --bg-card: #FFFFFF;
  --bg-sidebar: #1A3647;
  
  --text-dark: #1E2B37;
  --text-body: #4A5B68;
  --text-muted: #738491;
  --text-light: #FFFFFF;
  
  --border-light: rgba(40, 77, 99, 0.12);
  --border-focus: #284D63;
  
  --shadow-sm: 0 2px 6px rgba(30, 43, 55, 0.05);
  --shadow-md: 0 8px 24px rgba(40, 77, 99, 0.08);
  --shadow-lg: 0 16px 36px rgba(40, 77, 99, 0.14);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* ==========================================================================
   Tela de Login
   ========================================================================== */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #1A3647 0%, #284D63 60%, #3C6C87 100%);
  position: relative;
  overflow: hidden;
}

.login-screen::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 170, 144, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.login-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.4s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  max-width: 170px;
  margin: 0 auto 1.25rem;
  display: block;
}

.login-header h1 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.login-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.login-form .form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.input-icon-wrap .form-control {
  padding-left: 2.6rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 77, 99, 0.12);
}

.btn-toggle-password {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
}

.btn-primary-block {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 1.5rem;
}

.btn-primary-block:hover {
  background: var(--primary-dark);
}

.btn-primary-block:active {
  transform: scale(0.99);
}

.login-footer-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Alertas */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-danger {
  background: var(--danger-light);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background: var(--success-light);
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* ==========================================================================
   Layout do Painel Administrativo
   ========================================================================== */
.admin-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar Topo */
.admin-navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.admin-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.admin-brand-logo {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
}

.admin-brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.admin-brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sage-dark);
}

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-nav-outline:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.btn-nav-danger {
  color: var(--danger);
}

.btn-nav-danger:hover {
  background: var(--danger-light);
  border-color: var(--danger);
}

/* Conteúdo Principal */
.admin-main {
  flex: 1;
  padding: 2rem 1.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Header da Página */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--primary-dark);
}

.page-title-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(40, 77, 99, 0.25);
}

.btn-secondary {
  background: var(--sage);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--sage-dark);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-main);
  border-color: var(--text-muted);
}

.btn-icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-only:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.btn-icon-danger:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-light);
}

/* Cards de Métricas */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.metric-icon.blue {
  background: var(--primary-subtle);
  color: var(--primary);
}

.metric-icon.sage {
  background: var(--sage-soft);
  color: var(--sage-dark);
}

.metric-icon.gold {
  background: #FCF7EE;
  color: var(--accent-gold);
}

.metric-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.metric-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Barra de Filtros e Busca */
.table-filter-bar {
  background: var(--bg-card);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  padding-left: 2.5rem;
  width: 100%;
}

.filter-selects {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-selects select {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  cursor: pointer;
  outline: none;
}

.filter-selects select:focus {
  border-color: var(--primary);
}

/* Tabela de Artigos */
.table-responsive {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: #F8FAFC;
  padding: 0.95rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: #FAFCFD;
}

.article-row-title {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
  max-width: 380px;
}

.article-row-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--primary-subtle);
  border: 1px solid var(--border-light);
}

.article-thumb-placeholder {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Badges / Selos de Categoria */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-tag.sage {
  background: var(--sage-soft);
  color: var(--sage-dark);
  border: 1px solid rgba(141, 170, 144, 0.3);
}

.badge-tag.blue {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(40, 77, 99, 0.2);
}

.badge-tag.gold {
  background: #FCF7EE;
  color: #9C7038;
  border: 1px solid rgba(194, 149, 103, 0.3);
}

.badge-tag.custom {
  background: #F0F0F5;
  color: #4A4A68;
  border: 1px solid rgba(100, 100, 150, 0.2);
}

/* Ações da Tabela */
.row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Estado Vazio */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  color: var(--sage);
  margin-bottom: 1rem;
}

.empty-state h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Modais Administrativos
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 54, 71, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 840px;
  height: auto;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: all 0.25s ease;
  overflow: hidden;
  margin: auto;
  position: relative;
}

.modal-dialog form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  flex-shrink: 0;
  position: static !important;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background: var(--danger-light);
  color: var(--danger);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto !important;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(90vh - 140px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) var(--bg-main);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--bg-main);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--sage-dark);
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #FBFDFD;
  flex-shrink: 0;
}

/* Grid do Formulário */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Seletor com Botão de Novo Tipo */
.category-input-group {
  display: flex;
  gap: 0.5rem;
}

.category-input-group select {
  flex: 1;
}

.btn-add-category {
  padding: 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-add-category:hover {
  background: var(--sage);
  color: #FFFFFF;
}

/* Upload de Imagem e Preview */
.image-upload-wrapper {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.image-preview-box {
  width: 140px;
  height: 105px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 2px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.image-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-box .placeholder-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

.image-preview-box .btn-remove-img {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(220, 53, 69, 0.85);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

.image-upload-actions {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-input-hidden {
  display: none;
}

.btn-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px dashed var(--primary);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-upload-label:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Toolbar do Editor */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem;
  background: #F4F7F9;
  border: 1.5px solid var(--border-light);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tool-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tool-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.editor-textarea {
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 220px;
}

/* Modal de Categorias */
.categories-manager-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.category-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.category-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Banner de Notificação Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
}

.toast.success {
  background: #1B5E20;
}

.toast.error {
  background: #B71C1C;
}

/* Modal de Preview */
.preview-modal-dialog {
  max-width: 760px;
}

.preview-cover-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.preview-sources-box {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-main);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.preview-sources-box h5 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.preview-sources-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsividade */
@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-navbar {
    padding: 0.75rem 1rem;
  }

  .admin-main {
    padding: 1.25rem 1rem 2rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
