.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  border: var(--border-standard);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.login-card h1 {
  margin: 0;
  text-align: center;
  font-size: 2rem;
}

.login-card h2 {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
}

.login-card p {
  margin: 0.6rem 0 1.2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.login-error {
  display: none;
  margin: 0 0 0.4rem 0;
  text-align: center;
  color: var(--color-red);
  font-size: 0.8rem;
}

.login-error.visible {
  display: block;
}

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-row {
  margin-bottom: 0.7rem;
  text-align: center;
  font-size: 0.9rem;
}

.link-row:last-child {
  margin-bottom: 0;
}

.link-row a {
  color: var(--color-blue);
  text-decoration: none;
  transition: var(--transition);
}

.link-row a:hover {
  color: var(--color-blue-hover);
  text-decoration: underline;
}

.button-spinner.hidden {
  display: none;
}

.restore-password-button {
  border: none;
  background: none;
  color: var(--color-blue);
  font-size: 0.9rem;
  letter-spacing: 0.04rem;
  cursor: pointer;
  transition: var(--transition);
}

.restore-password-button:hover {
  color: var(--color-blue-hover);
  text-decoration: underline;
}

.restore-password-section {
  margin-top: 1.5rem;
}

.confirm-message {
  margin-top: 0.8rem !important;
  text-align: center;
  color: var(--color-green) !important;
}

.confirm-message.failed {
  color: var(--color-red) !important;
}

/* laptop 1600–1919px */
@media (min-width: 1600px) and (max-width: 1919px) {

}

/* laptop 1366–1599px */
@media (min-width: 1366px) and (max-width: 1599px) {

}

/* laptop 1280–1365px */
@media (min-width: 1280px) and (max-width: 1365px) {

}

/* tablet */
@media (min-width: 768px) and (max-width: 1279px) and (orientation: portrait) {
  .container {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1279px) and (orientation: landscape) {

}

/* smartphone */
@media (max-width: 767px) and (orientation: portrait) {
  .container {
    display: none;
  }
}
@media (max-width: 767px) and (orientation: landscape) {
  .container {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 915px) and (max-height: 500px) and (orientation: landscape) {
  .container {
    display: none;
  }
}