/* ===== PontoID - Design system ===== */
:root {
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-light: #eef2ff;
  --color-surface: #ffffff;
  --color-background: #f8fafc;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-success: #059669;
  --color-success-bg: #d1fae5;
  --color-danger: #dc2626;
  --color-danger-bg: #fee2e2;
  --color-warning-bg: #fef3c7;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sidebar-width: 204px;
  --sidebar-bg: #ffffff;
  --sidebar-border: #e2e8f0;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
/* Melhor feedback de toque em mobile */
a, button, [role="button"], input, select, textarea, label {
  -webkit-tap-highlight-color: rgba(79, 70, 229, 0.15);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

/* ----- Navegação ----- */
.app-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.app-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 56px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.app-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}
.app-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.app-brand:hover { color: var(--color-primary-hover); }
.app-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.app-nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.app-nav-link:hover {
  color: var(--color-text);
  background: var(--color-background);
}
.app-nav-link.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.app-nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.app-nav-user .name { font-weight: 500; color: var(--color-text); }
.app-btn-logout {
  padding: 0.35rem 0.6rem;
  font-size: 0.8125rem;
  color: var(--color-danger);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
}
.app-btn-logout:hover { background: var(--color-danger-bg); }
.app-btn-logout--toolbar {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.app-btn-logout--toolbar:hover {
  color: var(--color-danger);
  border-color: #fecaca;
  background: var(--color-danger-bg);
}
.app-btn-logout--ponto-toolbar {
  text-decoration: none;
}

/* ----- Layout com menu lateral (substitui navbar no painel autenticado) ----- */
.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}
.app-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgb(15 23 42 / 0.45);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.app-sidebar-backdrop[hidden] {
  display: none !important;
}
.app-sidebar {
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: 1px 0 0 rgb(15 23 42 / 0.04);
  display: flex;
  flex-direction: column;
  z-index: 200;
}
.app-sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0.85rem 0.5rem 1rem;
  gap: 0.35rem;
}
.app-sidebar-brand {
  display: block;
  padding: 0.35rem 0.45rem 0.85rem;
  margin: 0 0.15rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}
.app-sidebar-brand:hover .app-sidebar-brand-text {
  color: var(--color-primary-hover);
}
.app-sidebar-brand-text {
  display: block;
  width: 100%;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
.app-sidebar-section-label {
  margin: 0;
  padding: 0.65rem 0.5rem 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.85;
}
.app-sidebar-section-label:first-child {
  padding-top: 0.15rem;
}
.app-sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.1rem;
}
.app-sidebar-links {
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
}
.app-sidebar-links .app-nav-link {
  display: block;
  padding: 0.42rem 0.5rem 0.42rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 0.375rem;
  border-left: 3px solid transparent;
  margin-left: 0;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.app-sidebar-links .app-nav-link:hover {
  background: rgb(241 245 249 / 0.9);
  color: var(--color-text);
}
.app-sidebar-links .app-nav-link.active {
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary-light) 0%, rgb(238 242 255 / 0.35) 100%);
  border-left-color: var(--color-primary);
  font-weight: 600;
}
.app-sidebar-link-extra {
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.15rem;
}
.app-shell-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-background);
}
.app-shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  min-height: 52px;
  padding: 0 1rem 0 0.35rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.app-shell-topbar-start {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.app-shell-topbar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.app-shell-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: 55%;
  margin-left: auto;
}
.app-shell-user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(220px, 38vw);
}
.app-shell-logout-form {
  margin: 0;
  flex-shrink: 0;
}
.app-sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--color-text);
}
.app-sidebar-toggle:hover {
  background: var(--color-background);
}
.app-sidebar-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 1px;
  margin: 0 auto;
}
.app-nav--guest .app-nav-inner {
  justify-content: flex-start;
}

/* Desktop: marca só na lateral; título da topbar some para não repetir */
@media (min-width: 901px) {
  .app-shell-topbar-title {
    display: none;
  }
}

/* Área de conteúdo com sidebar: usa largura útil maior para tabelas */
.app-has-sidebar .app-shell-main .app-main {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 900px) {
  .app-sidebar-backdrop:not([hidden]) {
    display: block;
  }
  .app-shell {
    flex-direction: column;
  }
  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100%;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-md);
  }
  body.app-sidebar-open .app-sidebar {
    transform: translateX(0);
  }
  body.app-sidebar-open {
    overflow: hidden;
  }
  .app-sidebar-toggle {
    display: flex;
  }
  .app-shell-topbar-title {
    display: block;
  }
  .app-shell-main {
    min-height: 0;
  }
  .app-shell-topbar-user {
    max-width: 62%;
  }
  .app-shell-user-name {
    max-width: min(140px, 32vw);
  }
}

/* ----- Conteúdo principal ----- */
.app-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-width: 0;
  width: 100%;
}
.app-alerts { margin-bottom: 1.5rem; }
.app-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  border: 1px solid transparent;
}
.app-alert-success {
  background: var(--color-success-bg);
  color: #065f46;
  border-color: #a7f3d0;
}
.app-alert-error {
  background: var(--color-danger-bg);
  color: #991b1b;
  border-color: #fecaca;
}
.app-alert-warning {
  background: var(--color-warning-bg);
  color: #92400e;
  border-color: #fcd34d;
}

/* ----- Page header ----- */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* ----- Botões ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: white;
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-background);
  border-color: var(--color-text-muted);
}
.btn-danger {
  background: transparent;
  color: var(--color-danger);
  border-color: var(--color-danger);
}
.btn-danger:hover {
  background: var(--color-danger-bg);
}
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ----- Card ----- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.card-body { padding: 1.5rem; }

/* ----- Tabela ----- */
.table-wrap { overflow-x: auto; }
/* Dentro de card: cantos arredondados no bloco da tabela (recorte do thead/última linha) */
.card .table-wrap {
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-modern {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table-modern thead {
  background: var(--color-primary-light);
  border-bottom: 2px solid var(--color-border);
}
.table-modern th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table-modern td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}
.table-modern tbody tr {
  transition: background 0.1s;
}
.table-modern tbody tr:hover {
  background: #f8fafc;
}
.table-modern tbody tr:last-child td { border-bottom: none; }
.table-modern .cell-muted { color: var(--color-text-muted); }
.table-modern .cell-actions {
  text-align: right;
  white-space: nowrap;
}
.table-modern .cell-actions a,
.table-modern .cell-actions button {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-left: 0.75rem;
}
.table-modern .cell-actions a { color: var(--color-primary); text-decoration: none; }
.table-modern .cell-actions a:hover { text-decoration: underline; }
.table-modern .cell-actions button {
  background: none;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
  padding: 0;
}
.table-modern .cell-actions button:hover { text-decoration: underline; }
.table-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ----- Badges ----- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 9999px;
}
.badge-success { background: var(--color-success-bg); color: #065f46; }
.badge-muted { background: #f1f5f9; color: var(--color-text-muted); }
.badge-primary { background: #dbeafe; color: #1e40af; }
.badge-super { background: #ede9fe; color: #5b21b6; }

/* ----- Formulários ----- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}
.form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-control::placeholder { color: #94a3b8; }
.form-error { font-size: 0.75rem; color: var(--color-danger); margin-top: 0.25rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ----- Login (visitante) ----- */
.app-main--guest {
  min-height: calc(100vh - 56px);
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 40%, #eef2ff 100%);
  /* Evita padding duplo com .login-page; o controle fica no bloco de login */
  padding: 0;
  max-width: none;
}
.app-main--guest .app-alerts {
  padding: 1rem 1rem 0;
  margin-bottom: 0;
}
.login-page {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: 1rem;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.06),
    0 12px 40px -12px rgb(15 23 42 / 0.15);
  border: 1px solid rgb(226 232 240 / 0.95);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #818cf8);
}
.login-title {
  margin: 0 0 0.75rem;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.login-card-lead {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.45;
}
.login-card .form-group { margin-bottom: 1rem; }
.login-card .btn { margin-top: 0.5rem; }
.login-remember { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-text-muted); }
.login-remember input { width: auto; }
.login-option-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  min-height: 52px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 0.625rem;
}
.login-option-btn--outline {
  background: var(--color-surface) !important;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  margin-top: 0;
}
.login-option-btn--outline:hover {
  background: var(--color-primary-light) !important;
  color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.35rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.login-divider span {
  flex-shrink: 0;
}
.login-back-link {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}
.login-back-link a {
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.5rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 1.5;
}
.login-back-link a:hover { text-decoration: underline; }
.btn-submit-login { min-height: 48px; font-size: 1rem; }

/* ----- Filtros ----- */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.filters-bar .form-group { margin-bottom: 0; }
.filters-bar label { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 0.25rem; }
.filters-bar select,
.filters-bar input[type="text"] {
  min-width: 160px;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
}

/* ----- Paginação ----- */
.pagination-wrap {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.pagination-wrap nav[role="navigation"] { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.pagination-wrap a,
.pagination-wrap span {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.pagination-wrap a:hover { background: var(--color-background); border-color: var(--color-primary); color: var(--color-primary); }
.pagination-wrap span { color: var(--color-text-muted); }
.pagination-wrap .disabled span { opacity: 0.6; cursor: not-allowed; }
.pagination-wrap .flex { display: flex; }
.pagination-wrap .gap-2 { gap: 0.5rem; }
.pagination-wrap .text-sm { font-size: 0.875rem; }
.pagination-wrap .font-medium { font-weight: 500; }
.pagination-wrap .rounded-md { border-radius: var(--radius); }
.pagination-wrap .border { border: 1px solid var(--color-border); }
.pagination-wrap .bg-white { background: var(--color-surface); }
.pagination-wrap .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.pagination-wrap .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.pagination-wrap .text-gray-500 { color: var(--color-text-muted); }
.pagination-wrap .ring-1 { box-shadow: 0 0 0 1px var(--color-border); }
.pagination-wrap .ring-gray-300 { }
.pagination-wrap svg { width: 1rem; height: 1rem; }
.pagination-wrap .-ml-px { margin-left: -1px; }
.pagination-wrap .relative { position: relative; }
.pagination-wrap .inline-flex { display: inline-flex; }
.pagination-wrap .items-center { align-items: center; }
.pagination-wrap .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.pagination-wrap .text-gray-700 { color: var(--color-text); }
.pagination-wrap .hover\:bg-gray-50:hover { background: var(--color-background); }
.pagination-wrap .hover\:text-gray-900:hover { color: var(--color-text); }
.pagination-wrap .bg-gray-50 { background: var(--color-background); }
.pagination-wrap .text-gray-400 { color: #94a3b8; }
.pagination-wrap .cursor-default { cursor: default; }
.pagination-wrap .dark\:bg-gray-700 { }
.pagination-wrap .dark\:text-gray-300 { }
.pagination-wrap .dark\:border-gray-600 { }
.pagination-wrap .dark\:hover\:bg-gray-600 { }
.pagination-wrap .dark\:hover\:text-white { }
.pagination-wrap .dark\:hover\:border-gray-500 { }
.pagination-wrap .rounded-l-md { border-top-left-radius: var(--radius); border-bottom-left-radius: var(--radius); }
.pagination-wrap .rounded-r-md { border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius); }

/* ----- Utilitários (compatibilidade) ----- */
.max-w-7xl { max-width: 1280px; margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.text-gray-600 { color: var(--color-text-muted); }
.text-gray-500 { color: var(--color-text-muted); }
.text-red-500 { color: var(--color-danger); }
.bg-green-100 { background: var(--color-success-bg); }
.bg-green-800, .text-green-800 { color: #065f46; }
.bg-gray-100 { background: #f1f5f9; }
.text-gray-800 { color: var(--color-text); }
.rounded { border-radius: var(--radius); }
.space-y-4 > * + * { margin-top: 1rem; }
.w-full { width: 100%; }
.inline { display: inline; }
input[type="text"], input[type="password"], input[type="email"], select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  width: 100%;
  font-family: inherit;
  font-size: 0.875rem;
}
button { cursor: pointer; font-family: inherit; }
.bg-amber-50 { background: var(--color-warning-bg); }
.border-amber-200 { border-color: #fcd34d; }
.text-amber-800 { color: #92400e; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }

/* ----- Ponto (batida) - layout mínimo ----- */
.ponto-body { min-height: 100vh; display: flex; flex-direction: column; }
/* Com menu lateral, o shell ocupa a página inteira (evita conflito com flex no body) */
.ponto-body.app-has-sidebar {
  display: block;
}
.ponto-body.app-has-sidebar .app-shell {
  min-height: 100vh;
}
.ponto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.ponto-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
/* Conteúdo da área Ponto: mesmo alinhamento horizontal que app-main, faixa central estreita */
.ponto-inner {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}
.ponto-inner .app-alerts { margin-bottom: 1rem; }
.ponto-sair { margin: 0; }

/* Ponto batida: layout limpo */
.ponto-card-batida .card-body { padding: 1.25rem 1rem; }
.ponto-intro { margin-bottom: 0.5rem; color: var(--color-text-muted); font-size: 0.875rem; }
.ponto-selfie-group .form-label { margin-bottom: 0.25rem; }
.ponto-selfie-hint { margin-bottom: 1rem; font-size: 0.875rem; }
.ponto-selfie-group--minimal { margin-bottom: 0.5rem; }
.ponto-form-batida-minimal .ponto-selfie-box { margin-top: 0; gap: 0; }

.ponto-selfie-controls { display: block; position: relative; }
.ponto-selfie-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.ponto-selfie-slot {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ponto-selfie-slot .ponto-camera-area {
  margin-top: 0;
}
.ponto-selfie-preview {
  width: 140px; height: 140px;
  border: 2px dashed var(--color-border);
  border-radius: 999px;
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
/* Input do arquivo: escondido por wrapper (evita "Escolher arquivo" / "nenhum arquivo" em qualquer navegador) */
.ponto-file-input-wrapper {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(100%) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}
.ponto-file-input-wrapper input {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}
.input-hidden-file {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}
/* Botão "Capturar pela câmera": único e em destaque */
.btn-capturar-camera {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-lg);
}
.btn-capturar-camera:hover {
  background: var(--color-primary-hover) !important;
  color: #fff !important;
  border-color: var(--color-primary-hover) !important;
}
.ponto-camera-area {
  margin-top: 1rem;
  width: 100%;
}
.ponto-camera-area video {
  width: 100%;
  max-width: 280px;
  height: 210px;
  background: #000;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 2px solid rgb(255 255 255 / 0.85);
}
.ponto-camera-area {
  position: relative;
}
.ponto-camera-area::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 280px);
  height: 210px;
  border-radius: 999px;
  border: 2px dashed rgb(255 255 255 / 0.75);
  pointer-events: none;
}
.ponto-camera-actions { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ponto-form-actions { margin-top: 1.5rem; }
.btn-registrar-batida { min-height: 52px; font-size: 1.0625rem; font-weight: 600; width: 100%; }

/* ===== Mobile-first UX (uso em celular) ===== */
/* Referência: Apple HIG 44pt mínimo, Material 48dp; font 16px evita zoom no iOS */

@media (max-width: 768px) {
  :root {
    --touch-min: 48px;
    --input-padding-y: 0.875rem;
    --input-padding-x: 1rem;
  }

  body {
    font-size: 16px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .app-main {
    padding: 1.25rem 1rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }

  /* Navegação: mais espaço para toque, permite quebra em retrato */
  .app-nav-inner {
    padding: 0 0.75rem;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .app-nav-left {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .app-nav-links {
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .app-brand {
    font-size: 1.05rem;
  }
  .app-nav-link {
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
  }
  .app-nav-user {
    min-height: var(--touch-min);
    align-items: center;
  }
  .app-btn-logout {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    min-height: 40px;
  }

  /* Page header: botões em coluna, full-width */
  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  .page-header .btn {
    min-height: var(--touch-min);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    justify-content: center;
  }
  .page-title {
    font-size: 1.35rem;
  }

  /* Botões: área de toque maior */
  .btn {
    min-height: var(--touch-min);
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
  .btn-sm {
    min-height: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
  }
  .btn-block {
    width: 100%;
  }

  /* Formulários: evita zoom no iOS (16px), mais padding */
  .form-control,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  select {
    min-height: var(--touch-min);
    padding: var(--input-padding-y) var(--input-padding-x);
    font-size: 16px !important;
    border-radius: 0.75rem;
  }
  .form-label {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }
  .form-group {
    margin-bottom: 1.5rem;
  }
  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .form-actions .btn,
  .form-actions a.btn {
    width: 100%;
    min-height: var(--touch-min);
    justify-content: center;
  }

  /* Cards */
  .card-body {
    padding: 1.25rem 1rem;
  }

  /* Login — painel mais alto, foco em celular */
  .app-main--guest .app-alerts {
    padding: 0.75rem 1rem 0;
  }
  .login-page {
    min-height: calc(100vh - 56px);
    justify-content: flex-start;
    gap: 1.25rem;
  }
  .login-page.app-page {
    padding: max(1.25rem, calc(env(safe-area-inset-top) + 5vh)) 1rem
      calc(1rem + env(safe-area-inset-bottom));
  }
  .login-card {
    padding: 1.5rem 1.2rem 1.4rem;
    border-radius: 0.875rem;
    box-shadow:
      0 1px 3px rgb(15 23 42 / 0.08),
      0 8px 28px -8px rgb(15 23 42 / 0.12);
  }
  .login-title {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    line-height: 1.2;
  }
  .login-card-lead {
    margin-bottom: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.4;
  }
  .login-divider {
    margin: 1rem 0;
    font-size: 0.75rem;
  }
  .login-option-btn {
    min-height: var(--touch-min, 48px);
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
  .login-card .btn {
    min-height: var(--touch-min);
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
  .login-card a.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-page .app-page-footer {
    font-size: 0.75rem;
    line-height: 1.35;
    padding: 0 0.25rem;
  }

  /* Filtros */
  .filters-bar {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }
  .filters-bar .form-control,
  .filters-bar input {
    min-height: var(--touch-min);
    font-size: 16px;
  }
  .filters-bar .btn {
    width: 100%;
    min-height: var(--touch-min);
  }

  /* Tabela: scroll horizontal + ações maiores */
  .table-wrap {
    margin: 0 -1rem;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
  }
  /* Em card, manter alinhado ao padding — senão o recorte arredondado “vaza” */
  .card .table-wrap {
    margin: 0;
    padding: 0;
  }
  .table-modern {
    font-size: 0.9375rem;
  }
  .table-modern th,
  .table-modern td {
    padding: 0.75rem 0.5rem;
  }
  .table-modern .cell-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
  }
  .table-modern .cell-actions a,
  .table-modern .cell-actions button {
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
  }

  /* Paginação */
  .pagination-wrap {
    padding: 1rem;
  }
  .pagination-wrap a,
  .pagination-wrap span {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Dashboard */
  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .dashboard-cards .card-body {
    padding: 1.25rem;
  }
  .dashboard-number {
    font-size: 1.75rem !important;
  }
  .dashboard-cards + .card .btn,
  .card .card-body .btn {
    min-height: var(--touch-min);
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
  .card ul li {
    margin-bottom: 0.75rem;
  }
  .card ul li a {
    display: inline-block;
    padding: 0.5rem 0;
    min-height: 44px;
    line-height: 1.4;
  }

  /* Ponto (batida) */
  .ponto-header {
    padding: 0.75rem 1rem;
    padding-left: calc(1rem + env(safe-area-inset-left));
    padding-right: calc(1rem + env(safe-area-inset-right));
  }
  .ponto-brand {
    font-size: 1rem;
  }
  .ponto-inner {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }
  .ponto-inner .form-control#tipo {
    min-height: var(--touch-min);
    font-size: 1rem;
  }
  .ponto-inner .form-group label.form-label {
    font-size: 0.9375rem;
  }
  .ponto-inner .btn {
    min-height: var(--touch-min);
    font-size: 1rem;
  }
  .ponto-inner #btn-registrar-batida {
    width: 100%;
    min-height: 52px;
    font-size: 1.0625rem;
    font-weight: 600;
  }
  .ponto-inner .form-actions {
    margin-top: 1.5rem;
  }
  .ponto-inner input[type="file"] {
    min-height: 44px;
  }
  .ponto-inner #area-camera-ponto video {
    width: 100%;
    max-width: 280px;
    height: 210px;
  }
  .btn-capturar-camera { max-width: none; }
  .ponto-camera-actions {
    flex-direction: column;
    width: 100%;
  }
  .ponto-camera-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* Telas muito estreitas (ex.: iPhone SE) */
@media (max-width: 380px) {
  .page-title {
    font-size: 1.2rem;
  }
  .app-nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ========== Padrão visual de página (referência: Meus registros) ========== */
.app-page,
.registros-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  min-width: 0;
}
.app-page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.app-page-header-row .registros-page-title {
  margin-bottom: 0.25rem;
}
.app-page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
.app-page-footer {
  margin-top: 2rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
  text-align: right;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.login-page.app-page {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  padding: max(2rem, calc(env(safe-area-inset-top) + 6vh)) 1.25rem 2rem;
}
.login-page .app-page-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: center;
  width: 100%;
  max-width: 420px;
}
.app-nav--guest .app-brand {
  font-size: 1.375rem;
  letter-spacing: -0.03em;
}
.page-subtitle {
  font-size: 0.9375rem;
  color: var(--muted, #666);
  margin: 0.35rem 0 0 0;
  line-height: 1.4;
}
.registros-filters-card,
.registros-table-card,
.table-wrap {
  min-width: 0;
  width: 100%;
}
.registros-page-header {
  margin-bottom: 1.5rem;
}
.registros-page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  margin: 0 0 0.25rem 0;
}
.registros-page-subtitle {
  font-size: 0.9375rem;
  color: var(--muted, #666);
  margin: 0;
}
.registros-filters-card {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.registros-filters .form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted, #555);
  margin-bottom: 0.35rem;
  display: block;
}
.registros-filters .form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border, #ddd);
  border-radius: 6px;
  font-size: 1rem;
}
.registros-filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 1rem 1.25rem;
  align-items: end;
}
.registros-filters-actions .btn {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}
.registros-table-card {
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  overflow: hidden;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-registros {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table-registros thead {
  background: var(--bg-subtle, #f5f5f5);
}
.table-registros th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--muted, #555);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table-registros tbody tr {
  border-bottom: 1px solid var(--border, #eee);
}
.table-registros tbody tr:nth-child(even) {
  background: rgba(0,0,0,.02);
}
.table-registros tbody tr:hover {
  background: rgba(0,0,0,.04);
}
.table-registros td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}
.table-registros .cell-muted {
  color: var(--muted, #666);
}
.table-registros .table-empty {
  text-align: center;
  color: var(--muted, #666);
  padding: 2rem 1rem;
  font-style: italic;
}
.registro-tipo {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
}
.registro-tipo-entrada {
  background: #e8f5e9;
  color: #2e7d32;
}
.registro-tipo-saida {
  background: #ffebee;
  color: #c62828;
}
.registro-tipo-intervalo_entrada,
.registro-tipo-intervalo_saida {
  background: #fff3e0;
  color: #e65100;
}
.pagination-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #eee);
}

/* Paginação pontoid (sem Bootstrap) */
.pontoid-pagination {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.pontoid-pagination-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted, #64748b);
  line-height: 1.4;
}
.pontoid-pagination-meta strong {
  color: var(--color-text, #0f172a);
  font-weight: 600;
}
.pontoid-pagination-nav {
  width: 100%;
}
.pontoid-pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.pontoid-pagination-item {
  list-style: none;
  margin: 0;
}
.pontoid-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  min-width: 2.25rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  color: var(--color-text, #0f172a);
  border: 1px solid var(--border, #e2e8f0);
  background: var(--color-surface, #fff);
}
a.pontoid-pagination-link:hover {
  background: var(--color-background, #f1f5f9);
  border-color: var(--color-primary, #4f46e5);
  color: var(--color-primary, #4f46e5);
}
.pontoid-pagination-item.is-active .pontoid-pagination-link {
  background: var(--color-primary, #4f46e5);
  border-color: var(--color-primary, #4f46e5);
  color: #fff;
}
.pontoid-pagination-item.is-disabled .pontoid-pagination-link {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--muted, #94a3b8);
}

/* Resumo do período — cards */
.resumo-periodo-card .card-body {
  padding: 1.25rem 1.5rem;
}
.resumo-periodo-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text, #0f172a);
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.resumo-periodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem;
}
.resumo-periodo-stat {
  background: linear-gradient(180deg, var(--color-surface, #fff) 0%, var(--color-background, #f8fafc) 100%);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.resumo-periodo-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #64748b);
  line-height: 1.3;
}
.resumo-periodo-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.resumo-periodo-unit {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted, #64748b);
}

/* Tabela por dia */
.table-batidas-por-dia .batidas-dia-data {
  white-space: nowrap;
  font-weight: 600;
}
.table-batidas-por-dia .batidas-dia-hora {
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: var(--color-text, #334155);
}

@media (max-width: 768px) {
  .registros-filters-grid {
    grid-template-columns: 1fr 1fr;
  }
  .registros-filters-actions {
    grid-column: span 2;
  }
  .registros-filters-actions .btn {
    width: 100%;
  }
  .table-registros thead {
    display: none;
  }
  .table-registros tbody tr {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border, #eee);
    background: var(--bg, #fff);
  }
  .table-registros tbody tr:nth-child(even) {
    background: var(--bg-subtle, #f9f9f9);
  }
  .table-registros td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border: none;
  }
  .table-registros td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted, #555);
    font-size: 0.75rem;
    margin-right: 0.5rem;
  }
  .table-registros td:first-child {
    padding-top: 0.5rem;
  }
  .table-registros td:last-child {
    padding-bottom: 0.5rem;
  }
  .table-registros .table-empty {
    display: block;
    padding: 1.5rem;
  }
}

/* Retrato (celular): telas estreitas – evita desconfiguração */
@media (max-width: 480px) {
  .app-main {
    padding: 1rem 0.75rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .app-nav-inner {
    padding: 0 0.5rem;
  }
  .app-nav-link {
    padding: 0.5rem 0.65rem;
    font-size: 0.8125rem;
  }
  .app-page,
  .registros-page {
    padding: 0 0.5rem 1.25rem;
  }
  .login-page.app-page {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .registros-page-header {
    margin-bottom: 1rem;
  }
  .registros-page-title {
    font-size: 1.25rem;
  }
  .registros-page-subtitle {
    font-size: 0.875rem;
  }
  .registros-filters-card .card-body,
  .registros-table-card .card-body {
    padding: 1rem;
  }
  .registros-filters-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .registros-filters-actions {
    grid-column: 1;
  }
  .registros-filters-actions .btn {
    width: 100%;
  }
  .table-registros tbody tr {
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.5rem;
  }
  .table-registros td {
    padding: 0.3rem 0;
    word-break: break-word;
    min-width: 0;
  }
  .table-registros td::before {
    font-size: 0.6875rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  .table-registros td strong,
  .table-registros td .registro-tipo {
    min-width: 0;
  }
}
