html {
    background-color: black;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.rf-scanner {
  width: 360px;
  min-height: 620px;
  background: #1f2933;
  border-radius: 34px;
  padding: 18px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 3px #111827;
  font-family: Arial, sans-serif;
  color: #111;
  margin-right: auto;
  margin-left: auto;
  margin-top: 5%;
}

.rf-screen {
  background: #d8f3dc;
  border: 6px solid #111827;
  border-radius: 12px;
  min-height: 300px;
  padding: 16px;
  font-family: "Courier New", monospace;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
}

.rf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 2px solid #111;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.rf-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.rf-field {
  margin-bottom: 14px;
}

.rf-field label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.rf-field input,
.rf-field select {
  width: 100%;
  background: #f8fff8;
  border: 2px solid #111;
  padding: 9px;
  font-family: "Courier New", monospace;
  font-size: 16px;
  box-sizing: border-box;
}

.rf-message {
  background: #111;
  color: #7CFF7C;
  padding: 10px;
  margin-top: 14px;
  font-size: 14px;
  min-height: 42px;
}

.rf-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 20px;
}

.rf-btn {
  background: #374151;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: bold;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.rf-btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.rf-btn.enter {
  background: #16a34a;
}

.rf-btn.clear {
  background: #dc2626;
}

.rf-btn.func {
  background: #f59e0b;
  color: #111;
}

.rf-grip {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rf-grip span {
  width: 8px;
  height: 45px;
  background: #111827;
  border-radius: 10px;
  opacity: 0.7;
}

.rf-page {
  display: none;
  animation: rfSlide 0.18s ease-out;
}

.rf-page.active {
  display: block;
}

.rf-page button {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  background: #111;
  color: #7CFF7C;
  border: 2px solid #111;
  font-family: "Courier New", monospace;
  font-weight: bold;
  cursor: pointer;
}

@keyframes rfSlide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}