/* =============================================
   ANALYZZE FLOW — Global CSS
   ============================================= */

:root {
  --bg-main:     #FAF9FB;
  --text-main:   #1E1E20;
  --purple-dark: #5D005F;
  --purple:      #720274;
  --magenta:     #BB049A;
  --lilac:       #B37EB1;
  --purple-soft: #7A487B;
  --white:       #ffffff;
  --gray-50:     #F8F7FA;
  --gray-100:    #F0EEF4;
  --gray-200:    #E2DDE8;
  --gray-300:    #C8C0D0;
  --gray-400:    #9D93A8;
  --gray-500:    #6B6177;
  --gray-600:    #4A4255;
  --success:     #16a34a;
  --success-bg:  #dcfce7;
  --danger:      #dc2626;
  --danger-bg:   #fee2e2;
  --warning:     #d97706;
  --warning-bg:  #fef3c7;
  --info:        #2563eb;
  --info-bg:     #dbeafe;
  --sidebar-w:   260px;
  --header-h:    64px;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 12px rgba(114,2,116,.12);
  --transition:  .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--magenta); }

/* ── Layout ── */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: margin-left var(--transition);
}
.page-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
}

/* ── Sidebar ── */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  transition: transform var(--transition);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  font-weight: 800;
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-weight: 700; font-size: .95rem; color: var(--text-main); }
.sidebar-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 1rem; display: none;
}
.sidebar-nav { flex: 1; padding: .75rem 0; overflow-y: auto; }
.nav-group { margin-bottom: 1.25rem; }
.nav-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 1.25rem .3rem;
  display: block;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1.25rem;
  color: var(--gray-500);
  font-size: .875rem;
  font-weight: 500;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { background: var(--gray-50); color: var(--text-main); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(114,2,116,.08), rgba(187,4,154,.05));
  color: var(--purple);
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--purple), var(--magenta));
  border-radius: 0 2px 2px 0;
}
.sidebar-footer {
  border-top: 1px solid var(--gray-100);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.user-info { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }
.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  font-weight: 700;
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-details { min-width: 0; }
.user-name { font-size: .8rem; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: .7rem; color: var(--gray-400); }
.btn-logout {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: .35rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center;
  transition: color var(--transition), background var(--transition);
}
.btn-logout svg { width: 16px; height: 16px; }
.btn-logout:hover { color: var(--danger); background: var(--danger-bg); }

/* ── Header ── */
.top-header {
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
  position: sticky; top: 0; z-index: 50;
}
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--gray-500); padding: .35rem;
}
.menu-toggle svg { width: 22px; height: 22px; }
.header-title { flex: 1; }
.page-title { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
.header-user { font-size: .8rem; color: var(--gray-400); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--purple); color: white; }
.btn-primary:hover { background: var(--purple-dark); color: white; }
.btn-secondary { background: var(--gray-100); color: var(--text-main); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-ghost { background: none; color: var(--gray-500); border: 1px solid var(--gray-200); }
.btn-ghost:hover { background: var(--gray-50); color: var(--text-main); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { opacity: .9; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { opacity: .9; }
.btn-sm { padding: .3rem .65rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-card { padding: 1.75rem; }

/* ── Alerts ── */
.alert {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .875rem;
  position: relative;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; }
.alert-success { background: var(--success-bg); color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: var(--danger-bg);  color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }
.alert-info    { background: var(--info-bg);    color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-close {
  position: absolute; top: .6rem; right: .75rem;
  background: none; border: none; cursor: pointer;
  font-size: .9rem; opacity: .6;
}
.alert-list { margin: .25rem 0 0 1rem; }
.alert-list li { margin-bottom: .15rem; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.badge-success   { background: var(--success-bg);  color: #15803d; }
.badge-danger    { background: var(--danger-bg);   color: #b91c1c; }
.badge-warning   { background: var(--warning-bg);  color: #92400e; }
.badge-info      { background: var(--info-bg);     color: #1d4ed8; }
.badge-secondary { background: var(--gray-100);    color: var(--gray-500); }

/* ── Tables ── */
.table-wrapper { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-main);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }
.table td.actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--text-main); }
.form-input, .form-select, .form-textarea {
  padding: .55rem .85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(114,2,116,.1);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { cursor: pointer; }
.form-hint { font-size: .75rem; color: var(--gray-400); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group-full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: .75rem; justify-content: flex-end; padding-top: 1rem; border-top: 1px solid var(--gray-100); margin-top: 1rem; }

/* ── Detail view ── */
.detail-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.detail-actions { display: flex; gap: .5rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; padding: 1.5rem; }
.detail-item { display: flex; flex-direction: column; gap: .25rem; }
.detail-item-full { grid-column: 1 / -1; }
.detail-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); }
.detail-value { font-size: .9rem; color: var(--text-main); }

/* ── Page actions ── */
.page-actions { display: flex; justify-content: flex-end; margin-bottom: 1rem; gap: .5rem; }

/* ── Empty state ── */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2rem; gap: 1rem;
  color: var(--gray-400);
  text-align: center;
}
.empty-state svg { width: 48px; height: 48px; opacity: .4; }

/* ── Filters bar ── */
.filters-bar { padding: .85rem 1.25rem; margin-bottom: .75rem; }
.filters-form { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: .25rem; }
.form-select-sm { padding: .35rem .65rem; font-size: .8rem; }

/* ── Info / error boxes ── */
.info-box {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--info-bg); color: var(--info);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  font-size: .85rem; margin: 1rem 0;
}
.info-box svg { width: 18px; height: 18px; flex-shrink: 0; }
.error-box {
  background: var(--danger-bg); color: var(--danger);
  border-radius: var(--radius-sm); padding: .75rem 1rem;
  font-size: .875rem; margin-top: 1rem;
}
.code-block {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 1rem; margin-top: 1rem; overflow-x: auto;
}
.code-block pre { font-size: .8rem; white-space: pre-wrap; word-break: break-all; }
code { font-family: 'Courier New', monospace; font-size: .85em; background: var(--gray-100); padding: .1em .35em; border-radius: 3px; }

/* ── Pagination ── */
.pagination { display: flex; gap: .4rem; padding: 1rem; justify-content: center; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 600; color: var(--gray-500);
  border: 1px solid var(--gray-200); text-decoration: none;
}
.page-btn.active { background: var(--purple); color: white; border-color: var(--purple); }
.page-btn:hover { background: var(--gray-100); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 0 100vw rgba(0,0,0,.35); }
  .sidebar-toggle { display: flex; }
  .menu-toggle { display: flex; }
  .main-content { margin-left: 0; }
  .page-content { padding: 1rem; }
  .top-header { padding: 0 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ── UX fixes, loading modal and responsive tables ── */
:root {
  --surface: var(--white);
  --border: var(--gray-100);
  --text-primary: var(--text-main);
  --text-secondary: var(--gray-500);
  --text-tertiary: var(--gray-400);
}

.loading-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.loading-modal.is-visible { display: flex; }
.loading-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 20, .42);
  backdrop-filter: blur(4px);
}
.loading-modal-box {
  position: relative;
  width: min(420px, 100%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  padding: 2rem;
  text-align: center;
}
.loading-modal-box h2 { font-size: 1.15rem; margin: .8rem 0 .35rem; color: var(--text-main); }
.loading-modal-box p { font-size: .9rem; color: var(--gray-500); }
.loading-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid var(--gray-100);
  border-top-color: var(--purple);
  margin: 0 auto;
  animation: az-spin .8s linear infinite;
}
@keyframes az-spin { to { transform: rotate(360deg); } }
.is-processing { opacity: .75; cursor: wait; }
body.is-loading-action { cursor: wait; }

.form-input, .form-select, .form-textarea { min-height: 42px; }
textarea.form-textarea { line-height: 1.55; }

@media (max-width: 1024px) {
  .main-content { margin-left: 0; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 0 100vw rgba(0,0,0,.35); }
  .sidebar-toggle, .menu-toggle { display: flex; }
  .page-content { padding: 1rem; }
}

@media (max-width: 720px) {
  .form-card { padding: 1.15rem; }
  .form-actions, .page-actions, .filters-form { flex-direction: column; align-items: stretch; }
  .form-actions .btn, .page-actions .btn, .filters-form .btn { width: 100%; justify-content: center; }
  .filter-group { width: 100%; }
  .top-header { padding: 0 .85rem; }
  .header-user { display: none; }
}

@media (max-width: 760px) {
  .table-wrapper { overflow: visible; padding: .75rem; }
  .table, .table thead, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: .85rem;
    overflow: hidden;
  }
  .table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--gray-100);
    word-break: break-word;
  }
  .table td::before {
    content: attr(data-label);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-400);
    flex: 0 0 110px;
  }
  .table td.actions, .table td.actions-inline {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .table td.actions::before, .table td.actions-inline::before { margin-bottom: .5rem; }
  .table td.actions .btn, .table td.actions-inline .btn, .table td.actions form, .table td.actions-inline form { width: 100%; }
  .table td.actions button, .table td.actions-inline button { width: 100%; justify-content: center; }
}

/* PWA install button and modal */
.btn-install-app {
    display: none !important;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid rgba(114, 2, 116, .18);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: #fff;
    border-radius: 999px;
    padding: .55rem .85rem;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(114, 2, 116, .18);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    white-space: nowrap;
}

.btn-install-app[hidden] { display: none !important; }
.btn-install-app svg { width: 1rem; height: 1rem; }
.btn-install-app:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(114, 2, 116, .24); }

.pwa-install-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pwa-install-modal.is-visible { display: flex; }
.pwa-install-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 14, .55); backdrop-filter: blur(5px); }
.pwa-install-box {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.pwa-install-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-main);
    cursor: pointer;
}

.pwa-install-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .95rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pwa-install-box h2 { margin: 0 2rem .5rem 0; font-size: 1.25rem; }
.pwa-install-box p { color: var(--gray-600); margin: 0 0 1rem; }
.pwa-install-actions { display: flex; gap: .75rem; margin: 1rem 0; flex-wrap: wrap; }
.pwa-install-steps { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 14px; padding: 1rem; }
.pwa-install-steps ol { margin: 0; padding-left: 1.2rem; }
.pwa-install-steps li { margin: .45rem 0; color: var(--text-main); }
.pwa-note { margin-top: .8rem !important; font-size: .9rem; }
.pwa-browser-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .6rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

/* Desktop: button remains hidden.
   Mobile/tablet: JS can reveal the button by removing [hidden]. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .btn-install-app:not([hidden]) {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .top-header { padding: 0 .85rem; }
    .header-actions { gap: .5rem; }
    .header-user { display: none; }
    .btn-install-app {
        font-size: 0;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border-radius: .8rem;
        flex-shrink: 0;
    }
    .btn-install-app svg { width: 1.15rem; height: 1.15rem; }
    .pwa-install-box { padding: 1.25rem; border-radius: 18px; }
    .pwa-install-actions .btn { width: 100%; justify-content: center; }
}

/* Seleção e exclusão em lote */
.bulk-action-form {
    margin: 0;
}

.bulk-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 .75rem;
    padding: .75rem 1rem;
    border: 1px solid #ead5d8;
    border: 1px solid color-mix(in srgb, var(--danger, #dc2626) 24%, var(--border));
    border-radius: 10px;
    background: #fff8f8;
    background: color-mix(in srgb, var(--danger, #dc2626) 5%, var(--surface, #fff));
}

.bulk-action-bar[hidden] {
    display: none !important;
}

.bulk-action-summary,
.bulk-action-buttons {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.bulk-action-summary {
    color: var(--text-secondary, #4b5563);
    font-size: .9rem;
}

.bulk-action-summary strong {
    min-width: 1.5rem;
    color: var(--text-primary, #111827);
    font-size: 1rem;
}

.bulk-select-column {
    width: 46px;
    min-width: 46px;
    padding-left: 1rem !important;
    padding-right: .35rem !important;
    text-align: center;
}

.bulk-checkbox {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
}

.bulk-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bulk-checkbox span {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-strong, #b7afc2);
    border-radius: 5px;
    background: var(--surface, #fff);
    box-shadow: inset 0 0 0 2px var(--surface, #fff);
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.bulk-checkbox input:focus-visible + span {
    outline: 3px solid color-mix(in srgb, var(--primary, #720274) 24%, transparent);
    outline-offset: 2px;
}

.bulk-checkbox input:checked + span,
.bulk-checkbox input:indeterminate + span {
    border-color: var(--primary, #720274);
    background: var(--primary, #720274);
}

.bulk-checkbox input:checked + span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-1px) rotate(-45deg);
}

.bulk-checkbox input:indeterminate + span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

.bulk-checkbox input:disabled + span {
    cursor: not-allowed;
    opacity: .42;
    background: var(--surface-muted, #f3f4f6);
}

.table tbody tr.is-bulk-selected {
    background: #faf4fb;
    background: color-mix(in srgb, var(--primary, #720274) 6%, var(--surface, #fff));
}

@media (max-width: 760px) {
    .bulk-action-bar {
        position: sticky;
        top: .5rem;
        z-index: 15;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 12px 28px rgba(31, 18, 40, .12);
    }

    .bulk-action-buttons {
        justify-content: stretch;
    }

    .bulk-action-buttons .btn {
        flex: 1;
    }

    .bulk-select-column {
        width: 42px;
        min-width: 42px;
    }
}
.language-form,
.auth-language-form { margin: 0; }
.auth-language-form { position: fixed; top: 1rem; right: 1rem; z-index: 10; }
.language-select {
  min-height: 38px;
  padding: .45rem 1.9rem .45rem .65rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
  background: var(--surface, #fff);
  color: var(--text, #20142f);
  font: inherit;
  cursor: pointer;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
