/* Client-specific restrictions for task viewing */
.task-card .task-budget.blurred,
.task-card .task-details p.blurred,
.task-card .contact-preference.blurred {
  filter: blur(4px);
  user-select: none;
}

/* Style for client-restricted buttons */
.btn-primary.client-restricted {
  background-color: #5a6268;
  border-color: #5a6268;
}

.btn-primary.client-restricted:hover {
  background-color: #484e53;
  border-color: #484e53;
}

/* Client-restricted modal */
#client-restricted-modal.auth-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
}

#client-restricted-modal.auth-modal .modal-content {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#client-restricted-modal.auth-modal h2 {
  color: #333;
  margin-top: 0;
}

#client-restricted-modal.auth-modal .close-modal {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* Indicator that the task was posted by the current user */
.task-poster span.own-task {
  color: #28a745;
  font-weight: bold;
}
