body {
  margin: 0;
  font-family: system-ui, sans-serif;
}
ion-menu {
  --width: 220px;
}
ion-content {
  padding: 1rem;
}
.hidden {
  display: none;
}
.custom-ionic-input {
  width: 100%;
  padding: 8px 0;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid var(--ion-color-medium);
  background: transparent;
  color: var(--ion-color-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.custom-ionic-input:focus {
  border-bottom: 2px solid var(--ion-color-primary);
}

.ionic-checkbox {
  appearance: none;
  width: 52px;
  height: 28px;
  background-color: #ccc;
  border-radius: 34px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ionic-checkbox::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.ionic-checkbox:checked {
  background-color: var(--ion-color-primary, #3880ff);
}

.ionic-checkbox:checked::before {
  transform: translateX(24px);
}

.status-green {
  color: green;
}
.status-orange {
  color: orange;
}
.status-red {
  color: red;
}

.key-code {
  font-size: 0.8em !important;
}
