/* Ajustes para usar o CSS original do Gestor com Blade */
body.gp-app {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #fff;
}
a.menu-item,
a.dropdown-item {
  text-decoration: none;
  color: inherit;
}
.sidebar .menu-item.active,
.sidebar a.menu-item.active {
  background: #fff7ed;
  color: #c2410c;
}
.sidebar .menu-item.active > svg,
.sidebar .menu-item.active > i {
  color: #ea580c;
}
.sidebar .dropdown-item.active {
  background: #fff7ed;
  color: #c2410c;
  font-weight: 700;
}
.sidebar i.menu-fa {
  width: 18px;
  min-width: 18px;
  font-size: 16px;
  color: #64748b;
}
.sidebar .menu-item:hover i.menu-fa {
  color: #ea580c;
}
.sidebar a.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar .dropdown-content {
  display: none;
}
.sidebar .dropdown-content.is-expanded {
  display: block;
}
.gp-flash {
  margin: 12px 16px 0;
}
.header-tabs a.btn {
  text-decoration: none;
  color: inherit;
  gap: 6px;
}
.header-tabs a.btn.active {
  color: #fff;
}
.btn-novo-pedido {
  text-decoration: none;
  color: #fff !important;
}
.novo-pedido-menu {
  position: relative;
}
.novo-pedido-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  padding: 6px;
}
.novo-pedido-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  font: inherit;
  color: #1f2937;
  cursor: pointer;
}
.novo-pedido-option:hover {
  background: #fff7ed;
  color: #c2410c;
}
.sidebar:not(.open) .menu-item {
  justify-content: center;
  padding: 12px 0;
  gap: 0;
}
.sidebar:not(.open) .menu-item > span,
.sidebar:not(.open) .sidebar-dropdown,
.sidebar:not(.open) .dropdown-label {
  display: none;
}
.sidebar:not(.open) .dropdown-content {
  display: none;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}
.sidebar:not(.open) .dropdown-content.is-expanded {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.sidebar:not(.open) .dropdown-item {
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}
.sidebar:not(.open) .dropdown-item .dropdown-icon {
  margin: 0;
}
body.sidebar-collapsed .sidebar,
body.sidebar-collapsed .sidebar.open {
  width: 45px;
}
.login-content {
  position: relative;
  min-height: 0;
}
.login-form-section .input-group {
  display: block;
  width: 100%;
}
.main-content.dashboard-main,
.main-content.caixa-main,
.main-content.gp-page-main {
  padding: 0;
  background: #f5f7fb;
  overflow: auto;
}
.main-content.pedidos-main {
  padding: 0;
  background: #fff;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.main-content.impressoras-main {
  padding: 12px 20px 20px 20px;
  background: #f5f7fb;
  overflow: auto;
}
.painel-pedidos-container {
  width: 100%;
  min-height: 100%;
  background: #fff;
  align-self: stretch;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.conteudo-painel,
.tabela-container {
  background: #fff;
}
.conteudo-painel {
  flex: 1;
}
.top-action-btn {
  text-decoration: none;
}
.acoes-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.acoes-wrapper form {
  display: inline;
  margin: 0;
}

/* Bootstrap nao deve desmontar a barra original */
.container-wrapper {
  max-width: none;
  padding: 0;
}
.top-bar .btn,
.sidebar .btn {
  box-shadow: none;
}
