.safety-education-heading {
  align-items: flex-end;
}
.safety-education-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.safety-education-summary > div {
  padding: 16px 18px;
  border: 1px solid #dce6f2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px #173e7210;
}
.safety-education-summary small,
.safety-education-summary b {
  display: block;
}
.safety-education-summary small {
  color: #7f8da0;
  font-size: 10px;
}
.safety-education-summary b {
  margin-top: 5px;
  color: #102b4f;
  font:
    800 18px Inter,
    sans-serif;
}
.safety-education-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #fff;
}
.safety-education-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #617086;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.safety-education-tabs button:hover {
  background: #f1f6fd;
  color: #1769e0;
}
.safety-education-tabs button.active {
  background: #102b4f;
  color: #fff;
  box-shadow: 0 5px 12px #102b4f2b;
}
.safety-education-tabs button b {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  background: #edf3fb;
  color: #55708f;
  font:
    700 9px Inter,
    sans-serif;
}
.safety-education-tabs button.active b {
  background: #ffffff24;
  color: #fff;
}
.safety-education-list .toolbar {
  align-items: center;
}
.safety-education-list table th:first-child,
.safety-education-list table td:first-child {
  width: 72px;
  text-align: center;
}
.safety-education-list tbody tr {
  cursor: pointer;
}
.safety-education-list tbody tr.selected td {
  background: #edf5ff;
}
.safety-education-list tbody tr.selected td:first-child {
  box-shadow: inset 4px 0 #1769e0;
  color: #1769e0;
}
.safety-education-title {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.safety-education-title span,
.safety-education-title small {
  display: block;
}
.safety-education-title span {
  color: #1b2a3e;
  font-weight: 800;
}
.safety-education-title small {
  margin-top: 5px;
  color: #7c8ba0;
  font-size: 9px;
}
.safety-education-title:hover span {
  color: #1769e0;
  text-decoration: underline;
}
.safety-education-empty {
  padding: 46px !important;
  color: #8b98aa;
  text-align: center;
}
.safety-education-modal-head {
  padding: 2px 2px 20px;
  border-bottom: 1px solid #e6edf5;
}
.safety-education-modal-head p {
  margin: 0 0 8px;
  color: #1769e0;
  font:
    800 9px Inter,
    sans-serif;
  letter-spacing: 0.5px;
}
.safety-education-modal-head h2 {
  margin: 0 0 7px !important;
}
.safety-education-modal-head span {
  color: #7b899c;
  font-size: 10px;
}
.safety-education-form {
  margin-top: 20px;
}
.safety-education-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.safety-education-form-grid label,
.safety-education-additional {
  display: block;
  color: #2a3a50;
  font-size: 10px;
  font-weight: 800;
}
.safety-education-form-field {
  color: #2a3a50;
  font-size: 10px;
  font-weight: 800;
}
.safety-education-form-field > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.safety-education-form-field > input {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  outline: none;
  font-size: 11px;
  line-height: 1.65;
}
.safety-education-form-field > input:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px #1769e012;
}
.safety-education-remember {
  display: flex !important;
  align-items: center;
  gap: 4px;
  color: #61758e !important;
  font-size: 9px !important;
  font-weight: 650 !important;
  cursor: pointer;
}
.safety-education-form-grid .safety-education-remember input {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  accent-color: #1769e0;
  box-shadow: none;
}
.safety-education-form-grid label.wide {
  grid-column: 1/-1;
}
.safety-education-form-grid .safety-education-new-row {
  grid-column: 1;
}
.safety-education-form-grid input,
.safety-education-form-grid select,
.safety-education-law textarea,
.safety-education-additional textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  outline: none;
  font-size: 11px;
  line-height: 1.65;
}
.safety-education-form-grid input:focus,
.safety-education-form-grid select:focus,
.safety-education-law textarea:focus,
.safety-education-additional textarea:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px #1769e012;
}
.safety-education-law {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
  background: #f7faff;
}
.safety-education-law header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.safety-education-law header b,
.safety-education-law header small {
  display: block;
}
.safety-education-law header b {
  color: #173556;
  font-size: 12px;
}
.safety-education-law header small {
  margin-top: 3px;
  color: #7a8aa0;
  font-size: 9px;
  font-weight: 500;
}
.safety-education-law textarea {
  min-height: 230px;
  margin: 0;
  resize: vertical;
  background: #fff;
  white-space: pre-wrap;
}
.safety-education-additional {
  margin-top: 16px;
}
.safety-education-additional span,
.safety-education-additional small {
  display: block;
}
.safety-education-additional small {
  margin-top: 3px;
  color: #8a97a8;
  font-weight: 500;
}
.safety-education-additional textarea {
  min-height: 94px;
  resize: vertical;
}
.safety-education-photos {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dce5f0;
  border-radius: 11px;
  background: #fff;
}
.safety-education-photos > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.safety-education-photos > header b,
.safety-education-photos > header small {
  display: block;
}
.safety-education-photos > header b {
  color: #173556;
  font-size: 12px;
}
.safety-education-photos > header small {
  margin-top: 3px;
  color: #7a8aa0;
  font-size: 9px;
  font-weight: 500;
}
.safety-education-photos > aside {
  margin-bottom: 13px;
  padding: 11px 13px;
  border: 1px solid #f3d9a6;
  border-radius: 9px;
  background: #fff9eb;
  color: #715322;
}
.safety-education-photos > aside b {
  font-size: 10px;
}
.safety-education-photos > aside ol {
  margin: 7px 0 0;
  padding-left: 18px;
  font-size: 9px;
  line-height: 1.8;
}
.safety-education-photos > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.safety-education-photo-slot {
  position: relative;
  overflow: hidden;
  border: 1px dashed #b9cbe0;
  border-radius: 10px;
  background: #f7faff;
  text-align: center;
}
.safety-education-photo-slot > label {
  display: block;
  padding: 10px;
  cursor: pointer;
}
.safety-education-photo-slot > label > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.safety-education-photo-preview {
  display: grid;
  height: 180px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #eaf2fb;
  color: #1769e0;
}
.safety-education-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #edf2f7;
}
.safety-education-photo-preview i {
  font:
    400 30px Inter,
    sans-serif;
  font-style: normal;
}
.safety-education-photo-slot b,
.safety-education-photo-slot small {
  display: block;
}
.safety-education-photo-slot b {
  margin-top: 9px;
  color: #223b58;
  font-size: 10px;
}
.safety-education-photo-slot small {
  margin-top: 4px;
  overflow: hidden;
  color: #778ba3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.safety-education-photo-slot > button {
  margin: 0 10px 10px;
  padding: 5px 9px;
  border: 1px solid #f0b8b8;
  border-radius: 6px;
  background: #fff;
  color: #c03d3d;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}
.safety-education-approval {
  margin-top: 17px;
  padding: 14px 16px;
  border: 1px solid #e0e7f0;
  border-radius: 10px;
  background: #fff;
}
.safety-education-approval > b {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}
.safety-education-approval > div {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}
.safety-education-approval span {
  display: block;
  min-width: 135px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #eef4fb;
  color: #253c58;
  font-size: 10px;
  font-weight: 700;
}
.safety-education-approval span small {
  display: block;
  margin-bottom: 3px;
  color: #7288a2;
  font-size: 8px;
}
.safety-education-approval i {
  color: #9dadbf;
  font-style: normal;
}
@media (max-width: 760px) {
  .safety-education-summary {
    grid-template-columns: 1fr;
  }
  .safety-education-heading {
    display: block;
  }
  .safety-education-heading .actions {
    margin-top: 14px;
  }
  .safety-education-form-grid {
    grid-template-columns: 1fr;
  }
  .safety-education-form-grid label.wide,
  .safety-education-form-grid .safety-education-new-row {
    grid-column: auto;
  }
  .safety-education-photos > div {
    grid-template-columns: 1fr;
  }
  .safety-education-list table {
    min-width: 680px;
  }
}
