* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f6f7;
  color: #202223;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.field-label {
  color: #202223;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: -4px;
}

.text-input {
  background: #fff;
  border: 1px solid #8c9196;
  border-radius: 6px;
  min-height: 36px;
  padding: 7px 10px;
  width: 100%;
}

.text-input:focus {
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
  outline: 0;
}

form {
  margin: 0;
}

input[type="hidden"] {
  display: none;
}

.revclic-login-logo {
  margin: 4px 0 12px;
}

.revclic-login-logo img {
  display: block;
  height: auto;
  max-width: 180px;
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
}

.lookup {
  display: grid;
  gap: 8px;
}

.lookup-label {
  color: #202223;
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.lookup-controls {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.lookup-input {
  background: #fff;
  border: 1px solid #8c9196;
  border-radius: 6px;
  min-height: 36px;
  padding: 7px 10px;
  width: 100%;
}

.lookup-input:focus {
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
  outline: 0;
}

.lookup-selected,
.lookup-empty {
  color: #6d7175;
  font-size: 13px;
}

.lookup-results {
  display: grid;
  gap: 6px;
}

.lookup-result {
  background: #fff;
  border: 1px solid #d2d5d8;
  border-radius: 6px;
  color: #202223;
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.lookup-result:hover,
.lookup-result.selected {
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
}

.lookup-result small {
  color: #6d7175;
  font-size: 12px;
}

table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #e1e3e5;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #fafbfb;
  font-weight: 600;
}

.badge {
  border-radius: 10px;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
}

.badge.success {
  background: #e3f1df;
  color: #1a4e12;
}

.badge.error {
  background: #fde8e8;
  color: #721c24;
}

.badge.warning {
  background: #fff5e6;
  color: #5c4a00;
}

.badge.info {
  background: #e3f0ff;
  color: #003087;
}
