/* ========================================
   LEADS PAGE SPECIFIC STYLES
   Import common styles and add only unique styles
   ======================================== */

@import url("../common.css");
@import url("../components.css");

/* Additional Filters Modal specific to leads */
#additionalFilters {
  flex-direction: column;
  gap: 10px;
}

/* Filter Modal */
.filter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.filter-modal.show {
  display: flex;
}

.filter-modal-content {
  background: white;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.filter-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f5c9c;
  margin: 0;
}

.filter-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-modal-close:hover {
  color: #000;
}

.filter-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-modal-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-modal-item label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.filter-modal-item select,
.filter-modal-item input {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.filter-modal-item select:focus,
.filter-modal-item input:focus {
  border-color: #1f5c9c;
}

.filter-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.filter-modal-footer button {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid;
}

.filter-modal-footer .btn-cancel {
  background: white;
  border-color: #d1d5db;
  color: #666;
}

.filter-modal-footer .btn-cancel:hover {
  background: #f9fafb;
}

.filter-modal-footer .btn-apply {
  background: #1f5c9c;
  border-color: #1f5c9c;
  color: white;
}

.filter-modal-footer .btn-apply:hover {
  background: #174a7a;
}
