* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f7f6;
}

.app-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 500;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  padding: 4px 6px;
  border-radius: 200px;
  background-color: #ffffff;
  transition: border-color 0.15s ease-out, transform 0.08s ease-out, box-shadow 0.12s ease-out;
}

.app-logo-link:hover {
  background-color: #ffffff !important;
}

.app-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-header-title {
  display: flex;
  flex-direction: column;
}

.app-header-system {
  font-size: 18px;
  font-weight: 600;
  color: #1f2933;
}

.app-header-subtitle {
  font-size: 12px;
  color: #6b7280;
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgb(2, 121, 32), #0b6b22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-user-avatar img {
  width: 85%;
  height: 85%;
  object-fit: auto;
}

.app-user-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.app-user-email {
  font-size: 11px;
  color: #6b7280;
}

.app-user-role {
  font-size: 11px;
  color: #047857;
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-nav-link {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  background-color: #f3f4f6;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.app-nav-link:hover {
  background-color: #e5e7eb;
}

.app-logout-btn {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  background-color: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.app-logout-btn:hover {
  background-color: #000000;
}

.app-main {
  flex: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 18px 24px 32px;
}

.app-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  font-size: 11px;
  color: #6b7280;
}

.app-footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .app-header {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .app-main {
    padding: 16px 12px 24px;
  }

  .app-header-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.linha {
  height: 3px;
  background: rgb(2, 121, 32);
  margin: 20px 0;
}

.item_form label {
  display: block;
}

.item_form input {
  width: 300px;
  border: none;
  box-sizing: border-box;
  padding: 5px 10px;
  border-radius: 5px;
  border: solid 1px rgb(2, 121, 32);
  margin-bottom: 15px;
}

.item_form p {
  margin-bottom: 15px;
}

.item_form select {
  width: 300px;
  border: none;
  box-sizing: border-box;
  padding: 5px 10px;
  border-radius: 5px;
  border: solid 1px rgb(2, 121, 32);
  margin-bottom: 15px;
}

.item_form textarea {
  width: 300px;
  border: none;
  box-sizing: border-box;
  padding: 5px 10px;
  border-radius: 5px;
  border: solid 1px rgb(2, 121, 32);
  margin-bottom: 15px;
}

.botoes {
  width: 100%;
}

button {
  border: none;
  padding: 10px 10px;
  border-radius: 5px;
  background-color: black;
  color: #fff;
  transition: 0.2s;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;
}

button:hover {
  cursor: pointer;
  background-color: rgb(1, 49, 13);
}

a {
  border: none;
  padding: 5px;
  border-radius: 5px;
  background-color: black;
  color: #fff;
  transition: 0.2s;
  margin: 20px 0;
  text-decoration: none;
  font-size: 14px;
}

a:hover {
  cursor: pointer;
  background-color: rgb(1, 49, 13);
}

header {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header .logo {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo img {
  width: 40%;
  height: auto;
}

header .text {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 600;
}

.container {
  width: 100%;
  height: auto;
  margin: auto;
  box-sizing: border-box;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.container form {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cabecalho {
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 15px;
}

.cabecalho h3 {
  margin-bottom: 20px;
  color: rgb(2, 121, 32);
}

.proposta {
  width: 100%;
  display: flex;
  gap: 5px;
}

.proposta input {
  width: 8%;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  border: solid 1px rgb(2, 121, 32);
  margin-right: 20px;
  margin-bottom: 15px;
}

.proposta .data {
  width: 8%;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  border: solid 1px rgb(2, 121, 32);
}

.proposta p {
  margin-right: 20px;
}

.responsavel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.cliente {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.servico {
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 15px;
}

.servico h3 {
  margin-bottom: 20px;
  color: rgb(2, 121, 32);
}

.topico_servico {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.topico_servico h3 {
  margin-top: 20px;
}

.topico_servico .seta {
  transition: transform 0.3s ease;
}

.servico.minimizado .seta {
  transform: rotate(0deg);
}

.servico:not(.minimizado) .seta {
  transform: rotate(90deg);
}

.servicos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.profissionais {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.lista_profissinais {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  font-size: 14px;
  color: #000000af;
  margin: 20px 0;
  border: solid 1px rgba(128, 128, 128, 0.13);
  background-color: rgba(128, 128, 128, 0.13);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 5px;
}

.lista_profissinais .item-card {
  text-align: left;
}

/* Responsividade para tablets */
@media (max-width: 992px) {
  .lista_profissinais {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .lista_profissinais {
    grid-template-columns: 1fr !important;
  }
}

.consultoria {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.lista_consultoria {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  font-size: 14px;
  color: #000000af;
  margin: 20px 0;
  border: solid 1px rgba(128, 128, 128, 0.13);
  background-color: rgba(128, 128, 128, 0.13);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 5px;
}

.lista_consultoria .item-card {
  text-align: left;
}

/* Responsividade para tablets */
@media (max-width: 992px) {
  .lista_consultoria {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .lista_consultoria {
    grid-template-columns: 1fr !important;
  }
}

.logistica {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.veiculos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.lista_veiculos {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  font-size: 14px;
  color: #000000af;
  margin: 20px 0;
  border: solid 1px rgba(128, 128, 128, 0.13);
  background-color: rgba(128, 128, 128, 0.13);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 5px;
}

.lista_veiculos .item-card {
  text-align: left;
}

/* Responsividade para tablets */
@media (max-width: 992px) {
  .lista_veiculos {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .lista_veiculos {
    grid-template-columns: 1fr !important;
  }
}

.equipamentos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
}

.lista_equipamentos {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  font-size: 14px;
  color: #000000af;
  margin: 20px 0;
  border: solid 1px rgba(128, 128, 128, 0.13);
  background-color: rgba(128, 128, 128, 0.13);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 5px;
}

.lista_equipamentos .item-card {
  text-align: left;
}

/* Responsividade para tablets */
@media (max-width: 992px) {
  .lista_equipamentos {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .lista_equipamentos {
    grid-template-columns: 1fr !important;
  }
}

.art {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.lista_art {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  font-size: 14px;
  color: #000000af;
  margin: 20px 0;
  border: solid 1px rgba(128, 128, 128, 0.13);
  background-color: rgba(128, 128, 128, 0.13);
  box-sizing: border-box;
  padding: 15px;
  border-radius: 5px;
}

.lista_art .item-card {
  text-align: left;
}

/* Responsividade para tablets */
@media (max-width: 992px) {
  .lista_art {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .lista_art {
    grid-template-columns: 1fr !important;
  }
}

.impostos {
  width: 100%;
  display: flex;
  gap: 5px;
}

.impostos input {
  width: 8%;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  border: solid 1px rgb(2, 121, 32);
  margin-right: 20px;
  margin-bottom: 15px;
}

.impostos .data {
  width: 8%;
  border: none;
  padding: 5px 15px;
  border-radius: 10px;
  border: solid 1px rgb(2, 121, 32);
}

.total {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.enviar {
  width: 100%;
}

.enviar button {
  border: none;
  padding: 10px;
  border-radius: 5px;
  background-color: black;
  color: #fff;
  transition: 0.5s;
}

.enviar button:hover {
  background-color: rgba(0, 0, 0, 0.664);
  cursor: pointer;
}

/* =========================
   Percentuais (Resumo da Proposta)
   ========================= */
.percentuais-wrap {
  width: 48%;
  margin: 24px 0 0;
  flex: 0 0 48%;
  overflow-x: auto;
}

.percentuais-title {
  margin: 0 0 12px 0;
  color: rgb(2, 121, 32);
}

.percentuais-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13.5px;
}

.percentuais-table thead th {
  text-align: left;
  background: rgb(2, 121, 32);
  color: #fff;
  padding: 10px 12px;
  font-weight: 600;
}

.percentuais-table tbody td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
}

.percentuais-label {
  font-weight: 600;
}

.percentuais-value {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.percentual-container {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.percentual-barra {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: rgb(2, 121, 32, 0.15);
  border-radius: 3px;
  z-index: 1;
}

.percentual-texto {
  position: relative;
  z-index: 2;
  font-weight: 600;
  color: #333;
}

@media (max-width: 1024px) {
  .percentuais-wrap,
  .dre-wrap {
    width: 100%;
    flex: 0 0 100%;
  }

  .container {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .percentuais-table {
    font-size: 12px;
  }

  .percentuais-table thead th,
  .percentuais-table tbody td {
    padding: 4px 6px;
  }

  .percentual-container {
    height: 16px;
  }

  .percentual-texto {
    font-size: 11px;
  }
}

/* =========================
   DRE (Campos de margem)
   ========================= */
.margem-label-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 120px;
}

.margem-label {
  background: rgb(2, 121, 32);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

.margem-input-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 120px;
}

.margem-label:hover {
  background: rgb(1, 49, 13);
  transform: scale(1.05);
}

.margem-input-container,
.margem-display-container {
  height: 40px;
  display: flex;
  align-items: center;
}

.margem-input-container input {
  width: 120px;
  padding: 8px 12px;
  border: 2px solid rgb(2, 121, 32);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.margem-input-container input:focus {
  outline: none;
  border-color: rgb(1, 49, 13);
  box-shadow: 0 0 0 3px rgba(2, 121, 32, 0.1);
}

.margem-percentual {
  background: rgb(2, 121, 32);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

.margem-percentual-display {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 2px solid rgb(2, 121, 32);
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
  box-sizing: border-box;
}

.margem-percentual:hover {
  background: rgb(1, 49, 13);
  transform: scale(1.05);
}

/* =========================
   DRE (Resumo da Proposta)
   ========================= */
.dre-wrap {
  width: 48%;
  max-width: 480px;
  margin: 24px 0 0;
  flex: 0 0 48%;
}

.dre-title {
  margin: 0 0 12px 0;
  color: rgb(2, 121, 32);
}

.dre-table {
  width: 100%;
  min-width: 650px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13.5px;
}

.dre-table thead th {
  text-align: left;
  background: rgb(2, 121, 32);
  color: #fff;
  padding: 10px 12px;
  font-weight: 600;
}

.dre-table tbody td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
}

.dre-label {
  font-weight: 600;
}

.dre-value {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dre-percentual {
  text-align: center;
  font-weight: 500;
  color: #666;
}

.hl-yellow {
  background: #fff9d6;
}
.hl-green {
  background: #e9f7ee;
}
.dre-emphasis {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-back {
  align-self: flex-start;
  display: inline-flex;
  padding: 10px 16px;
  margin: 16px 0 0 0;
}

.dre-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.dre-actions .btn-back {
  display: inline-flex;
  padding: 10px 16px;
  margin: 0;
}

@media (max-width: 640px) {
  .dre-table {
    min-width: auto;
    font-size: 12px;
  }
  .dre-table thead {
    display: none;
  }
  .dre-table,
  .dre-table tbody,
  .dre-table tr,
  .dre-table td {
    display: block;
    width: 100%;
  }
  .dre-table tr {
    border-bottom: 1px solid #eee;
  }
  .dre-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
  }
  .dre-label {
    margin-right: 12px;
  }
  .dre-percentual {
    margin-right: 12px;
    font-weight: 500;
    color: #666;
  }
  .percentuais-table thead {
    display: none;
  }

  .percentuais-table,
  .percentuais-table tbody,
  .percentuais-table tr,
  .percentuais-table td {
    display: block;
    width: 100%;
  }

  .percentuais-table tr {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
  }

  .percentuais-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
  }

  .percentuais-label {
    margin-right: 12px;
    font-weight: 600;
  }

  .percentual-container {
    width: 60%;
    justify-content: flex-end;
  }
}

@media (min-width: 728px) and (max-width: 1023px) {
  header .logo img {
    width: 50%;
    height: auto;
  }
  .responsavel {
    flex-direction: column;
  }
  .responsavel input {
    width: 95%;
  }
  .cliente {
    flex-direction: column;
  }
  .cliente input {
    width: 95%;
  }
  .servicos {
    flex-direction: column;
  }
  .servicos input {
    width: 95%;
  }
  .servicos select {
    width: 100%;
  }
  .profissionais {
    flex-direction: column;
  }
  .profissionais input {
    width: 95%;
  }
  .profissionais select {
    width: 100%;
  }
  .logistica {
    flex-direction: column;
  }
  .logistica input {
    width: 95%;
  }
  .veiculos {
    flex-direction: column;
  }
  .veiculos input {
    width: 95%;
  }
  .veiculos select {
    width: 100%;
  }
  .equipamentos {
    flex-direction: column;
  }
  .equipamentos input {
    width: 95%;
  }
  .equipamentos select {
    width: 100%;
  }
  .impostos {
    flex-direction: column;
  }
  .impostos input {
    width: 95%;
  }
}

@media (min-width: 480px) and (max-width: 727px) {
  header .logo img {
    width: 60%;
    height: auto;
  }
  .proposta {
    flex-direction: column;
  }
  .proposta input {
    width: 30%;
  }
  .proposta .data {
    width: 30%;
  }
  .responsavel {
    flex-direction: column;
  }
  .responsavel input {
    width: 90%;
  }
  .cliente {
    flex-direction: column;
  }
  .cliente input {
    width: 90%;
  }
  .servicos {
    flex-direction: column;
  }
  .servicos input {
    width: 90%;
  }
  .servicos select {
    width: 100%;
  }
  .profissionais {
    flex-direction: column;
  }
  .profissionais input {
    width: 90%;
  }
  .profissionais select {
    width: 100%;
  }
  .logistica {
    flex-direction: column;
  }
  .logistica input {
    width: 90%;
  }
  .veiculos {
    flex-direction: column;
  }
  .veiculos input {
    width: 90%;
  }
  .veiculos select {
    width: 100%;
  }
  .equipamentos {
    flex-direction: column;
  }
  .equipamentos input {
    width: 90%;
  }
  .equipamentos select {
    width: 100%;
  }
  .impostos {
    flex-direction: column;
  }
  .impostos input {
    width: 80%;
  }
}

@media (min-width: 321px) and (max-width: 479px) {
  header {
    flex-direction: column;
  }
  header .logo img {
    width: 100%;
    height: auto;
  }
  .proposta {
    flex-direction: column;
  }
  .proposta input {
    width: 30%;
  }
  .proposta .data {
    width: 30%;
  }
  .responsavel {
    flex-direction: column;
  }
  .responsavel input {
    width: 85%;
  }
  .cliente {
    flex-direction: column;
  }
  .cliente input {
    width: 85%;
  }
  .servicos {
    flex-direction: column;
  }
  .servicos input {
    width: 85%;
  }
  .servicos select {
    width: 100%;
  }
  .profissionais {
    flex-direction: column;
  }
  .profissionais input {
    width: 85%;
  }
  .profissionais select {
    width: 100%;
  }
  .logistica {
    flex-direction: column;
  }
  .logistica input {
    width: 85%;
  }
  .veiculos {
    flex-direction: column;
  }
  .veiculos input {
    width: 85%;
  }
  .veiculos select {
    width: 100%;
  }
  .equipamentos {
    flex-direction: column;
  }
  .equipamentos input {
    width: 85%;
  }
  .equipamentos select {
    width: 100%;
  }
  .impostos {
    flex-direction: column;
  }
  .impostos input {
    width: 85%;
  }
}

@media (min-width: 0px) and (max-width: 320px) {
  header {
    flex-direction: column;
  }
  header .logo img {
    width: 100%;
    height: auto;
  }
  .proposta {
    flex-direction: column;
  }
  .proposta input {
    width: 30%;
  }
  .proposta .data {
    width: 30%;
  }
  .responsavel {
    flex-direction: column;
  }
  .responsavel input {
    width: 80%;
  }
  .cliente {
    flex-direction: column;
  }
  .cliente input {
    width: 80%;
  }
  .servicos {
    flex-direction: column;
  }
  .servicos input {
    width: 80%;
  }
  .servicos select {
    width: 100%;
  }
  .profissionais {
    flex-direction: column;
  }
  .profissionais input {
    width: 80%;
  }
  .profissionais select {
    width: 100%;
  }
  .logistica {
    flex-direction: column;
  }
  .logistica input {
    width: 80%;
  }
  .veiculos {
    flex-direction: column;
  }
  .veiculos input {
    width: 80%;
  }
  .veiculos select {
    width: 100%;
  }
  .equipamentos {
    flex-direction: column;
  }
  .equipamentos input {
    width: 80%;
  }
  .equipamentos select {
    width: 100%;
  }
  .impostos {
    flex-direction: column;
  }
  .impostos input {
    width: 80%;
  }
}

/* =========================
   Estilos da Página de Login
   ========================= */

/* Layout da página de login */
.login-page {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.login-header p {
  color: #666;
  font-size: 14px;
}

/* Formulário de login */
.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-group label {
  color: #555;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.login-form .form-control {
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.login-form .form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.login-form .input-group-text {
  background: #f8f9fa;
  border: 2px solid #e1e5e9;
  border-right: none;
  color: #6c757d;
}

.login-form .input-group .form-control {
  border-left: none;
}

/* Botão de login */
.btn-login {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Logo da marca */
.brand-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  overflow: hidden;
  position: relative;
}

.brand-logo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

/* Rodapé do login */
.login-footer {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 12px;
}

/* Responsividade para login */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 20px;
    margin: 20px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .login-header h2 {
    font-size: 1.5rem;
  }
}

/* =========================
   Toggle Switch para Compartilhamento
   ========================= */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgb(2, 121, 32);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.compartilhamento-container {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.compartilhamento-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.compartilhamento-header label {
  font-weight: 600;
  color: #333;
  margin: 0;
}

.compartilhamento-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.compartilhamento-input-group input[type="text"] {
  flex: 1;
  min-width: 150px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.checkbox-pode-editar {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.checkbox-pode-editar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: rgb(2, 121, 32);
}

.checkbox-pode-editar span {
  user-select: none;
}

.compartilhamento-input-group button {
  padding: 8px 16px;
  background-color: rgb(2, 121, 32);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.compartilhamento-input-group button:hover {
  background-color: rgb(1, 49, 13);
}

.compartilhamento-input-group button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.usuarios-compartilhados {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.usuario-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgb(2, 121, 32);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.permissao-badge {
  font-size: 14px;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.usuario-tag .remove-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  line-height: 1;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.usuario-tag .remove-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.usuario-tag .remove-user {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  line-height: 1;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.usuario-tag .remove-user:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Garantir que a seção de compartilhamento seja sempre visível */
.compartilhamento-container {
  display: inline-block !important;
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background-color: #f9f9f9 !important;
  width: 350px !important;
  max-width: 350px !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  text-align: left !important;
  flex-shrink: 0 !important;
}

/* Estilo para quando está desabilitado */
.compartilhamento-desabilitado {
  opacity: 0.6;
}

.compartilhamento-desabilitado input:disabled,
.compartilhamento-desabilitado button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.compartilhamento-container.compartilhamento-desabilitado {
  background-color: #f5f5f5;
  border-color: #ccc;
}

/* Garantir que elementos habilitados tenham aparência normal */
#compartilhamento_content:not(.compartilhamento-desabilitado) input[type="text"]:not(:disabled),
#compartilhamento_content:not(.compartilhamento-desabilitado) input[type="checkbox"]:not(:disabled),
#compartilhamento_content:not(.compartilhamento-desabilitado) button:not(:disabled),
#compartilhamento_content:not(.compartilhamento-desabilitado) label {
  opacity: 1 !important;
  cursor: default !important;
  pointer-events: auto !important;
  color: #333 !important;
  background-color: white !important;
}

#compartilhamento_content:not(.compartilhamento-desabilitado) input[type="text"]:not(:disabled) {
  background-color: white !important;
  color: #333 !important;
  border-color: #ddd !important;
}

#compartilhamento_content:not(.compartilhamento-desabilitado) button:not(:disabled) {
  background-color: rgb(2, 121, 32) !important;
  color: white !important;
  cursor: pointer !important;
}

/* =========================
   Estilos da Página Principal (Home)
   ========================= */

/* Informações do usuário */
.user-info {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.user-role {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.logout-btn {
  background-color: black;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: auto;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
}

/* Contador de propostas */
.propostas-count {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  border-left: 4px solid #28a745;
}

/* Mensagens de alerta */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid;
}

.alert-danger {
  background: #fee;
  color: #c53030;
  border-left-color: #c53030;
}

.alert-success {
  background: #f0fff4;
  color: #2f855a;
  border-left-color: #2f855a;
}

/* Estado vazio */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #666;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h4 {
  margin-bottom: 10px;
}

/* Botão de exclusão */
.btn-excluir {
  background-color: #dc3545 !important;
  border: none !important;
  color: white !important;
  padding: 5px 10px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.btn-excluir:hover {
  background-color: #c82333 !important;
  transform: translateY(-1px) !important;
}

/* =========================
   Dropdown de Ações na lista de propostas
   ========================= */
.actions-wrap {
  position: relative;
  display: inline-block;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
}

.actions-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 4px;
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.actions-dropdown.open {
  display: block;
}

.actions-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  color: #222;
  text-align: left;
  padding: 8px 10px;
  margin: 0;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.actions-dropdown .dropdown-item:hover {
  background: #f5f5f5;
}

.actions-dropdown .dropdown-item i {
  width: 16px;
  text-align: center;
}

.actions-dropdown .dropdown-item.danger {
  color: #c53030;
}

.actions-dropdown .dropdown-item.danger:hover {
  background: #fee;
}

/* Código da proposta */
.codigo-proposta {
  font-weight: bold;
  color: rgb(2, 121, 32);
  font-family: 'Courier New', monospace;
  background-color: rgba(2, 121, 32, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  min-width: 80px;
  text-align: center;
  font-size: 13px;
}

/* Campos editáveis na tela da proposta */
.item_form input[type='text'],
.item_form input[type='email'] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.item_form input[type='text']:focus,
.item_form input[type='email']:focus {
  outline: none;
  border-color: rgb(2, 121, 32);
  box-shadow: 0 0 0 2px rgba(2, 121, 32, 0.1);
}

.item_form input[type='text']::placeholder,
.item_form input[type='email']::placeholder {
  color: #999;
  font-style: italic;
}

/* Responsividade para a página principal */
@media (max-width: 768px) {
  .container {
    padding: 20px 20px;
  }

  .user-info {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .user-details {
    flex-direction: column;
    gap: 8px;
    flex: none;
  }

  .logout-btn {
    margin-left: 0;
  }

  .propostas-count {
    font-size: 14px;
  }

  .empty-state {
    padding: 20px;
  }

  .empty-state i {
    font-size: 36px;
  }
}

/* Estilo para a seção de cálculo DRE (à esquerda) */
.dre-calculo-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  width: 350px;
  max-width: 350px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.dre-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dre-item label {
  font-weight: 600;
  color: #333;
  margin: 0;
}

.dre-item div {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  padding: 8px 0;
}

/* Ajustar o botão Calcular DRE */
.dre-calculo-container .btn-acoes {
  align-self: flex-start;
  margin: 0;
}

/* =========================
   RESUMO DE CUSTOS POR CATEGORIA
   ========================= */
.resumo-custos-wrap {
  width: 100%;
  margin: 24px 0 0;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resumo-custos-title {
  margin: 0 0 16px 0;
  color: rgb(2, 121, 32);
  font-size: 1.2rem;
  font-weight: 600;
}

.resumo-custos-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.resumo-custos-table thead th {
  text-align: left;
  background: rgb(2, 121, 32);
  color: #fff;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.resumo-custos-table tbody td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.resumo-custos-label {
  font-weight: 600;
  color: #333;
}

.resumo-custos-value {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #555;
}

.resumo-custos-total {
  background: #f0f8f0;
  border-top: 2px solid rgb(2, 121, 32);
}

.resumo-custos-total .resumo-custos-label {
  color: rgb(2, 121, 32);
  font-size: 1rem;
}

.resumo-custos-total .resumo-custos-value {
  color: rgb(2, 121, 32);
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .resumo-custos-table {
    font-size: 12px;
  }

  .resumo-custos-table thead th,
  .resumo-custos-table tbody td {
    padding: 6px 4px;
  }

  .resumo-custos-wrap {
    padding: 12px;
  }
}

/* Container dos checkboxes de HUBs */
.hubs-checkbox-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  background-color: #f9f9f9;
  margin-top: 5px;
}

/* Item individual do checkbox */
.hub-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.hub-checkbox-item:hover {
  background-color: #e9e9e9;
}

/* Checkbox customizado */
.hub-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #28a745;
}

/* Label do checkbox */
.hub-checkbox-label {
  cursor: pointer;
  font-size: 14px;
  color: #333;
  user-select: none;
  flex: 1;
}

/* Estilo para checkbox marcado */
.hub-checkbox:checked + .hub-checkbox-label {
  font-weight: 600;
  color: #28a745;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .hubs-checkbox-container {
    grid-template-columns: 1fr;
    max-height: 150px;
  }
}

/* Estilo para as tags de HUB exibidas */
.hub-tag {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  margin: 2px 6px 2px 0;
  white-space: normal; /* permite quebrar se necessário */
  overflow-wrap: anywhere; /* quebra chips muito longos */
}

/* Estilos para a tela de classificação do serviço */
.campos-principais {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.campos-principais .campo {
  flex: 1;
  min-width: 0;
}

.campos-principais .campo label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.campos-principais .campo select,
.campos-principais .campo input[type='text'] {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s ease;
  height: 36px;
  box-sizing: border-box;
}

.campos-principais .campo select:focus,
.campos-principais .campo input[type='text']:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

/* HUBs em linha separada */
.hubs-linha {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.hubs-linha label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  max-width: 100%;
  box-sizing: border-box;
}

.hub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  min-width: 0;
}

.hub-checkbox {
  width: 14px;
  height: 14px;
  accent-color: #4caf50;
  cursor: pointer;
  flex-shrink: 0;
}

.hub-label {
  font-size: 12px;
  color: #495057;
  cursor: pointer;
  user-select: none;
  flex: 1;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hubs-instruction {
  display: block;
  margin-top: 8px;
  color: #6c757d;
  font-size: 12px;
  font-style: italic;
}

#logs {
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

#logs table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border: none;
}

#logs thead th {
  background-color: #f8f8f8;
  color: #333;
  padding: 10px 8px;
  text-align: center;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

#logs tbody tr {
  border: none;
  transition: background-color 0.2s;
}

#logs tbody tr:hover {
  background-color: #f1f1f1;
}

#logs tbody td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
  color: #555;
}

#logs tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .campos-principais {
    flex-direction: column;
    gap: 15px;
  }

  .hubs-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* Estilos para os tipos de logística */
.tipos-logistica {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: fit-content;
}

.tipo-logistica-label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  background-color: white;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
  position: relative;
}

.checkbox-item:hover {
  background-color: #f8f9fa;
  border-color: #28a745;
}

.checkbox-item input[type='radio'] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #28a745;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-item label {
  cursor: pointer;
  font-size: 14px;
  color: #333;
  user-select: none;
  margin: 0;
  font-weight: 500;
  flex-shrink: 0;
}

.checkbox-item input[type='radio']:checked + label {
  color: #28a745;
  font-weight: 600;
}

.info-icon {
  color: #17a2b8;
  cursor: help;
  font-size: 16px;
  transition: color 0.2s ease;
  display: inline-block;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  /* Debug: garantir que o ícone seja visível */
  background-color: rgba(23, 162, 184, 0.1);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
  margin-left: 4px;
}

.info-icon:hover {
  color: #138496;
}

/* Tooltip personalizado */
.checkbox-item {
  position: relative;
}

.checkbox-item .info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 0;
  transform: none;
  background-color: #333;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  white-space: normal;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
  max-width: 320px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.checkbox-item .info-icon:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 8px;
  transform: none;
  border: 8px solid transparent;
  border-top-color: #333;
  z-index: 1000;
  margin-bottom: 0px;
}

/* Responsividade para os tipos de logística */
@media (max-width: 768px) {
  .tipos-logistica {
    padding: 12px;
  }

  .checkbox-group {
    gap: 10px;
  }

  .checkbox-item {
    padding: 6px 10px;
  }

  .checkbox-item label {
    font-size: 13px;
  }
}

/* Estilos para modo somente leitura */
.readonly-mode input[readonly],
.readonly-mode select[readonly],
.readonly-mode textarea[readonly] {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.8;
}

.readonly-mode .form-control[readonly] {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.8;
}

.readonly-mode .btn {
  display: none !important;
}

.readonly-mode .botoes {
  display: none !important;
}
