* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #0a1f44, #153e75);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Login container */
.login-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 45px 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Logos */
.header-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.logo {
  height: 60px;
  width: auto;
}

/* Inputs & Button */
input,
button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

button {
  background-color: #1d4ed8;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
  background-color: #163fa6;
  transform: scale(1.03);
}

/* Error message */
.error-message {
  color: #d71a28;
  margin-top: 15px;
  font-size: 14px;
}

/* Rain effect */
.rain-logo {
  position: fixed;
  top: -60px;
  width: 40px;
  opacity: 0.7;
  animation: fall 2s linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(78, 154, 241, 0.8));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(78, 154, 241, 1)) brightness(1.2);
  }
  100% {
    transform: translateY(115vh) rotate(360deg);
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(78, 154, 241, 0));
  }
}

.falling-logo {
  position: absolute;
  top: -50px;
  animation: fall 3.8s ease-in forwards;
  pointer-events: none;
  will-change: transform, opacity, filter;
}
