/* =====================================================
   VARIÁVEIS GLOBAIS
===================================================== */
:root {
  --system-primary: #2563eb;
  --system-primary-dark: #1d4ed8;
  --system-secondary: #0f172a;
  --system-sidebar: #0f172a;
  --system-sidebar-secondary: #172554;
  --system-text: #334155;
  --system-muted: #64748b;
  --system-border: #dbe3ee;
  --system-background: #f4f7fb;
  --system-sidebar-width: 260px;
  --system-sidebar-collapsed-width: 82px;
  --system-topbar-height: 72px;
}

/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */
html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

  body.system-body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--system-text);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 30%), linear-gradient(135deg, #f8fafc 0%, #eef4fc 100%);
  }

.system-layout {
  width: 100%;
  min-height: 100vh;
  display: flex;
}

/* =====================================================
   MENU LATERAL
===================================================== */
.system-sidebar {
  width: var(--system-sidebar-width);
  min-width: var(--system-sidebar-width);
  max-width: var(--system-sidebar-width);
  flex: 0 0 var(--system-sidebar-width);
  color: #ffffff;
  border: 0 !important;
  background: linear-gradient(180deg, var(--system-sidebar) 0%, var(--system-sidebar-secondary) 100%);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.14);
  transition: width 0.25s ease, min-width 0.25s ease, max-width 0.25s ease, flex-basis 0.25s ease, transform 0.25s ease;
}

.system-sidebar-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.system-sidebar-brand {
  min-height: var(--system-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: padding 0.25s ease, justify-content 0.25s ease;
}

/* =====================================================
   LOGOMARCA
===================================================== */
.system-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

  .system-brand:hover {
    color: #ffffff;
  }

.system-brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: #ffffff;
  font-size: 21px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, var(--system-primary));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.system-brand-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: width 0.25s ease, max-width 0.25s ease, margin 0.25s ease, opacity 0.18s ease, visibility 0.18s ease;
}

  .system-brand-content strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
  }

  .system-brand-content small {
    margin-top: 3px;
    color: #93c5fd;
    font-size: 12px;
    white-space: nowrap;
  }

/* =====================================================
   BOTÃO DE RECOLHER O MENU DESKTOP
===================================================== */
.system-sidebar-toggle {
  width: 32px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease, right 0.25s ease;
}

  .system-sidebar-toggle:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.14);
  }

  .system-sidebar-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.18);
    outline-offset: 2px;
  }

  .system-sidebar-toggle i {
    transition: transform 0.25s ease;
  }

/* =====================================================
   ITENS DO MENU LATERAL
===================================================== */
.system-menu {
  flex: 1;
  padding: 18px 13px;
  transition: padding 0.25s ease;
}

.system-menu-section {
  display: block;
  margin: 20px 12px 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: height 0.25s ease, margin 0.25s ease, padding 0.25s ease, color 0.18s ease, opacity 0.18s ease;
}

  .system-menu-section:first-child {
    margin-top: 2px;
  }

.system-menu-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding: 10px 13px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 11px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, padding 0.25s ease, gap 0.25s ease, margin 0.25s ease;
}

  .system-menu-item:hover {
    color: #ffffff;
    background-color: rgba(59, 130, 246, 0.16);
    transform: translateX(2px);
  }

  .system-menu-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--system-primary), var(--system-primary-dark));
    box-shadow: 0 9px 18px rgba(37, 99, 235, 0.22);
  }

  .system-menu-item > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: width 0.25s ease, max-width 0.25s ease, margin 0.25s ease, opacity 0.18s ease, visibility 0.18s ease;
  }

.system-menu-icon {
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  font-size: 18px;
  transition: width 0.25s ease, height 0.25s ease, flex-basis 0.25s ease;
}

/* =====================================================
   USUÁRIO NO RODAPÉ DO MENU
===================================================== */
.system-sidebar-footer {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  transition: padding 0.25s ease;
}

.system-sidebar-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  transition: gap 0.25s ease, padding 0.25s ease;
}

.system-sidebar-user-avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  color: #ffffff;
  border-radius: 11px;
  background-color: rgba(59, 130, 246, 0.25);
}

.system-sidebar-user-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: width 0.25s ease, max-width 0.25s ease, margin 0.25s ease, opacity 0.18s ease, visibility 0.18s ease;
}

  .system-sidebar-user-info strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .system-sidebar-user-info span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
    white-space: nowrap;
  }

/* =====================================================
   CABEÇALHO DO MENU NO CELULAR
===================================================== */
.system-sidebar-mobile-header {
  min-height: var(--system-topbar-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, var(--system-sidebar) 0%, var(--system-sidebar-secondary) 100%);
}

/* =====================================================
   ÁREA PRINCIPAL
===================================================== */
.system-main {
  min-width: 0;
  min-height: 100vh;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   CABEÇALHO SUPERIOR
===================================================== */
.system-topbar {
  min-height: var(--system-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 26px;
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--system-border);
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.system-topbar-left,
.system-topbar-right {
  display: flex;
  align-items: center;
}

.system-topbar-left {
  min-width: 0;
  gap: 14px;
}

.system-topbar-right {
  flex-shrink: 0;
}

/* =====================================================
   TÍTULO DA PÁGINA NO CABEÇALHO
===================================================== */
.system-page-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.system-page-heading-label {
  margin-bottom: 2px;
  color: var(--system-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.system-page-heading h1 {
  margin: 0;
  overflow: hidden;
  color: var(--system-secondary);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =====================================================
   BOTÃO DO MENU RESPONSIVO
===================================================== */
.system-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  padding: 0;
  color: var(--system-secondary);
  font-size: 24px;
  border: 1px solid var(--system-border);
  border-radius: 11px;
  background-color: #ffffff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

  .system-menu-button:hover {
    color: var(--system-primary);
    border-color: #bfdbfe;
    background-color: #eff6ff;
  }

/* =====================================================
   MENU DO USUÁRIO NO CABEÇALHO
===================================================== */
.system-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 7px;
  color: var(--system-secondary);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 13px;
  background-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

  .system-user-menu:hover,
  .system-user-menu[aria-expanded="true"] {
    border-color: var(--system-border);
    background-color: #f8fafc;
  }

.system-user-avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  color: var(--system-primary);
  font-size: 17px;
  border-radius: 11px;
  background-color: #eff6ff;
}

.system-user-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

  .system-user-content strong {
    max-width: 190px;
    overflow: hidden;
    color: var(--system-secondary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .system-user-content small {
    margin-top: 1px;
    color: var(--system-muted);
    font-size: 10px;
  }

.system-user-chevron {
  color: var(--system-muted);
  font-size: 11px;
}

/* =====================================================
   DROPDOWN DO USUÁRIO
===================================================== */
.system-user-dropdown {
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--system-border);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
}

.system-user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
}

.system-user-dropdown-avatar {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  color: var(--system-primary);
  border-radius: 11px;
  background-color: #eff6ff;
}

.system-user-dropdown-header div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.system-user-dropdown-header strong {
  overflow: hidden;
  color: var(--system-secondary);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-user-dropdown-header span {
  margin-top: 2px;
  color: var(--system-muted);
  font-size: 10px;
}

.system-user-dropdown .dropdown-divider {
  margin: 5px 0;
  border-color: var(--system-border);
}

.system-user-dropdown .dropdown-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  color: var(--system-text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
}

  .system-user-dropdown .dropdown-item:hover,
  .system-user-dropdown .dropdown-item:focus {
    color: var(--system-primary-dark);
    background-color: #eff6ff;
  }

.system-user-dropdown form {
  margin: 0;
}

.system-logout-item {
  color: #dc2626 !important;
}

  .system-logout-item:hover,
  .system-logout-item:focus {
    color: #b91c1c !important;
    background-color: #fef2f2 !important;
  }

/* =====================================================
   CONTEÚDO DAS PÁGINAS
===================================================== */
.system-content {
  width: 100%;
  min-width: 0;
  flex: 1;
  padding: 28px;
}

  .system-content > .container,
  .system-content > .container-fluid {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
  }

/* =====================================================
   RODAPÉ
===================================================== */
.system-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  color: var(--system-muted);
  font-size: 12px;
  border-top: 1px solid var(--system-border);
  background-color: #ffffff;
}

/* =====================================================
   BARRA DE ROLAGEM DO MENU
===================================================== */
.system-sidebar-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

  .system-sidebar-content::-webkit-scrollbar {
    width: 6px;
  }

  .system-sidebar-content::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .system-sidebar-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(148, 163, 184, 0.35);
  }

    .system-sidebar-content::-webkit-scrollbar-thumb:hover {
      background-color: rgba(148, 163, 184, 0.55);
    }

/* =====================================================
   DESKTOP
===================================================== */
@media (min-width: 992px) {
  .system-layout {
    display: block;
    min-height: 100vh;
  }

  .system-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    width: var(--system-sidebar-width);
    min-width: var(--system-sidebar-width);
    max-width: var(--system-sidebar-width);
    height: 100vh;
    visibility: visible !important;
    transform: none !important;
  }

  .system-sidebar-content {
    height: 100vh;
    min-height: 0;
  }

  .system-main {
    width: calc(100% - var(--system-sidebar-width));
    min-height: 100vh;
    margin-left: var(--system-sidebar-width);
    transition: width 0.25s ease, margin-left 0.25s ease;
  }

  .system-sidebar-mobile-header {
    display: none;
  }

  .system-sidebar-toggle {
    display: inline-flex;
  }

  .system-layout.sidebar-collapsed .system-sidebar {
    width: var(--system-sidebar-collapsed-width);
    min-width: var(--system-sidebar-collapsed-width);
    max-width: var(--system-sidebar-collapsed-width);
  }

  .system-layout.sidebar-collapsed .system-main {
    width: calc(100% - var(--system-sidebar-collapsed-width));
    margin-left: var(--system-sidebar-collapsed-width);
  }

  .system-layout.sidebar-collapsed .system-sidebar-brand {
    justify-content: center;
    overflow: visible;
    padding-right: 12px;
    padding-left: 12px;
  }

    .system-layout.sidebar-collapsed .system-sidebar-brand .system-brand {
      width: 42px;
      flex: 0 0 42px;
      justify-content: center;
    }

  .system-layout.sidebar-collapsed .system-brand-content,
  .system-layout.sidebar-collapsed .system-menu-item > span:last-child,
  .system-layout.sidebar-collapsed .system-sidebar-user-info {
    width: 0;
    max-width: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
  }

  .system-layout.sidebar-collapsed .system-menu-section {
    height: 1px;
    margin: 12px 14px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.12);
  }

  .system-layout.sidebar-collapsed .system-menu {
    padding-right: 8px;
    padding-left: 8px;
  }

  .system-layout.sidebar-collapsed .system-menu-item {
    min-height: 46px;
    justify-content: center;
    gap: 0;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

    .system-layout.sidebar-collapsed .system-menu-item:hover {
      transform: none;
    }

  .system-layout.sidebar-collapsed .system-menu-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    margin: 0;
    font-size: 18px;
  }

  .system-layout.sidebar-collapsed .system-sidebar-footer {
    padding-right: 10px;
    padding-left: 10px;
  }

  .system-layout.sidebar-collapsed .system-sidebar-user {
    justify-content: center;
    gap: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .system-layout.sidebar-collapsed .system-sidebar-user-avatar {
    margin: 0;
  }

  .system-layout.sidebar-collapsed .system-sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -16px;
    z-index: 10;
    color: var(--system-primary);
    border-color: var(--system-border);
    background-color: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.16);
    transform: translateY(-50%);
  }

    .system-layout.sidebar-collapsed .system-sidebar-toggle:hover {
      color: var(--system-primary-dark);
      border-color: #bfdbfe;
      background-color: #eff6ff;
    }

    .system-layout.sidebar-collapsed .system-sidebar-toggle i {
      transform: rotate(180deg);
    }

  .system-layout.sidebar-collapsed .system-brand-icon {
    margin: 0;
  }
}

/* =====================================================
   TABLET E CELULAR
===================================================== */
@media (max-width: 991.98px) {
  :root {
    --system-topbar-height: 64px;
  }

  .system-layout {
    display: block;
    width: 100%;
    min-height: 100vh;
  }

  .system-main {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin-left: 0;
  }

  .system-sidebar {
    width: min(86vw, 320px) !important;
    min-width: 0 !important;
    max-width: min(86vw, 320px) !important;
    flex: none !important;
  }

    .system-sidebar.offcanvas-lg {
      position: fixed !important;
      top: 0 !important;
      bottom: 0 !important;
      left: 0 !important;
      z-index: 1045 !important;
      display: flex !important;
      flex-direction: column !important;
      height: 100vh !important;
      max-height: 100vh !important;
      visibility: hidden;
      transform: translateX(-100%);
      background: linear-gradient(180deg, var(--system-sidebar) 0%, var(--system-sidebar-secondary) 100%);
      background-clip: padding-box;
      outline: 0;
      transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

      .system-sidebar.offcanvas-lg.show,
      .system-sidebar.offcanvas-lg.showing {
        visibility: visible !important;
        transform: none !important;
      }

      .system-sidebar.offcanvas-lg.hiding {
        visibility: visible !important;
        transform: translateX(-100%) !important;
      }

  .system-sidebar-mobile-header {
    min-height: var(--system-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    flex-shrink: 0;
  }

  .system-sidebar-content {
    height: calc(100vh - var(--system-topbar-height));
    min-height: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .system-sidebar-brand {
    display: none;
  }

  .system-sidebar-toggle {
    display: none;
  }

  .system-menu {
    padding: 18px 13px;
  }

  .system-sidebar-footer {
    padding: 15px;
  }

  .system-menu-button {
    display: inline-flex;
  }

  .system-topbar {
    min-height: var(--system-topbar-height);
    gap: 10px;
    padding: 0 13px;
  }

  .system-page-heading-label {
    display: block;
    font-size: 9px;
  }

  .system-page-heading h1 {
    max-width: 180px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .system-user-content,
  .system-user-chevron {
    display: none;
  }

  .system-user-menu {
    padding: 5px;
  }

  .system-user-avatar {
    width: 38px;
    height: 38px;
  }

  .system-content {
    width: 100%;
    padding: 18px 12px;
    overflow-x: hidden;
  }

    .system-content > .container,
    .system-content > .container-fluid,
    .container,
    .container-fluid {
      width: 100%;
      max-width: 100%;
      padding-right: 0;
      padding-left: 0;
    }

  .system-footer {
    min-height: 46px;
    padding: 13px;
    text-align: center;
  }

  .card,
  .cad-card,
  .grid-card,
  .table-card {
    border-radius: 16px;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .system-layout.sidebar-collapsed .system-sidebar {
    width: min(86vw, 320px) !important;
    min-width: 0 !important;
    max-width: min(86vw, 320px) !important;
    flex: none !important;
  }

  .system-layout.sidebar-collapsed .system-brand-content,
  .system-layout.sidebar-collapsed .system-menu-item > span:last-child,
  .system-layout.sidebar-collapsed .system-sidebar-user-info {
    width: auto;
    max-width: none;
    margin: initial;
    overflow: visible;
    opacity: 1;
    visibility: visible;
  }

  .system-layout.sidebar-collapsed .system-menu-section {
    height: auto;
    margin: 20px 12px 8px;
    padding: 0;
    overflow: visible;
    color: #64748b;
    opacity: 1;
    background-color: transparent;
  }

    .system-layout.sidebar-collapsed .system-menu-section:first-child {
      margin-top: 2px;
    }

  .system-layout.sidebar-collapsed .system-menu {
    padding: 18px 13px;
  }

  .system-layout.sidebar-collapsed .system-menu-item {
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 4px;
    padding: 10px 13px;
  }

  .system-layout.sidebar-collapsed .system-menu-icon {
    width: 24px;
    height: auto;
    flex: 0 0 24px;
  }

  .system-layout.sidebar-collapsed .system-sidebar-footer {
    padding: 15px;
  }

  .system-layout.sidebar-collapsed .system-sidebar-user {
    justify-content: flex-start;
    gap: 11px;
    padding: 11px;
  }
}

/* =====================================================
   CELULAR PEQUENO
===================================================== */
@media (max-width: 575.98px) {
  .system-sidebar {
    width: 88vw !important;
    max-width: 88vw !important;
  }

    .system-sidebar.offcanvas-lg {
      width: 88vw !important;
      max-width: 88vw !important;
    }

  .system-topbar {
    gap: 10px;
    padding: 0 10px;
  }

  .system-page-heading-label {
    font-size: 8px;
  }

  .system-page-heading h1 {
    max-width: 145px;
    font-size: 14px;
  }

  .system-user-dropdown {
    min-width: 230px;
  }

  .system-content {
    padding: 16px 10px;
  }

  .system-footer {
    padding: 12px 10px;
  }
}

/* =====================================================
   AJUSTES PARA COMPONENTES EM TELAS PEQUENAS
===================================================== */
@media (max-width: 767.98px) {
  .row {
    --bs-gutter-x: 0.75rem;
  }

  .btn {
    max-width: 100%;
  }

  input,
  select,
  textarea,
  .form-control,
  .form-select {
    max-width: 100%;
  }

  table {
    max-width: 100%;
  }
}
