* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b6e 0%, #1a237e 50%, #283593 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}

.login-logo {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}

.field {
  text-align: left;
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: #1a237e;
}

.error-msg {
  font-size: 13px;
  color: #c62828;
  min-height: 20px;
  margin-bottom: 8px;
  text-align: left;
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: #1a237e;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.btn-login:hover  { background: #283593; }
.btn-login:active { transform: scale(0.98); }
.btn-login:disabled { background: #9fa8da; cursor: not-allowed; }

.login-footer {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.btn-forgot {
  background: none;
  border: none;
  color: #1a237e;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 14px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 4px;
}
.btn-forgot:hover { text-decoration: underline; }

.forgot-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: left;
}
