* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}


header h1 {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
}


header p {
  font-size: 16px;
  color: #7f8c8d;
  margin: 0 auto;
}

.tool-section {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section,
.output-section {
  flex: 1;
}

.section-title {
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

textarea {
  width: 100%;
  height: 350px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

button,.file-label {
  padding: 12px 32px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

button:hover {
  background-color: #2980b9;
}

button.secondary {
  background-color: #95a5a6;
}

button.secondary:hover {
  background-color: #7f8c8d;
}

button.success {
  background-color: #2ecc71;
}

button.success:hover {
  background-color: #27ae60;
}


.file-input {
  display: none;
}

.file-label {
  display: inline-block;
  background-color: #9b59b6;
}

.file-label:hover {
  background-color: #8e44ad;
}

#outputArea {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #34495e;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}

.features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status {
  margin-top: 15px;
  font-size: 14px;
  color: #7f8c8d;
}

.excel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.excel-table th,
.excel-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.excel-table th {
  background-color: #f2f2f2;
  font-weight: bold;
  position: sticky;
  top: 0;
}

.excel-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.excel-table-container {
  max-height: 400px;
  overflow: auto;
  border: 1px solid #ddd;
  margin-top: 10px;
}
