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

/* Page */
body {
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Container */
.login-page {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* Card */
.login-card {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 18px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Logo */
.logo-wrap {
  margin-bottom: 20px;
}

.logo {
  width: 90px;
  margin-bottom: 10px;
}

.logo-wrap p {
  font-size: 14px;
  color: #6b7280;
}

/* Title */
.login-card h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Form */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #374151;
}

/* Inputs */
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.form-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Password */
.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 45px;
}

.password-wrap button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 16px;
}

/* Button */
.btn-primary {
  width: 100%;
  background: #1f3b63;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #173052;
}

/* Links */
.links {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.links a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

/* Bottom text */
.register-text {
  margin-top: 15px;
  font-size: 13px;
  color: #6b7280;
}

.register-text a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.register-text a:hover {
  text-decoration: underline;
}

/* Errors */
.error-message {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }

  .login-card h1 {
    font-size: 20px;
  }
}
