/* Reset + Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #fff;
  width: 400px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 30px 25px;
  animation: fadeIn 0.6s ease;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nav a {
  text-decoration: none;
  color: #2575fc;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: #6a11cb;
}

/* Headings */
h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  color: #333;
}

h3 {
  text-align: center;
  margin: 20px 0 10px;
  font-size: 18px;
  color: #444;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

input[type="email"],
input[type="password"] {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
}

input:focus {
  border-color: #6a11cb;
  outline: none;
  box-shadow: 0 0 5px rgba(106,17,203,0.2);
}

/* Buttons */
.btn {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37,117,252,0.3);
}

/* Secondary Buttons (Fingerprint etc.) */
.btn.secondary {
  background: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.secondary::before {
  content: "\f577"; /* Font Awesome fingerprint icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #6a11cb;
}

.btn.secondary:hover {
  background: #eaeaea;
  transform: scale(1.03);
}

/* Message Styles */
.msg {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.msg.error {
  background: #ffe6e6;
  color: #b30000;
  border: 1px solid #ffcccc;
}

.msg.success {
  background: #e6ffe6;
  color: #006600;
  border: 1px solid #ccffcc;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 25px 20px;
  }

  h1 {
    font-size: 22px;
  }

  .btn {
    font-size: 15px;
  }

  .form-row label {
    font-size: 14px;
  }
}

p{
  justify-content: center;
  margin: 10px;
  display: flex;
  align-items: center;
}
span{
  justify-content: center;
  margin: 10px;
  display: flex;
  align-items: center;
}