html {
  scroll-behavior: smooth;
}

.custom-page {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.custom-page p {
  margin: 0;
  padding: 0;
}

.custom-page .quick-input-area {
  display: none;
  flex-direction: column;
  gap: 10px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.custom-page .quick-input-area.active {
  display: flex;
  height: calc-size(auto, size);
}

.custom-page .quick-input-area input, .custom-page .quick-input-area textarea {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  min-height: 36px;
}

.custom-page .quick-input-area .quick-input-item label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  font-weight: 700;
}

.custom-page h1, .custom-page h2, .custom-page h3, .custom-page h4, .custom-page h5 {
  padding: 0;
  margin: 0;
}

.custom-page h1 {
  font-size: 24px;
}

.custom-page h2 {
  font-size: 20px;
}

.custom-page h3 {
  font-size: 18px;
}

.custom-page h4 {
  font-size: 16px;
}

.custom-page h5 {
  font-size: 14px;
}

.custom-page ul, .custom-page ol {
  padding: 0 0 0 25px;
  margin: 0;
}

.custom-page .container {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

.custom-page .container.p0 {
  padding: 0;
}

.custom-page .prompt-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-page .quick-input-area {
  padding: 8px;
}

.custom-page .code-text {
  max-height: 150px;
  overflow-y: scroll;
}

.custom-page .group-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
  background-color: #eee;
  background-image: linear-gradient(#fcfcfc, #eee);
  border: 1px solid #d5d5d5;
  user-select: none;
}

.btn.copy-btn {
  border-right: none;
  border-top: none;
  position: absolute;
  right: 0;
  top: 0;
}

.btn:hover {
  background-color: #f0f0f0;
}

.btn.success {
  background-color: #008000;
  background-image: linear-gradient(#008000, #006000);
  color: #fff;
}

.btn.error {
  background-color: #ff0000;
  background-image: linear-gradient(#ff0000, #800000);
  color: #fff;
}

.fixed-prompt-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: fit-content;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px;
  box-sizing: border-box;
}

.fixed-prompt-area .fixed-prompt-item {
  counter-increment: item;
  display: flex;
}

.fixed-prompt-area .fixed-prompt-item a {
  display: block;
  text-transform: capitalize;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  padding: 5px 10px;
}
