.etpa-shell, .etpa-no-access {
  font-family: var(--etpa-font-body);
  color: var(--etpa-black);
  -webkit-font-smoothing: antialiased;
}

.etpa-shell {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: -2rem calc(50% - 50vw);
}

.etpa-brand-panel {
  position: relative;
  background: linear-gradient(165deg, var(--etpa-wine-deep) 0%, var(--etpa-wine) 52%, var(--etpa-wine-soft) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 56px;
  color: var(--etpa-offwhite);
}

.etpa-mark-plate {
  position: relative;
  width: 190px;
  height: 208px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.etpa-mark-plate svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45));
}
.etpa-mark {
  position: relative;
  width: 108px; height: 108px;
  object-fit: contain;
  margin-top: -14px;
}

.etpa-word {
  margin-top: 28px;
  font-family: var(--etpa-font-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}
.etpa-word span { display: block; font-size: 0.52em; letter-spacing: 0.32em; font-weight: 500; margin-top: 6px; color: var(--etpa-blush); }

.etpa-rule {
  width: 64px; height: 1px;
  background: linear-gradient(to right, transparent, var(--etpa-pink), transparent);
  margin: 26px 0;
  opacity: 0.8;
}

.etpa-tagline {
  font-family: var(--etpa-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--etpa-blush);
  text-align: center;
  max-width: 320px;
}

.etpa-parent {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251,208,227,0.6);
  text-align: center;
}
.etpa-parent strong { color: var(--etpa-blush); font-weight: 600; }

.etpa-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--etpa-offwhite);
  padding: 48px;
}
.etpa-form-card, .etpa-no-access-card { width: 100%; max-width: 400px; }

.etpa-eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--etpa-pink-deep); font-weight: 600; margin: 0 0 10px;
}
.etpa-title {
  font-family: var(--etpa-font-display); font-weight: 600; font-size: 34px;
  margin: 0 0 8px; color: var(--etpa-wine);
}
.etpa-sub { margin: 0 0 30px; color: var(--etpa-text-secondary); font-size: 15px; line-height: 1.5; }

.etpa-error {
  background: var(--etpa-blush-soft);
  border: 1px solid var(--etpa-blush);
  color: var(--etpa-wine-deep);
  padding: 10px 14px;
  border-radius: var(--etpa-radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.etpa-field { margin-bottom: 20px; }
.etpa-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.etpa-input-wrap input {
  width: 100%; font-size: 15px; padding: 13px 14px;
  border: 1px solid var(--etpa-border); border-radius: var(--etpa-radius-sm);
  background: var(--etpa-offwhite); color: var(--etpa-black);
}
.etpa-input-wrap input:focus { outline: none; border-color: var(--etpa-pink-deep); box-shadow: var(--etpa-focus-ring); }

.etpa-row-between { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 28px; }
.etpa-remember { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--etpa-text-secondary); }
.etpa-remember input { accent-color: var(--etpa-pink-deep); }
.etpa-link { font-size: 13.5px; font-weight: 600; color: var(--etpa-pink-deep); text-decoration: none; }
.etpa-link:hover { text-decoration: underline; }

.etpa-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 18px;
  background: var(--etpa-wine); color: var(--etpa-offwhite);
  border: none; border-radius: var(--etpa-radius-sm);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer; text-decoration: none;
}
.etpa-btn-primary:hover { background: var(--etpa-wine-deep); color: var(--etpa-offwhite); }
.etpa-btn-link { margin-top: 8px; }

.etpa-divider {
  display: flex; align-items: center; gap: 14px; margin: 30px 0;
  color: var(--etpa-text-muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.etpa-divider::before, .etpa-divider::after { content: ""; flex: 1; height: 1px; background: var(--etpa-border); }

.etpa-create-account { text-align: center; font-size: 14px; color: var(--etpa-text-secondary); }
.etpa-create-account a { color: var(--etpa-wine); font-weight: 600; text-decoration: none; }
.etpa-create-account a:hover { text-decoration: underline; }

.etpa-no-access {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  padding: 48px; text-align: center;
}

@media (max-width: 860px) {
  .etpa-shell { grid-template-columns: 1fr; }
  .etpa-brand-panel { padding: 44px 32px 36px; }
  .etpa-form-panel { padding: 40px 28px 56px; }
}
