body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #7B61FF, #42A5F5);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

header p {
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.converter-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}

.converter-section {
  margin-bottom: 1rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

select, input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
}

.result-box {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#copyBtn {
  background: #fff;
  color: #333;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

#copyBtn:hover {
  background: #eaeaea;
}

.info-btn {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.info-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.info-popup {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

footer{
  text-align: center;
  margin:50px 0px -40px;
  font-size: 0.5rem;
  opacity: 0.6;
  color:#fff;
  background:#000;
  width:100vw;
  padding:40px 10px;
  
}

.testAlso{
  display:flex; flex-direction:column; align-items:space-around; margin-bottom:20px;
  font-weight:bold;
}
.testAlso a{
  color: white ;
  background:#1e90ff;
  border-radius:30px;
  width:fit-content;
  margin:5px auto;
  padding:3px;
  font-weight:bold;
  text-decoration:none;
}


@media (max-width: 600px) {
  .converter-card {
    padding: 1.5rem;
  }
  header h1 {
    font-size: 1.5rem;
  }
}