body,
body *,
input,
button {
  font-family: 'Tenor Sans', sans-serif;
}

:root {
  --cream: #F5F1EB;
  --black: #2B2B2B;
  --sienna: #A64B2A;
  --taupe: #8B7F74;
}

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

body.login-page {
  background: var(--cream);
  color: var(--black);
  height: 100vh;
  overflow: hidden;
}

.split-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* same logo sizing as login */
.logo-desktop {
  width: 122px;
  height: auto;
  display: block;
  z-index: 2;
}

.logo-mobile {
  width: 114px;
  height: auto;
  display: none;
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--black);
}

.split-left {
  flex: 0 0 50%;
  background: #252525;
  color: #fff;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* same glow system */
.glow {
  position: absolute;
  width: 760px;
  height: 760px;
  pointer-events: none;
  z-index: 0;
}

.orange-glow {
  top: -380px;
  left: -380px;
  background: radial-gradient(circle, rgba(166, 75, 42, 0.34) 0%, rgba(166, 75, 42, 0) 72%);
}

.grey-glow {
  right: -380px;
  bottom: -380px;
  background: radial-gradient(circle, rgba(196, 196, 196, 0.22) 0%, rgba(196, 196, 196, 0) 72%);
}

.left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.left-content h1 {
  font-size: 56px;
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 24px;
}

.left-content p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 440px;
}

.left-footer {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  z-index: 1;
}

.split-right {
  flex: 0 0 50%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px;
}

.right-content-wrapper {
  max-width: 400px;
  width: 100%;
}

.right-content h2 {
  font-size: 38px;
  font-weight: normal;
  margin-bottom: 12px;
}

.subtitle {
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 40px;
  font-size: 16px;
}

.input-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--taupe);
  display: block;
  margin-bottom: 10px;
  margin-top: 20px;
}

.input-label:first-child {
  margin-top: 0;
}

.optional-tag {
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.input-group {
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
  margin-bottom: 10px;
}

.input-group:focus-within {
  border-color: var(--sienna);
}

.input-group input {
  flex: 1;
  border: none;
  padding: 16px;
  font-size: 16px;
  outline: none;
  background: transparent;
  letter-spacing: 0.03em;
}

/* fixed +98 style */
.phone-group .fixed-code {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid #ddd;
  color: var(--black);
  background: #fff;
  font-size: 16px;
}

.login-btn {
  width: 100%;
  background: #d2a695;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 18px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 24px;
}

.login-btn:hover {
  background: var(--sienna);
}

.login-btn:disabled {
  background: var(--taupe);
  cursor: default;
}

.signin-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s;
}

.signin-link:hover {
  color: var(--sienna);
}

.terms-text {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin-top: 48px;
  line-height: 1.6;
}

.success-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(166, 75, 42, 0.08);
  border: 1px solid rgba(166, 75, 42, 0.28);
  color: #6b331e;
  font-size: 14px;
  line-height: 1.6;
}

.success-message.show {
  display: block;
}

@media (max-width: 900px) {
  body.login-page {
    overflow: auto;
  }

  .split-left {
    display: none;
  }

  .split-right {
    flex: 0 0 100%;
    min-height: 100vh;
    padding: 40px 20px;
  }

  .logo-mobile {
    display: block;
  }

  .right-content-wrapper {
    margin-top: 72px;
  }
}

@media (max-width: 480px) {
  .right-content h2 {
    font-size: 32px;
  }

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