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

html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
}

body {
  min-height: 100vh;
  background: url("../contents/nfecloud-bg.jpg") center top / 100% 100%
    no-repeat fixed;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Login wrapper ── */
.login-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 80px;
  position: relative;
  z-index: 10;
}

/* ── Login Card ── */
.login-card {
  max-width: 400px;
  width: 90%;
  height: 380px;
  margin: 0 auto;
  margin-top: 20px;
  background-color: #fff;
  padding: 40px;
  border-radius: 4px;
  color: #505e6c;
  box-shadow: 5px 5px 5px #b7b7b7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login-card__logo {
  width: 150px;
  height: auto;
  margin-bottom: 4px;
}

.login-card__subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* ── Login Form ── */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.login-form__input {
  width: 100%;
  background: #f3f3f3;
  border: none;
  border-radius: 4px;
  padding: 13px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  outline: none;
  transition: background 0.2s;
}

.login-form__input::placeholder {
  color: #aaa;
}

.login-form__input:focus {
  background: #ebebeb;
}

.login-form__btn {
  display: block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.login-form__btn:hover {
  filter: brightness(0.9);
}

.login-form__btn--entrar {
  background-color: #1e3050;
  color: #fff;
}

.login-form__btn--cadastrar {
  background-color: #e05555;
  color: #fff;
}

.login-form__forgot {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  text-align: center;
  text-decoration: none;
  margin-top: 2px;
}

.login-form__forgot:hover {
  color: #555;
}

/* ── Footer ── */
.login-footer {
  height: 39px;
  position: relative;
  z-index: 10;
  background-color: #003f72;
  padding: 16px 24px;
}

.login-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.login-footer__nav a,
.login-footer__nav span {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  white-space: nowrap;
}

.login-footer__nav a:hover {
  color: #fff;
}
