.container-code-diff-checker {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #fff8ec 0%, #faf0db 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
  /* Responsive Design */
  /* Smooth scroll behavior */
  /* Loading animation */
}
.container-code-diff-checker .containerr {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.container-code-diff-checker .headerr {
  background: linear-gradient(135deg, #de9406 0%, #de9406 100%);
  padding: 30px;
  text-align: center;
  color: white;
}
.container-code-diff-checker .headerr h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.container-code-diff-checker .headerr p {
  font-size: 1.1rem;
  opacity: 0.9;
}
.container-code-diff-checker .input-section {
  padding: 30px;
  background: white;
}
.container-code-diff-checker .input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.container-code-diff-checker .input-group {
  display: flex;
  flex-direction: column;
}
.container-code-diff-checker .input-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #de9406;
  display: flex;
  align-items: center;
  gap: 8px;
}
.container-code-diff-checker .input-label::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #de9406 0%, #eba610 100%);
  border-radius: 2px;
}
.container-code-diff-checker .code-input {
  width: 100%;
  height: 300px;
  padding: 15px;
  border: 2px solid #ffe7b3;
  border-radius: 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  transition: all 0.3s ease;
  background: #fff8e6;
}
.container-code-diff-checker .code-input:focus {
  outline: none;
  border-color: #de9406;
  box-shadow: 0 0 0 3px rgba(222, 148, 6, 0.15);
  background: white;
}
.container-code-diff-checker .compare-button {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 15px 30px;
  background: linear-gradient(135deg, #de9406 0%, #e09e0e 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(222, 148, 6, 0.4);
}
.container-code-diff-checker .compare-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(222, 148, 6, 0.6);
}
.container-code-diff-checker .compare-button:active {
  transform: translateY(0);
}
.container-code-diff-checker .legend {
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border: 1px solid rgba(30, 30, 30, 0.5960784314);
  border-radius: 12px;
  color: white;
}
.container-code-diff-checker .legend h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.container-code-diff-checker .legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.container-code-diff-checker .legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgb(222, 146, 6);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.container-code-diff-checker .legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}
.container-code-diff-checker .legend-color.added {
  background: #48bb78;
}
.container-code-diff-checker .legend-color.deleted {
  background: #f56565;
}
.container-code-diff-checker .legend-color.changed {
  background: #ed8936;
}
.container-code-diff-checker .legend-color.missing {
  background: #a0aec0;
}
.container-code-diff-checker .results-section {
  display: none;
  padding: 30px;
  background: #fff8e6;
  border-top: 1px solid #ffe7b3;
}
.container-code-diff-checker .results-header {
  text-align: center;
  margin-bottom: 30px;
}
.container-code-diff-checker .results-header h2 {
  font-size: 1.8rem;
  color: #de9406;
  margin-bottom: 10px;
}
.container-code-diff-checker .diff-containerr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.container-code-diff-checker .diff-column {
  padding: 20px;
}
.container-code-diff-checker .diff-column h3 {
  margin-bottom: 15px;
  padding: 10px;
  background: linear-gradient(135deg, #de9406 0%, #ffe7b3 100%);
  color: white;
  border-radius: 8px;
  text-align: center;
}
.container-code-diff-checker .diff-line {
  display: flex;
  margin-bottom: 2px;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.container-code-diff-checker .line-number {
  background: #ffe7b3;
  color: #de9406;
  padding: 4px 8px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  min-width: 40px;
  text-align: center;
  border-right: 1px solid #ffd77a;
}
.container-code-diff-checker .line-content {
  flex: 1;
  padding: 4px 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
}
.container-code-diff-checker .diff-line.added {
  background: #c6f6d5;
  border-left: 4px solid #48bb78;
}
.container-code-diff-checker .diff-line.deleted {
  background: #fed7d7;
  border-left: 4px solid #f56565;
}
.container-code-diff-checker .diff-line.deleted .line-content {
  text-decoration: line-through;
  opacity: 0.7;
}
.container-code-diff-checker .diff-line.changed {
  background: #ffe7b3;
  border-left: 4px solid #de9406;
}
.container-code-diff-checker .diff-line.missing {
  background: #fff8e6;
  border-left: 4px solid #ffd77a;
}
.container-code-diff-checker .diff-line.missing .line-content {
  font-style: italic;
  color: #de9406;
}
.container-code-diff-checker .no-differences {
  text-align: center;
  padding: 40px;
  color: #de9406;
  font-size: 1.2rem;
  background: #ffe7b3;
  border-radius: 12px;
  margin: 20px 0;
}
.container-code-diff-checker .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.container-code-diff-checker .stat-item {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.container-code-diff-checker .stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #de9406;
}
.container-code-diff-checker .stat-label {
  font-size: 0.9rem;
  color: #de9406;
  margin-top: 5px;
}
@media (max-width: 768px) {
  .container-code-diff-checker body {
    padding: 10px;
  }
  .container-code-diff-checker .headerr h1 {
    font-size: 2rem;
  }
  .container-code-diff-checker .input-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .container-code-diff-checker .diff-container {
    grid-template-columns: 1fr;
  }
  .container-code-diff-checker .legend-grid {
    grid-template-columns: 1fr;
  }
  .container-code-diff-checker .code-input {
    height: 200px;
    font-size: 12px;
  }
  .container-code-diff-checker .compare-button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .container-code-diff-checker .input-section,
  .container-code-diff-checker .results-section {
    padding: 20px;
  }
  .container-code-diff-checker .headerr {
    padding: 20px;
  }
  .container-code-diff-checker .headerr h1 {
    font-size: 1.8rem;
  }
  .container-code-diff-checker .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.container-code-diff-checker html {
  scroll-behavior: smooth;
}
.container-code-diff-checker .loading {
  display: none;
  text-align: center;
  margin: 20px 0;
}
.container-code-diff-checker .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #de9406;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}