.cybertool-randnum--root {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  box-sizing: border-box;
}

.cybertool-randnum__header {
  text-align: center;
  margin-bottom: 14px;
}

.cybertool-randnum__title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.cybertool-randnum__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cybertool-randnum__panel {
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  box-sizing: border-box;
}

.cybertool-randnum__input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.cybertool-randnum__btn {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.cybertool-randnum__btn:hover {
  background-color: #45a049;
}

.cybertool-randnum__output {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eaeaea;
  border-radius: 8px;
  padding: 12px;
  font-size: 18px;
  text-align: center;
}

.cybertool-randnum__placeholder {
  color: #777;
}

@media (min-width: 600px) {
  .cybertool-randnum__main {
    flex-direction: row;
  }
  .cybertool-randnum__panel {
    flex: 1;
  }
}
