@import url(https://fonts.googleapis.com/css?family=Roboto:300);
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.body {
  background: linear-gradient(135deg, #2559a2 0%, #1a3d6b 100%);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-page {
  width: 400px;
  padding: 0;
  margin: 0;
  animation: fadeIn 0.6s ease-out;
}

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

.form {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.98);
  max-width: 400px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form input {
  font-family: 'Inter', sans-serif;
  outline: 0;
  background: #f8f9fa;
  width: 100%;
  border: 2px solid #e9ecef;
  margin: 0 0 20px;
  padding: 16px;
  box-sizing: border-box;
  font-size: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: #495057;
}

.form input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.form input:focus {
  border-color: #2559a2;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 89, 162, 0.1);
  transform: translateY(-1px);
}

.form button {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  outline: 0;
  background: #2559a2;
  width: 100%;
  border: 0;
  border-radius: 12px;
  margin: 10px 0 20px;
  padding: 16px;
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.form button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.form button:hover {
  background: #1a3d6b;
  box-shadow: 0 8px 20px rgba(37, 89, 162, 0.3);
  transform: translateY(-2px);
}

.form button:hover::after {
  animation: ripple 1s ease-out;
}

.form button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(37, 89, 162, 0.2);
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.form .message {
  margin: 20px 6px;
  color: #495057;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.form .message a {
  color: #2559a2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.form .message a:hover {
  color: #1a3d6b;
  background: rgba(37, 89, 162, 0.1);
  text-decoration: none;
}

.form .register-form {
  display: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}

.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}

.container .info {
  margin: 50px auto;
  text-align: center;
}

.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
}

.container .info span {
  color: #495057;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.container .info span a {
  color: #2559a2;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.container .info span a:hover {
  color: #1a3d6b;
  text-decoration: underline;
}

.container .info span .fa {
  color: #2559a2;
}

body {
  background: #2559a2;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  color: #495057;
}

/* Add responsive design */
@media (max-width: 480px) {
  .login-page {
    width: 100%;
    padding: 20px;
  }
  
  .form {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .form input,
  .form button {
    padding: 14px;
  }
}
