html {
    font-size: 0.9rem; /* or any value less than 1rem */
}

/* Shared card styling */
.card-hover {
    transition: box-shadow 0.2s ease-in-out;
}

.card-hover:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Shared badge styling */
.type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Shared notes styling */
.notes-truncated {
    line-height: 1.4;
    max-height: 4.2rem;
    overflow: hidden;
}

/* Shared empty state styling */
.empty-state {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

/* Shared button styling */
.btn-action {
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Specific styling that doesn't duplicate */
.interaction-date {
    font-weight: 600;
    color: #495057;
}

/* Contact list interaction column */
.last-interaction {
    min-width: 120px;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-hover {
        margin-bottom: 0.5rem !important;
    }
    
    .btn-group-sm .btn {
        padding: 0.1rem 0.3rem;
        font-size: 0.7rem;
    }
}

.common-pre-wrap {
  white-space: pre-wrap;
}
.min-height-2-4em {
  min-height: 2.4em;
}
.leads-static-field {
  min-height: 2.4em;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background: transparent;
  font-size: 1rem;
  color: #212529;
  display: block;
  width: 100%;
}

/* Placeholder color for all forms */
::placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
}
:-ms-input-placeholder { color: #b0b0b0 !important; }
::-ms-input-placeholder { color: #b0b0b0 !important; }

/* Prevent pagination from growing in width when active */
.card-header .pagination .page-link {
  min-width: 40px;
  text-align: center;
}
/* Responsive table: horizontal scroll on small screens */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
  }
  table.table {
    min-width: 600px;
  }
}
.filter-panel {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
}
/* Stylish table headers */
.table thead th {
  background: #f1f3f6;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #dee2e6;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.97rem;
}
.table-responsive {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: 8px;
  overflow: hidden;
}
.table thead th:first-child {
  border-top-left-radius: 8px;
}
.table thead th:last-child {
  border-top-right-radius: 8px;
}
.model-view-table th {
  white-space: nowrap;
  width: 1%;
}

/* Crispy forms field spacing */
.form-control, .form-select {
    padding: 0.6rem 0.75rem !important;
}

/* Additional spacing for textarea fields */
.form-control[rows] {
    padding: 0.75rem !important;
}

/* Navigation version display */
.navbar .version-badge {
    font-size: 0.85em;
    opacity: 0.92;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1.2rem;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
}

.navbar .version-badge:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


