/* Poppo modal auth - additive to auth.css */
.poppo-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,18,34,0.55);
  z-index: 99998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.poppo-modal-overlay.is-open { display: flex; }

.poppo-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(15,18,34,0.35);
}
@media (max-width: 720px) {
  .poppo-modal { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .poppo-modal-visual { display: none; }
}

.poppo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15,18,34,0.06);
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  color: var(--poppo-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.poppo-modal-close:hover { background: rgba(15,18,34,0.12); }

.poppo-modal-form-side {
  padding: 48px 44px;
  overflow-y: auto;
}
.poppo-modal-form-side h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 28px;
}

.poppo-modal-visual {
  position: relative;
  background: linear-gradient(160deg, var(--poppo-ink) 0%, var(--poppo-accent) 100%);
  overflow: hidden;
}
.poppo-modal-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.10) 0, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.12) 0, transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 36px);
}
.poppo-modal-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #fff;
}
.poppo-modal-visual-content h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; line-height: 1.2; }
.poppo-modal-visual-content p { margin: 0; color: rgba(255,255,255,0.85); font-size: 14px; }

.poppo-radio-group { margin-bottom: 6px; }
.poppo-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.poppo-radio-group input[type=radio] { accent-color: var(--poppo-accent); width: 16px; height: 16px; }

.poppo-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--poppo-text-secondary);
}
.poppo-terms-row input[type=checkbox] { accent-color: var(--poppo-accent); margin-top: 2px; }

.poppo-modal-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--poppo-text-secondary);
}
.poppo-modal-switch a { color: var(--poppo-accent); font-weight: 600; text-decoration: none; cursor: pointer; }

.poppo-host-upgrade {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--poppo-surface);
  border-radius: var(--poppo-radius-md);
}
.poppo-host-upgrade p { margin: 0 0 12px; font-size: 14px; }
.poppo-host-upgrade button {
  background: var(--poppo-accent);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--poppo-radius-pill);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
