#rte-wrapper {
  max-width: 600px;
  margin: 30px auto;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}
#reading-text {
  width: 100%;
  border: 2px solid #ff7e5f;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
#reading-text:focus {
  border-color: #feb47b;
  outline: none;
}
.rte-label {
  display: block;
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}
#speed-select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #ff7e5f;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}
#speed-select:focus {
  border-color: #feb47b;
  outline: none;
}
#estimate-btn {
  display: block;
  margin: 0 auto 20px auto;
  background: #ff7e5f;
  border: none;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 126, 95, 0.6);
  transition: background 0.3s ease;
  user-select: none;
}
#estimate-btn:hover, #estimate-btn:focus {
  background: #feb47b;
  outline: none;
}
#rte-result {
  background: #fff3e0;
  border: 2px solid #ff7e5f;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #d35400;
  text-align: center;
  min-height: 48px;
  box-shadow: inset 0 0 6px #ffd7b3;
  user-select: text;
}
#error-msg {
  color: #c0392b;
  font-weight: 700;
}
