* {
  margin: 0;
  padding: 0;
}

body {
  background: #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 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}

.tool-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 25px;
}

.input-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-method {
  display: flex;
  margin-bottom: 20px;
}

.input-method button {
  padding: 10px 50px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.input-method button:first-child {
  border-radius: 4px 0 0 4px;
}

.input-method button:last-child {
  border-radius: 0 4px 4px 0;
}

.input-method button.active {
  background-color: #3498db;
  color: white;
  border-color: #2980b9;
}

textarea {
  width: 100%;
  min-height: 435px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 25px;
}

.file-upload {
  display: none;
}

.upload-label {
  display: block;
  width: 100%;
  padding: 26.25px 20px;
  border: 2px dashed #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 25px;
}

.upload-label:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

.upload-label .icon{
  font-size: 4rem;
  margin-bottom: 20px;
}

.upload-label .tit{
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.parse-btn {
  padding: 15px 54px;
  background-color: #34dba5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.parse-btn:hover {
  background-color: #2980b9;
}

.result-section {
  display: none;
  margin-bottom: 25px;
}

.result-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.result-card {
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 15px;
  border-left: 4px solid #3498db;
}

.result-card h3 {
  margin-bottom: 10px;
  color: #3498db;
}

.result-card pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.9rem;
  background-color: white;
  color: #666;
  padding: 10px;
  line-height: 1.75;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid #ddd;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50;
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  max-width: 80%;
  text-align: center;
}

footer {
  width: 100%;
  text-align: center;
}

footer h2{
  font-size: 1.5rem;
  margin-bottom: 15px;
}

footer p{
  font-size: 1rem;
  margin-top: 10px;
  opacity: 0.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.feature {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}
