/* Full background */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e2673, #DD1977);
  font-family: 'Segoe UI', sans-serif;
}

/* Card */
.login-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

/* Responsive padding */
@media (max-width: 576px) {
  .login-card {
    padding: 25px 15px;
  }
}

/* Title */
.login-card h2 {
  color: #1e2673;
}

.subtitle {
  color: #777;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Input group */
.input-group-custom {
  position: relative;
  margin-bottom: 18px;
}

.input-group-custom input {
  width: 100%;
  padding: 12px 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
}

.input-group-custom label {
  position: absolute;
  top: 12px;
  left: 10px;
  color: #aaa;
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s;
}

/* Floating label */
.input-group-custom input:focus,
.input-group-custom input:valid {
  border-color: #DD1977;
}

.input-group-custom input:focus + label,
.input-group-custom input:valid + label {
  top: -8px;
  left: 8px;
  background: #fff;
  padding: 0 5px;
  font-size: 12px;
  color: #DD1977;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #DD1977, #1e2673);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Bottom text */
.bottom-text {
  margin-top: 15px;
  font-size: 14px;
}

.bottom-text span {
  color: #DD1977;
  cursor: pointer;
  font-weight: bold;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}