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

html, body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* ─── MOBILE (default stacked) ─────────────────────────── */

.container {
  height: calc(100vh - 64px);
  width: 100vw;
  display: flex;
  flex-direction: column;
}

.pink-section {
  background-color: #f3aeb8;
  height: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.top-photo {
  max-width: 12%;
  max-height: 30%;
  height: auto;
  object-fit: contain;
}

.logo {
  max-width: 50%;
  max-height: 55%;
  height: auto;
  object-fit: contain;
}

.red-section {
  background-color: #d30916;
  height: 65%;
  display: flex;
  align-items: center;
  padding: 24px 20px;
  color: white;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-text {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.subtitle {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.92;
}

.login-btn {
  background-color: white;
  color: #d30916;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
}

.login-btn:hover  { background-color: #f0f0f0; }
.login-btn:active { transform: scale(0.98); }

/* ─── DESKTOP (≥ 768px) split hero ─────────────────────── */

@media screen and (min-width: 768px) {
  html, body {
    overflow: hidden;
  }

  .container {
    flex-direction: row;
    height: calc(100vh - 64px);
  }

  /* Right panel: illustration */
  .pink-section {
    order: 2;
    width: 42%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 40px;
  }

  .top-photo {
    max-width: 22%;
    max-height: 14%;
  }

  .logo {
    max-width: 85%;
    max-height: 72%;
  }

  /* Left panel: message + CTA */
  .red-section {
    order: 1;
    width: 58%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 64px;
  }

  .content {
    gap: 28px;
    max-width: 560px;
  }

  .welcome-text {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.93;
  }

  .login-btn {
    width: auto;
    padding: 16px 44px;
    font-size: 17px;
    border-radius: 30px;
  }
}
