/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Wrapper */
.login-container {
  width: 100%;
  max-width:550px;
  padding: 1rem;
}

/* Card */
.login-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2.5rem ;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  animation: fadeUp 0.8s ease-in-out;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-3px);
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
}

.login-header p {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* Input field styling */
.input-group {
  margin-bottom: 1.4rem;
}

.input-group label {
  display: block;
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.input-box i {
  position: absolute;
  left: 12px;
  color: #888;
  font-size: 1.2rem;
}

.input-box input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-box input:focus {
  border-color: #000080;
  box-shadow: 0 0 8px rgba(122, 90, 245, 0.3);
}

.toggle-eye {
  right: 12px;
  left: auto;
  cursor: pointer;
}

/* Options */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.remember input {
  accent-color: #000080;
  margin-right: 6px;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
 background-color: #000080;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
background-color: #000080eb;
  box-shadow: 0 6px 15px rgba(122, 90, 245, 0.4);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
  margin: 1.8rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
  margin: 0 12px;
}




/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 2rem 1.6rem;
  }
  .login-header h2 {
    font-size: 1.6rem;
  }
  
}