.tv {
  overflow: hidden;
  zoom: 67%;
  transform: scale(1);
}

.logo {
  height: 30px;
  margin-top: 4px;
  padding-left: 15px;
  padding-right: 25px;
}

#myTab {
  background-color: rgb(52, 54, 119);
/*  font-family: "Open Sans", "sans-serif";*/
  font-weight: 600;
}

#myTab .nav-item .nav-link {
  color: #ffffff;
  border-radius: 0;
}

#myTab .nav-item .nav-link:hover {
  border-radius: 0;
  border: 1px solid rgba(34, 36, 112, 0.925);
}

#myTab .nav-item .active {
  background-color: rgba(34, 36, 112, 0.925);
  border: 1px solid rgba(34, 36, 112, 0.925);
  margin: 0;
  border-radius: 0;
}

.stage-bg {
  background-color: #f5f5f6;
  min-width: 270px;
}

.card-stage {
  padding: 10px;
}

.stage-bg > .alert {
  text-align: center;
}

.list-deals {
  height: calc(100% - 70px);
  max-height: calc(100% - 70px);
}

.carencia-vencida {
  background-color: rgb(248, 215, 218);
}

.carencia-proxima {
  background-color: rgb(255, 243, 205);
}

.deal {
  cursor: pointer;
}

.deal-danger {
  background-color: #ff9c91;
}

.deal-warning {
  background-color: rgb(225, 227, 158);
}

#leads {
  max-height: calc(100% - 120px);
}

#leads-table,
#perdidos-table,
#negocios-panel,
#pesquisa-panel {
  height: calc(100vh - 30px);
  max-height: calc(100vh - 30px);
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #f5f5f6;
}

*::-webkit-scrollbar-thumb {
  background-color: #ced4da;
  border-radius: 20px;
  border: 3px solid #f5f5f6;
}

.container-fluid {
  background-color: #fff;
}

/*404*/

.fs-error {
  font-size: 10rem;
}

.text-200 {
  color: #edf2f9 !important;
}

.display-1 {
  font-weight: 900;
  line-height: 1;
}

.text-800 {
  color: #4d5969 !important;
}

.font-weight-semi-bold {
  font-weight: 600 !important;
}

/*fim 404*/

/*sem permissao*/

.fs-error i::before {
  font-size: 10rem !important;
  font-weight: 900;
  line-height: 1;
  color: #e45225;
}

/*fim sem permissao*/

/*erro*/

.erro_titulo {
  color: #b71c1c;
}

.erro_desc {
  color: #c0392b;
}

/*fim erro*/

.zoom > .stage-bg {
  min-width: 145px;
  padding: 1px !important;
  margin-top: 1px !important;
  margin-right: 1px !important;
  margin-left: 1px !important;
}

.zoom > .stage-bg > .alert {
  font-size: 9px;
  padding-left: 0;
  padding-right: 0;
}

.zoom > .card-body > .card-title {
  font-size: 12px !important;
}

.zoom > .card-body > .card-text {
  font-size: 10px !important;
}

/*Loader Modal*/

.spinner {
  display: none; /* flex quando quiser mostrar */
}

.spinner > .overlay-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;

  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner > .overlay-dark-stages {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1050;

  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-border {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/*Barra de pesquisa*/

#input-busca {
  width: 100vw;
  max-width: 100vw;
  font-size: 18px;
  border: 2px solid #221870;

  justify-content: center;
  align-items: center;
}

#input-busca:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

@media (max-width: 992px) {
  #input-busca {
    max-width: 600px;
    font-size: 16px;
    padding: 10px 10px;
  }
}

@media (max-width: 576px) {
  #input-busca {
    max-width: 100%;
    font-size: 14px;
  }
}

#btnAddToHome {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #04304d, #221870);
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#btnAddToHome:hover,
#btnAddToHome:focus {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  outline: none;
}

@media (max-width: 1025px) {
  #btnAddToHome {
    display: block !important;
  }
}

/* modal-footer */

.modal-footer {
  justify-content: center;
  width: 100%; /* ocupa tudo */
  max-width: 500px; /* limite máximo */
  font-size: 14px;
  display: block;
}

.input-comentario {
  width: 100%; /* ocupa 100% da modal-footer */
  max-width: 475px; /* não passa disso */
  border: 2px solid #221870;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  resize: none;
  overflow-y: hidden;
}


.input-comentario:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

@media (max-width: 992px) {
  .modal-footer {
    font-size: 16px;
    padding: 10px;
  }

  .input-comentario {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .modal-footer {
    max-width: 100%;
    font-size: 14px;
  }

  .input-comentario {
    font-size: 12px;
  }
}

#comments-container {
  max-height: 200px;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  margin-top: 15px;
  border-top: 1px solid #ddd;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #bbb transparent;
}

/* Scrollbar para Chrome/Edge */

#comments-container::-webkit-scrollbar {
  width: 6px;
}
#comments-container::-webkit-scrollbar-track {
  background: transparent;
}
#comments-container::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 10px;
}

.comment {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  transition: background 0.2s ease;
}

.comment:hover {
  background: #f1f1f1;
}

/*Modal Pipeline*/

.modal-pipeline {
display: flex;            /* ativa o flex */
  justify-content: center;  /* centraliza horizontalmente */
  align-items: center;      /* centraliza verticalmente */
  width: 100%;
  max-width: 500px; 
  font-size: 14px;
  padding: 20px;            /* dá espaço interno */
  margin: auto;             /* centraliza no body se necessário */
  box-sizing: border-box;
  flex-direction: column;
  border-bottom: 1px solid #ccc; /* linha fina cinza */
  padding-bottom: 15px;          /* dá um espaçamento entre conteúdo e linha */
  margin-bottom: 15px;   
}

.modal-pipeline form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 475px; 
}


.modal-pipeline h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}


.modal-pipeline select.form-pipeline {
  width: 100%;
  max-width: 475px;
  border: 2px solid #221870;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  resize: none;
  overflow-y: hidden;
}

.modal-pipeline select.form-pipeline:focus {
  outline: none;
  border-color: #221870;
}

/* Submit button */
.modal-pipeline button#btnChangePipeline {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.modal-pipeline button#btnChangePipeline:hover {
  background-color: #4d5969;
  color: #fff;
  border-color: #4d5969;
  cursor: pointer;
}

/* Form dentro do modal */

#modal-etiqueta form {
  display: flex;
  flex-direction:row;
  gap: 15px;
  width: 100%;
  max-width: 475px; 
}

#modal-etiqueta .form-etiqueta {
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  border: 2px solid #221870;
  height: 35px;
}

#modal-etiqueta .form-etiqueta:focus {
  border-color: #221870;
  outline: none;
}

#modal-etiqueta button#btnChangeEtiqueta {
    align-self: flex-end;
    height: 35px;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

#modal-etiqueta button#btnChangeEtiqueta:hover {
    background-color: #221870;
    color: #fff;
    border-color: #221870;
}

#modal-etiqueta select.form-etiqueta option {
    padding: 5px;
}

/*DealToLead*/

#modal-DealToLead{
  width: 100%;  
  padding: 20px 0;
}
.nav-tabs   {
  border-bottom: 0px !important;
  padding-left: 10px !important;
  padding-bottom: 10px !important;
}

@media (max-width: 576px) {
  .nav-tabs   {
  display: block !important;
}
}

/* Schedule */

.Schedule {
  padding-right: 5vh;
  padding-bottom: 5px;
}

#bntScheduler {
  background: none !important;
  border: none !important;
  padding-bottom: 2px !important;
}

#bntScheduler:hover {
  border-radius: 0 !important;
  background: rgba(34, 36, 112, 0.925) !important;
}

#bntLostItems {
  background: none !important;
  border: none !important;
  padding-bottom: 2px !important;
}

#bntLostItems:hover {
  border-radius: 0 !important;
  background: rgba(34, 36, 112, 0.925) !important;
}
