@charset "utf-8";

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 41px;
  padding: 0 4px;
  background: inherit;
  gap: 2px;
  color: #ccc;
  font-size: 14px;
  border-bottom: 1px solid #2a2b2c;

  .lock-checkbox-label {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #555;
    cursor: pointer;
    margin: 0 6px 0 auto;

    &:has(:checked) {
      border-color: #317593;
      color: #ededed;
      background: #1d2c33;
    }

    .lock-checkbox {
      display: none;
    }

    .lock-checkbox:not(:checked)~.bi:first-of-type {
      display: none;
    }

    .lock-checkbox:checked~.bi:last-of-type {
      display: none;
    }
  }

  .size-radio-label {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #555;
    cursor: pointer;

    &:has(:checked) {
      border-color: #317593;
      color: #ededed;
      background: #1d2c33;
    }

    .size-radio {
      display: none;
    }
  }
}
