*{
  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: 1.1rem;
  opacity: 0.9;
}

.converter-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
}

.editor-container {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.editor-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.editor-header {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.editor-header span {
  font-size: 1.6rem;
  margin-right: 15px;
}

textarea {
  width: 100%;
  height: 520px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  resize: none;
  transition: border-color 0.3s;
  line-height: 1.5;
}

textarea:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

#json-input {
  border-left: 4px solid #4285f4;
}

#protobuf-output {
  border-left: 4px solid #34a853;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 52px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.btn-convert {
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
}

.btn-copy {
  background: linear-gradient(135deg, #fbbc05, #ea4335);
  color: white;
}

.btn-example {
  background: linear-gradient(135deg, #34a853, #4285f4);
  color: white;
}

.btn-clear {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
  color: white;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #4285f4;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-card p {
  line-height: 1.8;
  color: #555;
}

.info-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #4285f4;
  position: relative;
}

.info-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4285f4, #34a853);
  border-radius: 2px;
}

.info-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
}

.info-content p {
  margin-top: 15px;
}

.info-content ul {
  margin: 15px 0 15px 40px;
}

.info-content li {
  margin-bottom: 12px;
  position: relative;
}

.info-content li::before {
  content: "•";
  color: #34a853;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

footer {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
}

.status {
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
  display: none;
}

.success {
  background-color: #e6f4ea;
  color: #34a853;
  display: block;
}

.error {
  background-color: #fce8e6;
  color: #ea4335;
  display: block;
}
