.container1 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: fixed;
  top: 27%;
  left: 70%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 200;
}

.container1 .label1 {
  font-size: 15px;
  padding-left: 10px;
  position: absolute;
  top: 13px;
  transition: 0.3s;
  pointer-events: none;
}

.input3 {
  width: 100px;
  height: 45px;
  border: none;
  outline: none;
  padding: 0px 7px;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  background-color: transparent;
  box-shadow: 3px 3px 10px rgba(0,0,0,1),
  -1px -1px 6px rgba(255, 255, 255, 0.4);
}

.input3:focus {
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 3px 3px 10px rgba(0,0,0,1),
  -1px -1px 6px rgba(255, 255, 255, 0.4),
  inset 3px 3px 10px rgba(0,0,0,1),
  inset -1px -1px 6px rgba(255, 255, 255, 0.4);
}

.container1 .input3:valid ~ .label1,
.container1 .input3:focus ~ .label1 {
  transition: 0.3s;
  padding-left: 2px;
  transform: translateY(-35px);
}

.container1 .input3:valid,
.container1 .input3:focus {
  box-shadow: 3px 3px 10px rgba(0,0,0,1),
  -1px -1px 6px rgba(255, 255, 255, 0.4),
  inset 3px 3px 10px rgba(0,0,0,1),
  inset -1px -1px 6px rgba(255, 255, 255, 0.4);
}

.amount-panel {
  display: none;
  position: absolute;
  top: 27%;
  left: 50%;
  background: #0D1117;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.6);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 250px;
  font-size: 13px; /* smaller text */
}

/* Current Amount Display */
.current-amount {
  font-size: 20px;
  font-weight: bold;
  color: #58A6FF;
  margin-bottom: 5px;
  margin-right:10px;
}

/* Operation Column */
.operation-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.operation-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.operation-row input {
  width: 60px;
  height: 28px;
  text-align: center;
  font-size: 13px;
  border-radius: 6px;
  border: none;
  background: #1A1F24;
  color: #58A6FF;
}
.operation-row button {
  background: #21262C;
  border: none;
  color: white;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.operation-row button:hover {
  background: #2F81F7;
}

/* Presets */
.amount-panel .presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
}
.amount-panel .presets button {
  background: #1A1F24;
  border: none;
  padding: 4px;
  border-radius: 6px;
  color: #58A6FF;
  cursor: pointer;
  font-size: 12px;
}
.amount-panel .presets button:hover {
  background: #2F81F7;
  color: white;
}

/* Numpad */
.amount-panel .numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.amount-panel .numpad button {
  background: #21262C;
  border: none;
  color: white;
  font-size: 14px;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}
.amount-panel .numpad button:hover {
  background: #2F81F7;
}

