* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.box {
  position: relative;
  width: 340px;
  padding: 45px;
  background: #121212;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1);
  z-index: 1;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: conic-gradient(from 0deg, #00d2ff, #3a7bd5, #00d2ff);
  z-index: -2;
  animation: rotating 5s linear infinite;
}

.box::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #1e1e2f;
  border-radius: 15px;
  border: 2px solid #27293d;
  z-index: -1;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

form h2 {
  text-align: center;
  color: #00d2ff;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #00d2ff;
}

.inputBox {
  position: relative;
  margin-bottom: 25px;
}

.inputBox input {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #00d2ff;
  color: #e0e0e0;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.inputBox span {
  position: absolute;
  left: 0;
  padding: 10px 0;
  pointer-events: none;
  color: #888;
  transition: 0.3s;
}

.inputBox input:focus ~ span,
.inputBox input:valid ~ span {
  transform: translateY(-20px);
  font-size: 12px;
  color: #00d2ff;
}

.inputBox input[type="submit"] {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 10px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

.inputBox input[type="submit"]:hover {
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.5);
}
