/* client/styles/home.css — home screen layout (HOME-01, HOME-02, HOME-03, HOME-04) */

.home {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Top zone — cream, with chevron clip-path pointing down (HOME-01).
 * Per UI-SPEC: clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%) */
.home-top {
  flex: 0 0 50%;
  background: var(--color-cream);
  color: var(--color-charcoal);     /* SVG fill: currentColor renders charcoal (D-23) */
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.home-title-svg {
  max-width: 70%;
  max-height: 50%;
  height: auto;
  width: auto;
}

/* Bottom zone — charcoal full-bleed (HOME-02). Color cream → SVG logo renders cream (D-24) */
.home-bottom {
  flex: 1 1 50%;
  background: var(--color-charcoal);
  color: var(--color-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-xl);
  padding-bottom: calc(var(--sab) + var(--space-xl));
}

.home-logo-svg {
  max-width: 60%;
  max-height: 40%;
  height: auto;
  width: auto;
}

/* Auth button row (HOME-03) */
.home-auth-row {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
  justify-content: center;
}

.home-auth-btn {
  min-width: 56px;
  min-height: 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);                    /* icon SVGs render red */
  cursor: pointer;
}
.home-auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.home-auth-btn img {
  width: 28px;
  height: 28px;
}

/* Error pill placement on home (HOME-04) */
.home-bottom .error-pill {
  max-width: 80%;
  text-align: center;
}
