* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, black, #4facfe 0%,  #00f2fe 100%);
  background: url(./background.jpg) center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 20px;
}

/* 🧾 Main Container */
.main {
  background:rgba(0, 0, 0, 0.719);
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease;
}

.main h1 {
  text-align: center;
  color:aqua;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* 🧍 Form Layout */
form div {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
  color: white;
}

input {
  padding: 10px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
}

/* 🧠 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);
}

#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.5);
  border-radius: 10px;
  padding: 1rem;
  min-height: 70px;
  font-size: 1rem;
  line-height: 1.5;
  color: #30153f;
  color: white;
  animation: fadeIn 0.6s ease-in-out;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* 💡 Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
