* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* 🌈 Background */
body {
  background: linear-gradient(135deg, #000000, #6eace2, #98e2e6);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 20px;
  overflow-x: hidden;
}

/* 🧾 Main Container */
.main {
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  padding: 35px 28px;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
  animation: fadeIn 0.8s ease;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main h1 {
  text-align: center;
  color: #00f2fe;
  margin-bottom: 25px;
  font-size: 1.9rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

/* 🧍 Form Layout */
#stdForm div {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
/* form div {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
} */
label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #c9e9f6;
}

input {
  padding: 10px 12px;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  outline: none;
  border-color: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

/* 🧠 Buttons */
button {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  transition: all 0.3s ease;
  margin-top: 8px;
}

button:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 200, 0.3);
}
/* 
#showData {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  color: #333;
}

#showData:hover {
  background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
  color: #fff;
} */
/* 🧾 Output Section */
#output {
  display: none;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 1rem;
  min-height: 70px;
  font-size: 1rem;
  line-height: 1.5;
  color: #dff9fb;
  border: 1px solid rgba(0, 242, 254, 0.3);
  animation: fadeIn 0.6s ease-in-out;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/* pre {
  white-space: pre-wrap;
  word-wrap: break-word;
} */
/* 💡 Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Responsive Design */
@media (max-width: 480px) {
  .main {
    padding: 25px 20px;
  }

  .main h1 {
    font-size: 1.6rem;
  }

  input {
    font-size: 0.95rem;
  }

  button {
    font-size: 0.95rem;
  }
}
