/* Fingarantia CRM */

body {
  font-size: 0.9rem;
  background-color: #f8f9fa;
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* thead in table-responsive: sticky doesn't work with overflow-x:auto, so don't use it */

/* Compact table */
.table-sm td, .table-sm th {
  padding: 0.35rem 0.5rem;
}

/* Tiny button */
.btn-xs {
  padding: 2px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* Status cell hover */
.status-cell {
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 5px;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-cell:hover {
  background-color: rgba(0,0,0,0.05);
}
.status-cell .edit-icon {
  opacity: 0;
  transition: opacity 0.15s;
}
.status-cell:hover .edit-icon {
  opacity: 1;
}

/* Card border-dashed */
.border-dashed {
  border: 2px dashed #dee2e6 !important;
}

/* Lead row highlight */
.table-danger td { background-color: rgba(220, 53, 69, 0.08) !important; }
.table-warning td { background-color: rgba(255, 193, 7, 0.1) !important; }

/* Upload form drop zone */
#fileInput:hover {
  border-color: #0d6efd;
  cursor: pointer;
}

/* Scrollable table wrapper */
.table-responsive {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  background: white;
}

/* Nav active */
.navbar .nav-link.active {
  font-weight: 600;
}

/* Badge font size fix */
.badge {
  font-weight: 500;
}

/* Sidebar list */
.list-group-item.active {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Modal textarea */
.modal textarea {
  resize: vertical;
  min-height: 80px;
}

/* Container max width */
@media (min-width: 1400px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
