:root {
--primary: rgba(195, 171, 111, 1);
--background: rgba(237, 230, 212, 1);
--text: rgba(0, 0, 0, 1);
--container: rgba(248, 244, 237, 1);
--errorbackground: rgba(243, 143, 143, 1);
--inactive: rgba(152, 152, 152, 1);
--danger: rgba(182, 46, 46, 1);
--primaryvariation: rgba(212, 188, 145, 1);
--containervariation: rgba(241, 233, 218, 1);
--regbackgroundcolor: rgba(233, 233, 233, 1);
--variable-collection-color: rgba(28, 29, 33, 1);
}

@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html, body {
  margin: 0px;
  height: 100%;
  background-color: #c9c9c9;
  
  display: flex;
  align-items: center;
  justify-content: center;

}
/* button:focus-visible {
  outline: 2px solid #4a90e2 !important;
} */
a {
  text-decoration: none;
}
.frame {
  background-size: 100% 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame .login {
  width: 866px;
  height: 478px;
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
}

/* Login card typography: modest bump vs base .frame — balanced with inputs & buttons */
#login-component-container .text-wrapper {
  font-size: 21px;
}
#login-component-container .div {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
#login-component-container .text-wrapper-2 {
  font-size: 12px;
  line-height: 1.35;
}
#login-component-container .text-wrapper-3 {
  font-size: 12px;
  line-height: 16px;
}
#login-component-container .text-wrapper-4 {
  font-size: 13px;
}
#login-component-container .by-continuing-you {
  font-size: 11px;
  line-height: 1.45;
  margin-top: 10px;
}
#login-component-container .text-wrapper-6,
#login-component-container .text-wrapper-7 {
  font-size: 12px;
  line-height: 16px;
}
#login-component-container .sign-in {
  font-size: 12px;
}
#login-component-container .if-you-already-have {
  font-size: 14px;
}
#login-component-container .welcome {
  font-size: 20px;
  line-height: 1.2;
}

/* Div-based buttons: no text caret / selection */
#login-component-container .login-2,
#login-component-container .div-wrapper-2 {
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
}
#login-component-container .login-2 .text-wrapper-6,
#login-component-container .div-wrapper-2 .text-wrapper-7 {
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* In-flow flex layout so card height grows with form (abs-only children collapse parent) */
#login-component-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: min(866px, calc(100vw - 40px));
  max-width: 100%;
  min-height: min(480px, calc(100vh - 48px));
  height: auto;
  overflow: visible;
  position: relative;
  box-sizing: border-box;
}
#login-component-container .content-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
#login-component-container .left-content {
  order: 1;
  position: relative;
  z-index: 1;
  flex: 0 1 423px;
  width: auto;
  max-width: 423px;
  min-width: 220px;
  height: auto;
  margin: 10px 0 10px 10px;
  top: auto;
  left: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  box-sizing: border-box;
}
#login-component-container .group {
  margin-top: 0;
}
#login-component-container .right-content {
  order: 2;
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 10px 10px 10px 0;
  top: auto;
  left: auto;
  padding: 24px 28px 32px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#login-component-container .logo {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  min-height: 28px;
}
#login-component-container .logo-text {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  padding-left: 28px;
}
#login-component-container .union {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#login-component-container .content {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0;
  box-sizing: border-box;
  gap: 12px;
  display: flex;
  flex-direction: column;
}
#login-component-container .slogan {
  margin-bottom: 2px;
}
#login-component-container .div-2 {
  gap: 14px;
  align-items: stretch;
}
#login-component-container .div-3 {
  min-height: 58px;
  height: auto;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  box-sizing: border-box;
}
#login-component-container .div-wrapper,
#login-component-container #username-input-wrapper,
#login-component-container #password-input-wrapper {
  min-height: 34px;
  height: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#login-component-container .text-wrapper-3 {
  height: auto;
  min-height: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.frame .content-background {
  position: absolute;
  width: 97.69%;
  height: 95.81%;
  top: 2.10%;
  left: 0;
  background-color: #ffffff;
  border-radius: 20px;
}
.frame .right-content {
  position: absolute;
  top: 10px;
  left: 433px;
  width: 423px;
  height: 350px;
  background-size: 100% 100%;
}
.frame .logo {
  position: absolute;
  width: 48.70%;
  height: 5.47%;
  top: 2.41%;
  left: 7.09%;
}
.frame .logo-text {
  position: absolute;
  width: 83.49%;
  height: 100%;
  top: 0;
  left: 16.51%;
  display: flex;
}
.frame .text-wrapper {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 172px;
  height: 25px;
  font-family: "Playfair Display", serif, "SF Pro-SemiboldItalic", Helvetica;
  font-weight: 600;
  /* font-style: italic; */
  color: #1c1d21;
  font-size: 20px;
  letter-spacing: 1.00px;
  /* margin-top: 1px; */
}

.frame .union {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10%;
  left: 0;
  aspect-ratio: 1;
}
.frame .content {
  display: flex;
  flex-direction: column;
  width: 94.56%;
  height: 120%;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 20px;
  position: absolute;
  top: 12.7%;
  left: 2.60%;
  background-color: #ffffff;
  border-radius: 10px;
}
.frame .slogan {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}
.frame .div {
  position: relative;
  width: fit-content;
  font-family: "SF Pro-Bold", Helvetica;
  font-weight: 700;
  color: #333438;
  font-size: 24px;
}
.frame .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: "SF Pro-SemiboldItalic", Helvetica;
  font-weight: 600;
  font-style: italic;
  color: #333438;
  font-size: 12px;
}
.frame .div-2 {
  flex-direction: column;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.frame .div-3 {
  position: relative;
  width: 362px;
  height: 50px;
}
.frame .text-wrapper-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 25px;
  display: flex;
  align-items: center;
  font-family: "SF Pro-Regular", Helvetica;
  font-weight: 400;
  color: #333438;
  font-size: 12px;
  line-height: 16px;
}
.frame .div-wrapper {
  width: 360px;
  height: 25px;
  position: absolute;
  top: 25px;
  left: 0;
  border-radius: 8px;
  border: 2px solid #e4e4e4;
  display: flex;
  align-items: center;
}
.frame .text-wrapper-4 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  font-family: "SF Pro-Regular", Helvetica;
  font-weight: 400;
  color: #1c1d21;
  font-size: 10px;
}
.frame .div-4 {
  position: absolute;
  top: 25px;
  left: 0;
  width: 360px;
  height: 25px;
  border-radius: 8px;
  border: 2px solid #e4e4e4;
}
.frame .by-continuing-you {
  position: relative;
  align-self: stretch;
  font-family: "SF Pro-Regular", Helvetica;
  font-weight: 400;
  color: #333438;
  font-size: 10px;
  line-height: 16px;
}
.frame .text-wrapper-5 {
  text-decoration: underline;
}
.frame .login-2 {
  height: 50px;
  align-self: stretch;
  width: 100%;
  background-color: #333438;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame .text-wrapper-6 {
  font-family: "SF Pro-Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}
.frame .divider {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 1px;
}
.frame .div-wrapper-2 {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #e4e4e4;
  border-radius: 10px;
}
.frame .text-wrapper-7 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SF Pro-Bold", Helvetica;
  font-weight: 700;
  color: #333438;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}
.frame .left-content {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 423px;
  height: 457px;
  display: flex;
  justify-content: center;
  /* background-image: url(./img/left-content-background.svg); */
  background-size: 100% 100%;
  background-color: var(--regbackgroundcolor);
  /* border-top-left-radius: 20px;
  /* border-bottom-left-radius: 20px; */ /* its for much detailed explaination */
  border-radius: 20px 0 0 20px; /* The order of the values is clockwise - top left, top right, bottom right, bottom left. */
}

.frame .group {
  margin-top: 169px;
  width: 164px;
  height: 119px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: rotate(180deg);
}
.frame .login-wrapper {
  width: 160px;
  display: flex;
  justify-content: center;
  transform: rotate(-180deg);
}
.frame .sign-in-wrapper {
  width: 160px;
  height: 29px;
  background-color: #333438;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame .sign-in {
  font-family: "Urbanist-Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}
.frame .if-you-already-have {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  width: 160px;
  transform: rotate(-180deg);
  font-family: "SF Pro-SemiboldItalic", Helvetica;
  font-weight: 600;
  font-style: italic;
  color: #000000;
  font-size: 14px;
  text-align: center;
  line-height: 16px;
}
.frame .welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  width: 160px;
  transform: rotate(-180deg);
  font-family: "SF Pro-SemiboldItalic", Helvetica;
  font-weight: 600;
  font-style: italic;
  color: #000000;
  font-size: 20px;
  text-align: center;
  line-height: 16px;
}

/* =====================
   RESPONSIVE: tablet + mobile (≤ 920px)
   ===================== */
@media (max-width: 920px) {
  html, body {
    align-items: center;
    height: auto;
    min-height: 100vh;
  }

  /* Frame: full width, card centered both axes */
  .frame {
    min-width: unset;
    min-height: 100vh;
    width: 100%;
  }

  .frame .text-wrapper {
    /* display: flex;
    align-items: center;
    justify-content: left;
    width: 172px;
    height: 25px;
    font-family: "SF Pro-SemiboldItalic", Helvetica;
    font-weight: 600;
    font-style: italic;
    color: #1c1d21;
    font-size: 20px;
    letter-spacing: 1.00px; */
    margin-left: 10px;
  }


  /* Login card: responsive width, flex column so panels stack */
  .frame .login {
    width: min(500px, 90%);
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    margin: 32px auto;
  }

  /* Undo desktop #login-component-container row + fixed width */
  #login-component-container {
    width: min(500px, calc(100vw - 24px));
    max-width: 100%;
    min-height: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  #login-component-container .left-content {
    order: 2;
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  #login-component-container .right-content {
    order: 1;
    flex: none;
    width: 100%;
    margin: 0;
    padding: 24px 24px 16px;
    gap: 20px;
  }

  .frame .content-background {
    display: none;
  }

  /* ── Right panel ──
     Override all absolute positioning — make it a flex column
     so logo + form flow naturally and auto-size the panel */
  .frame .right-content {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 16px;
    gap: 20px;
  }

  /* Logo row: icon left, text right */
  .frame .logo {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .frame .union {
    position: relative;
    top: auto;
    left: auto;
    order: -1;        /* pulls icon before logo-text in the row */
    width: 20px;
    height: 20px;
  }

  .frame .logo-text {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
  }

  /* Content: override absolute positioning, auto height */
  .frame .content {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;           /* override desktop's height: 120% */
    padding: 0;
    background-color: transparent;
    border-radius: 0;
  }

  /* Input field containers — stretch to container width */
  .frame .div-3,
  .frame .div-wrapper,
  .frame .text-wrapper-3 {
    width: 100%;
  }

  .frame .text-wrapper-2 {
    font-size: 14px;
  }

  /* Input labels */
  .frame .text-wrapper-3 {
    font-size: 14px;
  }

  /* Input text — 16px prevents iOS Safari auto-zoom */
  .frame .text-wrapper-4,
  .frame .div-wrapper input {
    font-size: 16px !important;
  }

  /* Terms & conditions text */
  .frame .by-continuing-you {
    font-size: 13px;
  }

  .frame .text-wrapper-7 {
    font-size: 16px;
  }

  .frame .text-wrapper-6 {
    font-size: 16px;
  }

  #login-component-container .text-wrapper-3 {
    font-size: 15px;
  }

  #login-component-container .text-wrapper-2 {
    font-size: 15px;
  }

  #login-component-container .div {
    font-size: 22px;
    line-height: 1.25;
  }
  /* ── Left panel ──
     Remove the grey panel; only group content remains visible */
  .frame .left-content {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    justify-content: flex-start;
    padding: 0;
  }

  /* Group: single horizontal row — "Don't have an account?" | Sign Up */
  .frame .group {
    /* margin-top: 0; */
    height: auto;
    width: 100%;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    /* border-top: 1px solid #e4e4e4; */
    margin-top: -18px;
  }

  /* "Don't have an account?" — left side, fills remaining space */
  .frame .if-you-already-have {
    order: 1;
    flex: 1;
    width: auto;
    height: auto;
    transform: none;
    justify-content: flex-start;
    font-size: 12px;
  }

  /* Sign Up wrapper — right side, auto-width */
  .frame .login-wrapper {
    order: 2;
    width: auto;
    transform: none;
  }

  /* "Don't have an account?" — left side, fills remaining space */
  .frame .if-you-already-have {
    order: 1;
    flex: 1;
    width: auto;
    height: auto;
    transform: none;
    justify-content: flex-start;
    font-size: 14px;
  }

  .frame .sign-in {
    font-family: "Urbanist-Bold", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
  }

  .frame .sign-in-wrapper {
    /* width: auto; */
    padding: 0 18px;
    height: 32px;
  }

  /* Hide "Greetings!" — not needed on mobile */
  .frame .welcome {
    display: none;
  }
}

/*
*
CSS FOR MESSAGE / ANIMATION HERE
*
*/
#message {
  background: #fff;
  border-radius: 10px;
  bottom: 0;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.12);
  color: #4a4a4a;
  font-weight: 600;
  font-size: 13px;
  left: 50%;
  padding: 12px 18px;
  position: fixed;
  transform: translate3d(-50%, -24px, 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 32px));
  box-sizing: border-box;
  z-index: var(--z-slide-up-message);
  will-change: transform;
}

#message .alert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#message .alert-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

#message .alert-text {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

#message.hidden {
  transform: translate3d(-50%, calc(100% + 32px), 0);
}

#message #close,
#message #message-close-btn {
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.4;
  padding: 0 2px;
  transition: opacity 0.15s ease;
}

#message #close img,
#message #message-close-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

#message #close:hover,
#message #message-close-btn:hover {
  opacity: 0.9;
}

@media (max-width: 500px) {
  #message {
    bottom: auto;
    top: 0;
    max-width: calc(100vw - 32px);
    transform: translate3d(-50%, 16px, 0);
  }

  #message.hidden {
    transform: translate3d(-50%, -150%, 0);
  }
}