body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f9fafc, #e0f2fe);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #374151;
  overflow-x: hidden;
}

footer {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: small;
  margin-top: 20px;
  width: 100%;
  position: fixed;
  bottom: 10px;
  background-color: #ffffff; 
  padding: 5px 0;
  box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1); 
}

a {
  color: #6b7280; 
}

.container {
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  padding: 25px 20px;
  margin-right: 25px;
  margin-left: 25px;
  border-radius: 20px;
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */
  text-align: center;
  animation: slideIn 0.4s ease-out;
  transition: all 0.3s ease;
}

.container:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  
}

.note {
  color: #6b7280;
  font-style: italic;
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
}

.footer_note {
  color: #6b7280;
  font-style: bold;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

h1 {
  color: #3b83f6bb;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.1s ease-in-out;
}

p {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  animation: fadeIn 0.2s ease-out;
}

input[type="text"] {
  width: 100%;
  max-width: auto; 
  padding: 18px;
  margin-bottom: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  /* box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05); */
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

input[type="text"]:focus {
  outline: none;
  border-color: #204177;
  box-shadow: 0 2px 4px rgba(50, 110, 207, 0.3);
  transform: scale(1.005);
}

button {
  background: #29a67e;
  color: white;
  padding: 12px 24px;
  border: #2a745c;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.5s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
  background: #238f6d;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#output, #output2, #output3 {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 20px;
}

#output.visible, #output2.visible, #output3.visible {
  background: #f0fdf4;
  border-color: #10b981;
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 30px 0;
  width: 80%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) { /* AI-assisted */
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  input[type="text"] {
    width: 100%;
    font-size: 1rem;
  }
}
