/* Shared login look — aula + centro */
.login-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 45, 82, 0.62) 0%, rgba(24, 88, 138, 0.42) 100%);
  pointer-events: none;
}

.login-page__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 2rem 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 48px rgba(8, 32, 58, 0.28);
  backdrop-filter: blur(10px);
}

.login-page__logo {
  display: block;
  width: auto;
  max-width: min(360px, 100%);
  height: auto;
  max-height: 120px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.login-page__title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a4d7a;
}

.login-page__field {
  margin-bottom: 0.75rem;
}

.login-page__field .form-control,
.login-page__field input.form-control {
  width: 100%;
  height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid #d5e3ef;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1f2937;
  background: #f8fbfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-page__field .form-control:focus,
.login-page__field input.form-control:focus {
  outline: none;
  border-color: #3b82b8;
  box-shadow: 0 0 0 3px rgba(59, 130, 184, 0.18);
  background: #fff;
}

.login-page__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.85rem;
  color: #4b6073;
}

.login-page__options label {
  margin: 0;
  cursor: pointer;
  color: #4b6073;
}

.login-page__options a {
  color: #1a6faa;
  text-decoration: none;
  font-weight: 500;
}

.login-page__options a:hover {
  text-decoration: underline;
}

.login-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.login-page__actions .btn-primary,
.login-page__submit {
  flex: 1 1 100%;
  min-height: 46px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #1a6faa 0%, #2d8bc8 100%);
  box-shadow: 0 8px 20px rgba(26, 111, 170, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-page__actions .btn-primary:hover,
.login-page__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(26, 111, 170, 0.34);
}

.login-page__alert {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.login-page__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8eef4;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6b7f90;
}

@media (max-width: 480px) {
  .login-page {
    padding: 1rem;
  }

  .login-page__card {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 16px;
  }

  .login-page__logo {
    max-height: 100px;
  }
}
