body {
  font-family: sans-serif;
  background-color: #f4f4f4;
  text-align: center;
  padding: 20px;
}

h1 {
  margin-bottom: 20px;
}

input[type="color"] {
  width: 150px;
  height: 50px;
  border: none;
  margin-bottom: 20px;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.color-box {
  width: 120px;
  height: 120px;
  padding: 10px;
  color: #000;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.color-box span {
  font-weight: bold;
}

.color-box {
  width: 100px;
  height: 100px;
  padding: 5px;
  text-align: center;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: sans-serif;
  background-color: #fff;
  position: relative;
  display: inline-block;
  margin: 5px;
}

.color-box input[type="text"] {
  width: 80px;
  border: none;
  text-align: center;
  font-weight: bold;
  background: transparent;
  color: #000;
  font-size: 14px;
}


/**/

.manual-colors {
  margin-top: 30px;
}

.color-bar {
  display: inline-block;
  width: 100px;
  height: 50px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 4px;
  vertical-align: middle;
}

.manual-inputs {
  margin-top: 10px;
}

.manual-inputs input[type="text"] {
  width: 100px;
  margin: 0 5px;
  padding: 4px;
  text-align: center;
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
