/* === General Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #1b3045, #2d445b);
    font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Container === */
.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

/* === Card === */
.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  text-align: center;
  animation: slideUp 0.6s ease;
}

/* === Title === */
.form-card h2 {
  color: #1e3c72;
  font-weight: 600;
  margin-bottom: 5px;
}

.subtitle {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* === Input Groups === */
.input-group {
  text-align: left;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: #2a5298;
  outline: none;
}

/* === Password Field with Eye === */
.password-wrapper {
  position: relative;
}

.password-wrapper .eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 1.1rem;
}

/* === Button === */
button {
  width: 100%;
  padding: 12px;
  background: #1e3c72;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #2a5298;
  transform: translateY(-2px);
}

button:disabled {
  background: #a5b1c2;
  cursor: not-allowed;
}

/* === Links & Error === */
.links {
  margin-top: 18px;
  font-size: 0.9rem;
}

.links a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

.error {
  color: #e74c3c;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* === Animation === */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
