body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.textarea-container {
  position: relative;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  min-height: 180px;
  max-height: 600px;
  margin-bottom: 1rem;
}

.line-numbers {
  background-color: #f5f5f5;
  color: #666;
  padding: 1rem 0.5rem;
  margin: 0;
  border-right: 1px solid #ccc;
  font-family: monospace;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 3rem;
  text-align: right;
  user-select: none;
  overflow: hidden;
  flex-shrink: 0;
}

textarea {
  flex: 1;
  min-height: 180px;
  max-height: 600px;
  padding: 1rem;
  font-family: monospace;
  font-size: 1rem;
  border: none;
  border-radius: 0;
  resize: vertical;
  margin-bottom: 0;
  outline: none;
  overflow-y: auto;
  overflow-x: auto;
}

textarea:focus {
  border-color: #4CAF50;
  outline: none;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

button {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #43a047;
}

.error {
  color: #c62828;
  font-weight: 600;
  margin-bottom: 1rem;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.toast.show {
  opacity: 1;
}

.box-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.icon-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #4CAF50;
  z-index: 10;
}

.icon-btn:hover {
  color: #2e7d32;
}

.icon {
  width: 24px;
  height: 24px;
}

.action-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  position: relative;
  z-index: 5;
}

.action-bar select,
.action-bar button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.action-bar select {
  background-color: white;
  min-width: 150px;
}

.action-bar button {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.action-bar button:hover {
  background-color: #43a047;
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer .container {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
}

footer a:hover {
  color: #ecf0f1;
  text-decoration: underline;
}

.footer-content {
  text-align: center;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-disclaimer {
  margin-bottom: 1rem;
}

.footer-disclaimer p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.footer-copyright small {
  color: #95a5a6;
  font-size: 0.8rem;
}

/* Disclaimer Page Styles */
.content-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.content-section h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.content-section h3 {
  color: #34495e;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.back-link {
  text-align: center;
  margin-top: 2rem;
}

.back-link a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: 600;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-col {
    text-align: center;
  }
  
  .escaper-right-padding {
    margin-right: 0;
  }
  
  .visible-xs {
    display: block;
  }
}

@media (min-width: 769px) {
  .visible-xs {
    display: none;
  }
}

