/* Your Custom CSS Goes here */
.card-hover:hover,
.card-hover:focus,
.card-hover:active {
    background-color: #f0f0f0;
}

.text-decoration-none {
    text-decoration: none !important;
}


.material-icons {
    vertical-align: middle;
}

.font-10 {
  font-size: 10px !important;
}

.font-11 {
  font-size: 11px !important;
}


.font-12 {
  font-size: 12px !important;
}

.font-14 {
  font-size: 14px !important;
}

.font-16 {
  font-size: 16px !important;
}

.font-18 {
  font-size: 18px !important;
}

.font-20 {
  font-size: 20px !important;
}

.font-22 {
  font-size: 22px !important;
}

.font-24 {
  font-size: 24px !important;
}
.table-responsive{
  overflow: auto!important;
  overflow-y: clip!important;
}

.text-dark-gray {
  color: #878787!important;
}
.bg-dark-gray {
  background-color: #878787!important;
}

 /* Container principal */
 .upload-container {
  background-color: #e7ecf8 !important;
  padding: 20px;
  border-radius: 10px;
}

/* Área de drag & drop */
.upload-dropzone {
  width: 100%;
  padding: 50px;
  background-color: #e7ecf8;
  border: 2px dashed #6c6c6c33;
  border-radius: 10px;
  cursor: pointer;
}

.upload-dropzone:hover {
  background-color: #e7ecf8;
}

/* Área de pré-visualização */
.preview-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 20px;
  padding: 10px;
  border-radius: 10px;
  background-color: #e7ecf8 !important;
}

/* Estilização das imagens */
.preview-item {
  position: relative;
  width: 250px;
  height: 150px;
  margin-right: 10px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  /* box-shadow: 0 0px 9px rgba(202, 202, 201, 0.3) */
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.preview-item:hover img {
  transform: scale(1.05);
}

/* Botão de remover */
.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
}

.remove-btn:hover {
  background: red;
}

/* Nome do arquivo */
.file-name-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 5px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 12px;
}

.container-upload {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropzone {
  border: 2px dashed #007bff !important;
  background: #f9f9f9;
  padding: 30px;
  text-align: center;
}
th {
  white-space: nowrap;
}
.text-align-last{
  text-align-last: center;
}
.outline-primary {
  border: 1px solid;
  border-color: #0d6efd;
}
.text-resize {
  font-size: 2vw; /* O tamanho da fonte será relativo à largura da tela */
  white-space: nowrap; /* Evita quebra de linha */
}
.upload-icon {
  font-size: 100px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}
.border-primary {
  border-color: #0d6efd !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-success {
  border-color: #198754 !important;
}

.border-info {
  border-color: #0dcaf0 !important;
}

.border-warning {
  border-color: #ffc107 !important;
}

.border-danger {
  border-color: #dc3545 !important;
}

.border-light {
  border-color: #f8f9fa !important;
}

.border-dark {
  border-color: #212529 !important;
}

.border-white {
  border-color: #fff !important;
}

.solid {
  border-style: solid !important;
}

.dropdown, .dropend, .dropstart, .dropup {
  display: inline-block!important;
}
.opacity-100 { opacity: 1 !important; }
.opacity-90 { opacity: 0.9 !important; }
.opacity-80 { opacity: 0.8 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-40 { opacity: 0.4 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-10 { opacity: 0.1 !important; }
.opacity-0 { opacity: 0 !important; }


.border-dotted {
  border-style: dotted !important;
}

.border-dashed {
  border-style: dashed !important;
}

.timeline {
  position: relative;
  padding-left: 40px;
  margin: 30px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: #bbb;
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 4px solid #bbb;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item-success {
  position: relative;
  margin-bottom: 30px;
}
.timeline-item-success::before {
  content: "";
  position: absolute;
  left: -27px;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  background-color: #4bad48!important ;
  border: 2px solid #4bad48!important ;
  border-radius: 50%;
  z-index: 1;

}



/* CHAT */
.chat-container {
  position: fixed;
  bottom: 45px;
  right: 20px;
  width: 500px;
  min-height: 283px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.chat-header {
  background-color: #c2c2c5;
  color: #737373;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
}

.chat-body {
  padding: 10px;
  max-height: 500px;
  overflow-y: auto;
  display: none;
  background-color: #f0f2f5;
}

.chat-message {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.user-message {
  background-color: #707070;
  color: white;
  padding: 8px 12px;
  border-radius: 15px;
  max-width: 70%;
  align-self: flex-end;
  margin-left: auto;
}

.other-message {
  background-color: #009688;
  color: white;
  padding: 8px 12px;
  border-radius: 15px;
  max-width: 70%;
  align-self: flex-start;
  margin-right: auto;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.message-time {
  font-size: 12px;
  color: #ffffff;
  margin-top: 5px;
  display: block;
  text-align: right;
}

.chat-footer {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 5px;
}

.chat-footer button {
  background: #40475c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.no-hover {
  pointer-events: auto;  /* Mantém o link clicável */
}

.no-hover:hover,
.no-hover:focus,
.no-hover:active {
  color: inherit !important;  /* Mantém a cor original */
  text-decoration: inherit !important;  /* Mantém o sublinhado original */
  background: inherit !important;  /* Mantém o fundo original */
  outline: none !important;  /* Remove contorno ao focar */
  box-shadow: none !important;  /* Remove sombras extras */
}

td {
  vertical-align: middle;
}

.app-menu>ul>li:hover>a>i:not(.has-sub-menu).material-icons-two-tone {
  filter: none !important;
}
.app-menu>ul>li>a:hover>i:not(.has-sub-menu).material-icons-two-tone, 
.app-menu>ul>li.open>a>i:not(.has-sub-menu).material-icons-two-tone, 
.app-menu>ul>li.active-page>a>i:not(.has-sub-menu).material-icons-two-tone {
  filter: none !important;
}

.border-warning {
  border-color: #ff9500 !important;
}

.widget-chat .widget-chat-messages-container .widget-chat-message-item.own .widget-chat-message-item-text
{
  background-color: #1da7d2 !important;
}

.modal-lg{
  max-width: 800px !important;
  padding: 5px !important;
}
.modal-lg .modal-body{
  padding: 5px !important;
}

/* Efeito Pulse */
.pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Posicionamento do badge */
.start-90{
  left: 90% !important;
}
.start-10{
  left: 10% !important;
}



/* Se a tela for menor de 991px */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: initial!important;
  }

  img.img-fluid {
    height: 41px!important;
  }

  .logo {
    text-align: center;
  }
}


/* Responsividade da tabela */
.table-responsive {
  /* min-height: 300px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100%;
  padding-bottom: 0px; */
}

.dropdown-menu {
  z-index: 1050 !important;
  transform: none !important;
  top: 100% !important;
  left: auto !important;
  right: 90px !important;
  bottom: -12px !important;
}
.table-responsive .dropdown-menu.dropdown-menu.dropdown-menu-dark  {
  display: inline-flex !important;
}
.table {
  width: 100%;
  margin-bottom: 0;
}

@media screen and (max-width: 1460px) {
  .table-responsive {
    overflow-x: auto !important;
  }
}

.logo.hidden-sidebar-logo img {
  height: 41px;
  /* text-align: center; */
}


/* avaliações */
.star-rating {
  direction: rtl;
  unicode-bidi: bidi-override;
}
.star-rating input {
  display: none;
}
.star-rating label {
  color: #e4e5e9;
  font-size: 2rem;
  padding: 0 3px;
  cursor: pointer;
  transition: color 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffc107;
}
.star-rating input:checked + label {
  color: #ffc107;
}


footer{
  color: #a8a8a8;
  border-top: 1px solid #dfdcdc;
  padding: 10px 0;
  font-size: 11px;
}
