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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("https://images.pexels.com/photos/41953/earth-blue-planet-globe-planet-41953.jpeg")
    no-repeat center/cover;
  overflow: hidden;
  font-family: Arial;
}

.container {
  position: relative;
  width: 380px;
  padding: 45px 40px 38px;
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.9s ease forwards 0.2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
  animation: float 3s infinite ease-in-out, glow 3s infinite ease-in-out;
}

.logo i {
  font-size: 36px;
  color: #fff;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes glow {
  0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.35); }
  100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
}

.title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  animation: fadeIn 0.8s ease forwards 0.6s;
  opacity: 0;
}

.field {
  position: relative;
  margin-bottom: 26px;
  animation: fadeIn 0.7s ease forwards 0.7s;
  opacity: 0;
}

.field input {
  width: 100%;
  padding: 15px 18px 15px 48px;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: 0.28s ease;
}

.field input:focus {
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

.field label {
  position: absolute;
  left: 48px;
  top: 15px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.28s ease;
  pointer-events: none;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -10px;
  left: 18px;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 4px;
  color: #fff;
  border-radius: 4px;
}

.icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.6;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.field:focus-within .icon {
  color: #fff;
  opacity: 1;
}

.options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  color: #fff;
  animation: fadeIn 0.7s ease forwards 0.8s;
  opacity: 0;
}

.options label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.options a,
.footer a {
  text-decoration: none;
  position: relative;
  color: #fff;
}

.options a::after,
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.5s ease;
}

.options a:hover::after,
.footer a:hover::after {
  width: 100%;
}

.btn {
  width: 100%;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.7);
  color: #3e3e3e;
  border: none;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  animation: fadeIn 0.7s ease forwards 0.9s;
  opacity: 0;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.788);
  color: rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.btn:active {
  transform: scale(0.97);
}

.footer {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: #fff;
  animation: fadeIn 0.7s ease forwards 1s;
  opacity: 0;
}

.footer a {
  color: #fff;
  font-weight: 600;
}

label {
  font-weight: bold;
}
