body {
  font-family: "Inter", sans-serif;
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

textarea {
  min-height: 250px;
  resize: vertical;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.data-font {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-section {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex: 1;
  min-width: 0;
}
.result-section h3 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #374151;
  transition: color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
}
.result-section ul {
  list-style-type: none;
  padding: 0;
  max-height: 400px;
  overflow-y: auto;
}
.result-section li {
  padding: 4px 8px;
  border-bottom: 1px dashed #e5e7eb;
  transition: border-color 0.3s ease;
  word-break: break-all;
}
.result-section li:last-child {
  border-bottom: none;
}
.result-section .unique-item {
  color: #16a34a;
}
.result-section .duplicate-item {
  color: #dc2626;
  font-weight: 500;
}

.copy-text-and-icon {
  cursor: pointer;
  color: #4f46e5;
  transition: color 0.2s ease, transform 0.2s ease;
}
.copy-text-and-icon:hover {
  color: #6366f1;
  transform: scale(1.05);
}

.sort-menu-icon {
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s ease, transform 0.2s ease;
}
.sort-menu-icon:hover {
  color: #4b5563;
  transform: scale(1.1);
}

.copy-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
.copy-message.show {
  opacity: 1;
}

.sort-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 20;
  min-width: 280px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.sort-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sort-dropdown button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  font-size: 0.875rem;
  color: #374151;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sort-dropdown button:hover {
  background-color: #f3f4f6;
}
.sort-dropdown button.char-count-btn {
  justify-content: center;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.sort-dropdown button.char-count-btn.active {
  background-color: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
  font-weight: 600;
}
.sort-dropdown hr {
  border-color: #e5e7eb;
  border-style: solid;
  border-width: 1px 0 0 0;
}

.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-content {
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.info-button {
  width: 24px;
  height: 24px;
  margin-left: 8px;
  color: #fff;
  background-color: #4b5563;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.info-button:hover {
  background-color: #6b7280;
}

#dropZone.drag-over {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}

.sort-option-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
  cursor: pointer;
}
.sort-option-btn:hover {
  background-color: #f3f4f6;
}

.sort-option-btn.active {
  border-color: #3b82f6;
  background-color: #eff6ff;
  box-shadow: 0 0 0 2px #3b82f6;
}

html.dark body {
  background-color: #1a202c;
}
html.dark .container {
  background-color: #2d3748;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
html.dark h1,
html.dark label,
html.dark span {
  color: #e2e8f0;
}
html.dark textarea {
  background-color: #4a5568;
  color: #e2e8f0;
  border-color: #4a5568;
}
html.dark textarea::-moz-placeholder {
  color: #a0aec0;
}
html.dark textarea::placeholder {
  color: #a0aec0;
}
html.dark .result-section {
  background-color: #2d3748;
  border-color: #4a5568;
}
html.dark .result-section h3 {
  color: #e2e8f0;
}
html.dark .result-section li {
  border-bottom-color: #4a5568;
}
html.dark .result-section .duplicate-item {
  color: #fca5a5;
}
html.dark .result-section .unique-item {
  color: #86efac;
}
html.dark .copy-text-and-icon {
  color: #6ee7b7;
}
html.dark .copy-text-and-icon:hover {
  color: #34d399;
}
html.dark .sort-menu-icon {
  color: #a78bfa;
}
html.dark .sort-menu-icon:hover {
  color: #c4b5fd;
}
html.dark .sort-dropdown {
  background-color: #1f2937;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
html.dark .sort-dropdown button {
  color: #e2e8f0;
}
html.dark .sort-dropdown button:hover {
  background-color: #374151;
}
html.dark .sort-dropdown hr {
  border-color: #4a5568;
}
html.dark .sort-option-btn {
  border-color: #4a5568;
  color: #e2e8f0;
}
html.dark .sort-option-btn:hover {
  background-color: #374151;
}
html.dark .sort-option-btn.active {
  background-color: rgba(30, 64, 175, 0.5);
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px #60a5fa;
}

@media (min-width: 768px) {
  .results-container {
    flex-direction: row;
  }
}/*# sourceMappingURL=style.css.map */