#tableArea th, #tableArea td {
    vertical-align: middle !important;
    font-size: 0.84rem;
}
#tableArea .btn-xs {
    padding: 0.15rem 0.3rem;
    font-size: 0.7rem;
}
#tableArea .cbox {
    margin: 0;
}

/* TABELA DE CONCENTRAÇÕES - SEM WRAPPER, SEM VERDE SOBRANDO */
.table-concentracao-simples {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff;
    border: 4px solid #28a745 !important;        /* BORDA VERDE DIRETO */
    border-radius: 16px !important;              /* CANTO ARREDONDADO */
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    font-size: 0.94rem;
    box-sizing: border-box !important;
    table-layout: fixed !important;
    margin: 15px 0 !important;
}

.table-concentracao-simples thead th {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    padding: 15px 12px !important;
    border: none !important;
    white-space: nowrap !important;
    font-size: 0.95rem !important;
}

/* COLUNAS COM LARGURA PERFEITA */
.table-concentracao-simples th:nth-child(1),
.table-concentracao-simples td:nth-child(1) { width: 46% !important; }

.table-concentracao-simples th:nth-child(2),
.table-concentracao-simples td:nth-child(2) { 
    width: 54% !important; 
    text-align: center !important;
}

.table-concentracao-simples tbody td {
    padding: 13px 16px !important;
    border: none !important;
    text-align: center !important;
    background: #ffffff !important;
}

.table-concentracao-simples tbody tr:hover {
    background-color: #f8fff8 !important;
}

.table-concentracao-simples sub {
    font-size: 0.75em;
    vertical-align: sub;
}

.nutriente {
    font-weight: 700 !important;
    color: #1e7e34 !important;
    white-space: nowrap !important;
    text-align: left !important;
}


/* CLASSE DE INTERPRETAÇÃO - TUDO NA MESMA LINHA */
.classe-interpretacao {
    white-space: nowrap !important;        /* NUNCA quebra linha */
    overflow: hidden !important;           /* Esconde o que passar */
    text-overflow: ellipsis !important;    /* Coloca "..." se for muito grande */
    font-size: 0.85rem !important;         /* Reduz um pouco o tamanho */
    font-weight: 600 !important;
    padding: 4px 8px !important;
    display: block !important;
    max-width: 100% !important;
}



/* SE QUISER DEIXAR AINDA MENOR (OPCIONAL) */
.classe-pequena {
    font-size: 0.78rem !important;
    letter-spacing: -0.3px !important;
}

/* ============================================================= */
/* MODAL ALTERAR ÁREA - ESTILO PERSONALIZADO E COMPACTO          */
/* ============================================================= */

#modal-alterar-area .modal-dialog {
    max-width: 600px !important;
    margin: 1.75rem auto;
}

#modal-alterar-area .modal-header {
    background-color: #0E4B5C !important;  /* AZUL BOOTSTRAP */
    color: white !important;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

#modal-alterar-area .modal-header .close {
    color: white;
    opacity: 0.9;
}

#modal-alterar-area .modal-header .close:hover {
    opacity: 1;
}

#modal-alterar-area .form-group {
    margin-bottom: 1rem;
}

#modal-alterar-area label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

#modal-alterar-area .form-control,
#modal-alterar-area select {
    border-radius: 0.35rem;
    font-size: 0.95rem;
}

#coordenadas_area_alt {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background-color: #f8f9fa !important;
    cursor: not-allowed;
}

/* Botão do mapa bem chamativo */
#carregar-mapa-alterar {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    transition: all 0.2s;
}

#carregar-mapa-alterar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

/* Mapa com borda bonita */
#map_alterar {
    border: 4px solid #4285f4;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsivo - empilha no celular */
@media (max-width: 576px) {
    #modal-alterar-area .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
    
    #modal-alterar-area .row > div {
        margin-bottom: 0.5rem;
    }
}



.font-ajustavel {
    font-size: calc(0.5vw + 0.1em);
  }

  .font-ajustavel-2 {
    font-size: calc(0.65vw + 0.2em);
  }
  .font-ajustavel-3 {
    font-size: calc(0.7vw + 0.1em);
  }
.img-container {
  margin-left: calc(1vw + 5px);
  margin-right: calc(1vw + 5px);
}


/*checkbox*/
.cbox {
  width: 47px;
  height: 25px;
  appearance: none;
  background-color: #DAE2DF;
  border-radius: 15px;
  box-shadow: inset 0px 0px 16px 1px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: .4s;
  position: relative;

}

.cbox:checked {
  background-color: #3DECB1;
  box-shadow: inset 0px 0px 16px 1px rgba(0, 0, 0, 0.24);
}

.cbox:before {
  content: '';
  width: 25px;
  height: 25px;
  background-color: #EDF3F1;
  border-radius: 30px;
  position: absolute;
  box-shadow: 0px 4px 8px 1px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
  top: 0;
  left: 0;
}

.cbox:checked:before {
  left: 25px;
  transition: 0.4s;
}

.table-titulo {
  background-color: #0e4b5c;
  color: aliceblue;
  line-height: 1.2;
  text-align: center;
}

.table-linhas {
  line-height: 1.1;
  text-align: center;
  padding: 5pt;
  margin: 5pt;
}

.slider-gradiente {
  -webkit-appearance: none;
  width: 270px;
  height: 30px;
  background: linear-gradient(to right, #00f260, #0575e6);
  border-radius: 10px;
  outline: none;
}

/* Estilo do botão deslizante (thumb) para WebKit (Chrome, Safari) */
.slider-gradiente::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 2px solid #0575e6;
  border-radius: 50%;
  cursor: pointer;
}

/* Firefox */
.slider-gradiente::-moz-range-thumb {
  width: 30px;
  height: 30px;
  background: #fff;
  border: 2px solid #0575e6;
  border-radius: 50%;
  cursor: pointer;
}

.tabela-exemplo {
  border-collapse: collapse;
  width: 100%;
}

.tabela-exemplo th,
.tabela-exemplo td {
  border: 1px solid #ccc;
  padding: 8px;
}

.coluna-nome {
  width: 300px;
  /* Define a largura da coluna */
}

.coluna-dados {
  width: 150px;
  /* Define a largura da coluna */
}

.menu-color{
  color: #092F24;
}

.font-style-a {
  font-family: "Ubuntu", sans-serif;
}

.font-style-b {
  font-family: "Tahoma", sans-serif;
}


.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}


.page-style {
  font-family: 'Ubuntu', sans-serif;
  font-size: 18pt;
  font-weight: bolder;
  color: white;
  background-color: #092F24;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
}

.hdr1-style {
  background-color: #24B432; 
  color: whitesmoke;
  font-weight: bolder;
}
.hdr2-style {
  background-color: #28A745; 
  color: whitesmoke;
  font-weight: bolder;
}

.hdr3-style {
  background-color: RGB(92, 148, 13);
  color: whitesmoke;
  font-weight: bolder;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}




.p-exemplo {
  border: 2px solid #4CAF50;
  border-radius: 10px; 
  padding: 10px;
  width: fit-content;
  background-color: antiquewhite;
}

.p-danger {
  border: 2px solid #43222b;
  border-radius: 10px; 
  padding: 10px;
  width: fit-content;
  background-color: rgba(204, 165, 11, 0.811);
  color: rgb(185, 83, 83); 
  margin-left: 10px;
  margin-right: 10px;
}

.p-nitrogenio {
  border: 2px solid #43222b;
  border-radius: 10px; 
  padding: 10px;
  width: fit-content;
  background-color: rgb(228, 225, 184);
  color: rgb(20, 19, 19);
  font-weight: bolder;
  font-size: 12pt; 
  margin-left: 10px;
  margin-top:-10px;
  margin-right: 10px;
}

.p-fosforo {
  border: 2px solid #43222b;
  border-radius: 10px; 
  padding: 10px;
  width: fit-content;
  background-color: rgba(47, 6, 209, 0.811);
  color: whitesmoke;
  font-weight: bolder;
  font-size: 14pt; 
  margin-left: 10px;
  margin-top:-10px;
  margin-right: 10px;
}
.p-potassio {
  border: 2px solid #43222b;
  border-radius: 10px; 
  padding: 10px;
  width: fit-content;
  background-color: rgba(247, 6, 58, 0.811);
  color: rgb(11, 11, 11);
  font-weight: bolder;
  font-size: 14pt; 
  margin-left: 10px;
  margin-top:-10px;
  margin-right: 10px;
}

.termos-legais {
    margin-left: 10pt;
    margin-bottom: 10pt;
    text-align: justify;
    line-height: 1.6;
    font-size: 12pt;
}