* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  opacity: 0.9;
}

.main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.file-upload-section {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.settings-section {
  width: 300px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.file-drop-area {
  border: 2px dashed #ccc;
  border-radius: 6px;
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.file-drop-area:hover {
  border-color: #4CAF50;
  background-color: #f8f8f8;
}

.file-drop-area.active {
  border-color: #4CAF50;
  background-color: #e8f5e9;
}

.file-info {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #45a049;
}

.btn-secondary {
  background-color: #f1f2f3;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.btn-export{
  background-color: #458aa0;
}

.btn-export:hover {
  background-color: #32616f;
}

.button-group{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.setting-group {
  margin-bottom: 20px;
}

.setting-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.setting-group select{
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  outline: none;
  border-radius: 8px;
}

.setting-group label,.setting-group  p{
  font-size: 14px;
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-item {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.checkbox-item input {
  margin-right: 8px;
}

.result-section {
  background-color: #fff;
}

.result-tabs {
  font-size: 16px;
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.result-tab {
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.result-tab.active {
  border-bottom: 2px solid #4CAF50;
  font-weight: bold;
}

.result-content {
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.result-content p{
  color: #666;
  font-size: 14px;
}
.result-content h3{
  font-size: 18px;
  margin-bottom: 10px;
}
.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.diff-table th,
.diff-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.diff-table th {
  background-color: #f2f2f2;
}

.diff-added {
  background-color: #e6ffed;
}

.diff-removed {
  background-color: #ffeef0;
}

.diff-changed {
  background-color: #fff8c5;
}

.footer {
  text-align: center;
  color: #666;
  font-size: 14px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

.notice.success {
  background-color: #4CAF50;
}

.notice.error {
  background-color: #f44336;
}

.notice.warning {
  background-color: #ff9800;
}

.preview-area {
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 15px;
}

.preview-area table{
  font-size: 12px;
}

.preview-area p{
  text-align: center;
  color: #666;
}
.file-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.file-selector .btn{
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 700;
}

.file-selector h3{
  font-size: 18px;
  margin-bottom: 10px;
}

.file-selector-item {
  position: relative;
  flex: 1;
}

.feature-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-card {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
