body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  background-attachment: fixed;
  background-size: cover;
  animation: gradientShift 10s ease infinite;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.logo {
  width: 320px;
  margin-bottom: 10px;
}

h2 {
  color: #004aad;
  margin-bottom: 20px;
}

/* input[type="text"],
        input[type="password"] {
            width: 92%;
            padding: 12px;
            margin: 8px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
        } */

button {
  width: 100%;
  padding: 12px;
  background: #004aad;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #003380;
}

.forgot {
  margin-top: 10px;
  font-size: 0.9em;
}

.forgot a {
  color: #93a0b1ff;
  text-decoration: none;
}

.error {
  color: red;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Floating Input */
.floating-group {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
}

.floating-input {
  width: 93%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
}

.floating-input:focus {
  border-color: #004aad;
  box-shadow: 0 0 0 2px rgba(0, 74, 173, 0.13);
}

.floating-label {
  position: absolute;
  left: 12px;
  top: 13px;
  color: #777;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.18s ease;
  background: white;
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
  top: -7px;
  font-size: 12px;
  color: #004aad;
  padding: 0 4px;
}
