/* Estilo geral */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw;
  overflow-x: hidden;
  background: #fff; /* ou a cor que preferir */
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
}
.container,
.container-fluid {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}
/* Menu lateral */
.col-1 {
  background-color: #1976d2;
  color: white;
  min-width: 80px;
  max-width: 100px;
  text-align: center;
}

.nav-link {
  padding: 10px 0;
  color: white;
  font-size: 12px;
}

.nav-link i {
  font-size: 24px;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

img.img-fluid {
  max-width: 100px;
}

/* Título da página */
.bg-warning {
  background-color: #ffc107 !important;
}

/* Cards */
.card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: none;
  height: 100%;
}

.card-body {
  padding: 15px;
}


/* Formulário */
form label {
  font-weight: bold;
}

form input,
form select,
form textarea {
  background-color: #f9f9f9;
}

/* Lista de leads */
#lead-list {
  max-height: 300px;
  overflow-y: auto;
}

/* Tabela de histórico */
#contact-history {
  font-size: 14px;
}

#contact-history th {
  background-color: #e0e0e0;
}

#contact-history td {
  vertical-align: middle;
}

/* Responsividade */
@media (max-width: 768px) {
  .col-1 {
    min-width: 60px;
  }

  .nav-link i {
    font-size: 20px;
  }

  .nav-link {
    font-size: 10px;
  }
}


/* Barra Lateral Bonita */
.sidebar {
  background: linear-gradient(180deg, #1565c0 0%, #1e88e5 100%);
  color: white;
  min-width: 80px;
  max-width: 100px;
  text-align: center;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar img {
  width: 50px;
  margin-bottom: 10px;
}

.sidebar .nav-link {
  padding: 10px 0;
  color: white;
  font-size: 12px;
  transition: background 0.3s;
}

.sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.page-title {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: linear-gradient(90deg, #1565c0 0%, #1e88e5 100%);
  color: white;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}
.page-title h4 {
  margin: 0;
  font-weight: bold;
}

.lead-item.active {
  background-color: #1976d2 !important;
  color: white !important;
}

#calendar-days div.selected {
  background-color: #FFA500;
  color: white;
  border-radius: 4px;
}

/* Dashboard */
.card-icon {
  font-size: 2rem;
  color: #ffffff;
  background-color: #0d6efd;
  border-radius: 50%;
  padding: 10px;
}
.card-summary {
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #343a40;
}

/* fim do dashboard */
.btn-group .btn:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group .btn:last-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group .btn {
  border-radius: 0;
}

/* Cores com degradê ajustadas para o novo fundo */
.clientes {
  background: linear-gradient(to bottom, #bcd9f3, #8bb7e0);
  color: #1a1a1a;
}

.leads {
  background: linear-gradient(to bottom, #d4f1d3, #9ed89c);
  color: #1a1a1a;
}

.atrasados {
  background: linear-gradient(to bottom, #ffe5b4, #ffc170);
  color: #1a1a1a;
}

.aniversarios {
  background: linear-gradient(to bottom, #b0e0f5, #7cc7e8);
  color: #1a1a1a;
}

.todos {
  background: linear-gradient(to bottom, #e6e6e6, #cccccc);
  color: #1a1a1a;
}

/* Modal 80% largura e altura */
.modal-80w {
  max-width: 80vw;
  width: 80vw;
}

#dashboardModal .modal-dialog {
  max-width: 80vw !important;
  width: 80vw !important;
  margin: auto;
}

#dashboardModal .modal-content {
  height: 80vh;
  min-height: 80vh;
  max-height: 80vh;
  overflow-y: auto;
}
