/**
 * Search quota and facet locking styles.
 */

/* Locked facet overlay */
.facet-locked {
  position: relative;
}

.facet-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 4px;
}

.facet-lock-message {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.facet-lock-message svg {
  color: #6c757d;
}

/* Disabled facet items */
.facet-locked input[type="checkbox"]:disabled + label,
.facet-locked a[style*="pointer-events: none"] {
  cursor: not-allowed;
}

/* Modal customizations */
#quota-modal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#quota-modal .modal-header {
  padding: 1.25rem 1.25rem 0;
}

#quota-modal .modal-body {
  padding: 0.75rem 1.25rem 1.25rem;
}

#quota-modal .btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
}

#quota-modal .btn-primary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}
