/* Clean auth — login / register split layout */

.cl-auth-page {
  display: flex;
  min-height: 100vh;
}

.cl-auth-side {
  flex: 0 0 42%;
  max-width: 520px;
  background: var(--cl-header);
  color: #fff;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cl-auth-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 40px;
}

.cl-auth-brand-logo {
  height: 32px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.cl-auth-side h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.cl-auth-side p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
  max-width: 340px;
  margin: 0;
}

.cl-auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--cl-bg);
}

.cl-auth-box {
  width: 100%;
  max-width: 400px;
}

.cl-auth-brand--mobile {
  display: none;
  justify-content: center;
  margin-bottom: 28px;
}

.cl-auth-heading {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--cl-text);
  text-align: center;
}

.cl-auth-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cl-muted);
  text-align: center;
  margin: 0 0 28px;
}

.cl-auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-r);
  background: #fff;
  color: var(--cl-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}

.cl-auth-google:hover {
  border-color: #c5c9d0;
  background: var(--cl-surface);
}

.cl-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--cl-muted);
  font-size: 13px;
}

.cl-auth-divider::before,
.cl-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cl-border);
}

.cl-auth-pw-wrap {
  position: relative;
}

.cl-auth-pw-wrap .cl-inp {
  padding-right: 44px;
}

.cl-auth-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: var(--cl-muted);
  border-radius: 6px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-auth-pw-toggle:hover {
  color: var(--cl-text);
  background: var(--cl-surface);
}

.cl-auth-pw-toggle .material-icons {
  font-size: 20px;
}

.cl-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.cl-auth-actions .cl-btn {
  margin-top: 0;
}

.cl-auth-hint a {
  color: var(--cl-accent);
  font-weight: 600;
  text-decoration: none;
}

.cl-auth-hint a:hover {
  text-decoration: underline;
}

.cl-auth-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--cl-muted);
}

.cl-auth-foot a {
  color: var(--cl-accent);
  font-weight: 600;
  text-decoration: none;
}

.cl-auth-foot a:hover {
  text-decoration: underline;
}

.cl-auth-foot--muted a {
  color: var(--cl-muted);
  font-weight: 500;
}

@media (max-width: 820px) {
  .cl-auth-side {
    display: none;
  }

  .cl-auth-brand--mobile {
    display: inline-flex;
  }

  .cl-auth-form-wrap {
    padding: 32px 20px;
  }
}
