body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: #fffdf1;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fffdf1;
}

/* LEFT IMAGE */
.login-art {
  background-image: url("../images/mgh-art.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* RIGHT SIDE */
.login-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fffdf1;
}

.login-content {
  width: 100%;
  max-width: 420px;
  transform: translateY(-48px);
}

/* LOGO */
.brand-group {
  text-align: center;
  margin-bottom: 48px;
}

.login-logo {
  width: 260px;
  display: block;
  margin: 0 auto;
}

/* TEXT */
.login-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  margin: 0 0 10px;
  color: #000;
}

.login-subtitle {
  font-size: 16px;
  color: #5f5f5f;
  margin: 0 0 34px;
}

/* FORM */
.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: #000;
}

.login-form input {
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  margin-bottom: 32px;
}

.login-form input:focus {
  outline: none;
  border-color: #c24a28;
  box-shadow: 0 0 0 2px rgba(194, 74, 40, 0.16);
}

/* LINKS */
.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 16px;
}

.login-links a {
  color: #111;
  text-decoration: none;
}

.login-links .forgot-link {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-links .create-account-link {
  color: #666;
  text-decoration: none;
}

/* BUTTON */
.login-form button {
  height: 48px;
  background: #c24a28;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-form button:hover {
  background: #b84425;
}

/* MOBILE */
@media (max-width: 768px) {

  .login-page {
  position: relative;
  display: block;
  min-height: 100dvh;
  background: url("../images/mgh-art.png") center/cover no-repeat;
  overflow: hidden;
}

  /* 70% cream overlay */
  .login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 253, 238, 0.7); /* #FFFDEE @ 70% */
    z-index: 1;
  }

  .login-art {
    display: none;
  }

  .login-panel {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  align-items: flex-start;
  background: transparent;
  padding: 56px 35px 32px;
  box-sizing: border-box;
}

  .login-content {
    max-width: 100%;
    transform: none;
  }

  .brand-group {
    margin-bottom: 88px;
  }

  .login-logo {
    width: 230px;
  }

  .login-title {
    font-size: 23px;
  }

  .login-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .login-form input {
    height: 50px;
    font-size: 16px;
    margin-bottom: 28px;
  }

  .login-form button {
    height: 52px;
  }

  .login-links {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .login-page {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    background: url("../images/mgh-art.png") center/cover no-repeat;
  }

  .login-page::before {
    position: fixed;
    inset: 0;
  }

  .login-panel {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 56px 35px 32px;
  }
}

/* LOADER */
.page-loader {
  position: fixed;
  inset: 0;
  background: #fffdf1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loader-logo {
  width: 150px;
  animation: luxuryLogoReveal 1.8s ease-in-out infinite;
}

@keyframes luxuryLogoReveal {
  0% {
    opacity: 0.55;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
}

.login-page {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.login-page.loaded {
  opacity: 1;
}

.page-loader {
  transition: opacity 0.7s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}