* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  width: 320px;
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-box h2 {
  color: #000000;
  text-align: center;
  margin-bottom: 24px;
}

form {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="password"] {
  padding: 12px 40px 12px 12px;
  margin-bottom: 18px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  color: #000000;
  outline: none;
}

input[type= "password"]{
    width: 100%;
}

::placeholder {
  color: #000000;
}

button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #00f5d4;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #00c7a1;
}

.register-link {
  color: #00c7a1;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #00f5d4;
  text-decoration: none;
}

.extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: black;
  margin-bottom: 20px;
}

.extras a {
  color: #00f5d4;
  text-decoration: none;
}

.password-container {
  position: relative;
}

.toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  font-size: 18px;
  background: rgba(255,255,255,0.2);
  padding: 6px;
  border-radius: 8px;
}

h2{
  color: #000;
}

rem{
  color: #000;
}