* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  /* background: linear-gradient(135deg, #667eea, #764ba2); */
  background: linear-gradient(135deg, #AAA28A, #C2B998);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('/img/supreme-court-of-india.jpg') no-repeat center center/cover;
  filter: blur(8px) brightness(0.7);
  z-index: -1;
}

.login-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: white;
  text-align: center;
}

.nav_links {
    position: absolute;
    top: 12px;
    right: 20px;
}

.nav_links .nav_btn {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.nav_links .nav_btn:hover {
    color: #c2b998;
}

.logo h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 8px;
  font-weight: 600;
}

.subtitle {
  font-size: 14px;
  margin-bottom: 25px;
  color: #ddd;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: #ccc;
}

.input-group input:focus {
  background-color: rgba(255, 255, 255, 0.25);
}

.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 25px;
  color: #ccc;
}

.options a {
  text-decoration: none;
  color: #fff;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  /* background-color: #ffffff; */
  /* color: #4f46e5;  */
  /* background-color: #AAA28A; */
  background-color: #a78159;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  /* background-color: #eee; */
  background-color: #c2b998;
}

.signup {
  margin-top: 20px;
  font-size: 14px;
}

.signup a {
  color: #fff;
  text-decoration: underline;
}
.loader {
  display: none;
  margin: 15px auto;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.8s linear infinite;
}

.login-card .logo img{
  width: 60px;
  /*border-radius: 8px 5px 45px 15px;*/
  /*background: #fff;*/
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media (max-width: 768px) {
  .login-card {
    padding: 30px 20px;
    margin: 20px;
  }

  h2 {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }

  .input-group input {
    padding: 12px;
    font-size: 13px;
  }

  button {
    padding: 12px;
    font-size: 14px;
  }

  .options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .signup {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 40px;
  }

  .login-card {
    width: 90%;
    border-radius: 16px;
  }

  .logo h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 18px;
  }

  .toggle-password {
    right: 10px;
  }
  
}
