.grav-service {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d7e3e5;
  border-radius: 8px;
  background: #f6fbfb;
}

.grav-service__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
  user-select: none;
}

.grav-service__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.grav-service__checkbox-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #288e96;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.grav-service__checkbox-mark::after {
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(45deg) scale(0.7);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.grav-service__toggle:hover .grav-service__checkbox-mark {
  border-color: #205067;
  box-shadow:
    0 0 0 3px rgb(40 142 150 / 12%),
    inset 0 0 0 2px #fff;
}

.grav-service__checkbox:focus-visible + .grav-service__checkbox-mark {
  outline: 3px solid rgb(40 142 150 / 30%);
  outline-offset: 2px;
}

.grav-service__checkbox:checked + .grav-service__checkbox-mark {
  border-color: #288e96;
  background: #288e96;
}

.grav-service__checkbox:checked + .grav-service__checkbox-mark::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg) scale(1);
}

.grav-service__toggle-text {
  line-height: 1.35;
}

.grav-service__toggle-text strong {
  white-space: nowrap;
}

.grav-service__upload {
  margin-top: 14px;
}

.grav-service__upload-button {
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: #288e96;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.grav-service__file-name,
.grav-service__status {
  margin-top: 8px;
  font-size: 14px;
}

.grav-service__status--success {
  color: #157347;
}

.grav-service__status--error {
  color: #b42318;
}
