* {
  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;
}

.main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section,
.output-section {
  flex: 1;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h2 {
  line-height: 1;
  font-size: 1.45rem;
  color:#202020;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-format {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
}

.btn-compress {
  background: linear-gradient(135deg, #009245 0%, #FCEE21 100%);
  color: white;
}

.btn-example {
  background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
  color: white;
}

.btn-copy {
  background: linear-gradient(135deg, #FF5F6D 0%, #FFC371 100%);
  color: white;
}

.btn-clear {
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

textarea {
  width: 100%;
  height: 450px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  line-height: 1.5;
}

textarea:focus {
  outline: none;
  border-color: #2575fc;
  box-shadow: 0 0 0 2px rgba(37, 117, 252, 0.2);
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #666;
  font-size: 14px;
}

footer {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
footer h2{
  line-height: 1;
  font-size: 1.4rem;
  margin-bottom: 25px;
}
.footer-content {
  margin: 0 auto;
}

.features {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  text-align: left;
}

.feature {
  flex: 1;
  padding: 0 20px;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2575fc;
}
.feature ul{
  padding-left: 25px;
}
.feature p, .feature li{
  margin-top: 15px;
  color: #666;
}
.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background: #333;
  color: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

.copyright {
  color: #8a8a8a;
  font-size: 0.9rem;
}
