.font-montserrat {
  font-family: "Montserrat", sans-serif;

}

.font-inter {
  font-family: "Inter", sans-serif;

}


.side-auth {
  background: linear-gradient(to bottom, #580B0B, #000);
  position: relative;
}

.side-auth-mobile {
  background: linear-gradient(to right, #580B0B, #000);
}

.hidden-form {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: none;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  height: 100dvh;
  font-family: 'Inter', sans-serif;
}

#brand-auth {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 48px 112px;
  position: absolute;
  z-index: 1000;
}

.left-section {
  grid-column: span 3 / span 3;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.inner-box {
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  height: 20%;
  position: absolute;
  top: 100px;
  color: white;
  border-radius: 16px;
  flex-direction: column;
  justify-content: space-between;
  display: none;
  /* default hidden */
  overflow: hidden;
}

#canvas-mobile {
  position: absolute;
}

.inner-box p:nth-child(1) {
  font-weight: 600;
  line-height: 120%;
}

.inner-box p:nth-child(2) {
  font-size: 16px;
}

#form-login,
#form-register {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
}

.input-auth {
  border: 1px solid #e5e7eb; /* sama kayak Tailwind border default */
  border-radius: 12px;
  padding: 18px 16px;
  width: 393px;
  box-sizing: border-box;
}

.btn-auth {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 393px;
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-google {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 393px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
}

.text-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.text-info a {
  text-decoration: underline;
  color: #1e40af; /* Tailwind blue-800 */
}

#canvasRight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.auth-container {
  width: 100%;
  height: 100%;
  padding: 48px 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-sizing: border-box;
}

.auth-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 110%;
}

.auth-container p {
  margin-right: 8px;
}

.errmsgL, .errmsgR {
  color: red;
  font-size: 14px;
}