/* Custom site styles - Tailwind CSS based */

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.error-summary {
  color: #991b1b;
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  padding: 0.75rem 1.25rem;
  margin: 0 0 1rem 0;
  border-radius: 0.375rem;
}

/* Yii2 field error styling */
.field-error {
  border-color: #ef4444 !important;
}

.help-block {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.help-block-error {
  color: #dc2626;
}
.filters input[type="text"],
.filters select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: white;
  color: #111827;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.15s;
}
.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: #3b82f6;
}
td div.empty {
  text-align: center;
  padding: 8px;
  color: #3b82f6;
  font-weight: 600;
}
