* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header  p{
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}
.tool-container {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section,
.output-section {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}


.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  color: #2c3e50;
  font-weight: 700;
}

.section-title span {
  margin-right: 10px;
}

textarea {
  width: 100%;
  height: 350px;
  padding: 10px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  resize: none;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.3s;
}

textarea:focus {
  outline: none;
  border-color: #4d90fe;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.2);
}

.button-group {
  display: flex;
  gap: 25px;
  margin-top: 20px;
}

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(to right, #4776E6, #8E54E9);
  color: white;
}

.btn-secondary {
  background: linear-gradient(to right, #2b5876, #4e4376);
  color: white;
}

.btn-info {
  background: linear-gradient(to right, #009FFF, #ec2F4B);
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(-1px);
}

.info-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-content {
  font-size: 18px;
  line-height: 1.8;
}

.info-content p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 20px;
  text-align: justify;
}

.examples {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.example-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #4776E6;
}

.example-card h4 {
  margin-bottom: 8px;
  color: #4776E6;
}

footer {
  text-align: center;
  color: #7f8c8d;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

.counter {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #7f8c8d;
  font-size: 15px;
}

.character-count {
  text-align: right;
}

.telegraph-result-html {
  height: 450px;
  overflow: auto;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
}

.telegraph-result-html div {
  display: inline-block;
  width: calc(10% - 10px);
  vertical-align: top;
  margin: 5px;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.telegraph-result-html span {
  display: block;
  margin-top: 6px;
}

.telegraph-result-html span:first-child {
  color: #4776E6;
  font-weight: bold;
   margin-top: 0;
}
