/* ═══════════════════════════════════════════════════════════════════════
   PROFILE COMPLETION POPUP — public/front/css/profile-complete.css
   Single responsibility: styling only.

   Deliberately warmer/rounder than auth-modal.css — soft peach-tinted
   surface instead of white, bigger radius, friendlier type scale — so it
   reads as "a quick, optional extra" rather than "more of the login wall".
   Tokens (--hh-*) come from hh-auth-tokens.css.
   ═══════════════════════════════════════════════════════════════════════ */

.hh-pcp-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(28, 26, 22, 0.45);
    backdrop-filter: blur(3px);
    align-items: flex-end;
    justify-content: center;
}
.hh-pcp-overlay.hh-pcp-open { display: flex; }
.hh-pcp-overlay.hh-pcp-visible .hh-pcp-sheet { animation: hhPcpIn 320ms cubic-bezier(.2,.85,.35,1); }

@media (min-width: 768px) {
    .hh-pcp-overlay { align-items: center; }
}

.hh-pcp-sheet {
    width: 100%; max-width: 420px;
    background: #fffaf3;
    border-radius: 26px 26px 0 0;
    padding: 30px 26px 26px;
    box-shadow: 0 -10px 50px rgba(28,26,22,.22);
    position: relative;
}
@media (min-width: 768px) {
    .hh-pcp-sheet { border-radius: 26px; padding: 36px 34px 30px; margin: 0 16px; }
}

@keyframes hhPcpIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hh-pcp-progress { height: 4px; border-radius: 4px; background: var(--hh-line); overflow: hidden; margin-bottom: 26px; }
.hh-pcp-progress-fill { height: 100%; background: var(--hh-primary); width: 25%; transition: width 280ms ease; border-radius: 4px; }

.hh-pcp-steps { position: relative; min-height: 150px; }
.hh-pcp-step { display: none; text-align: center; animation: hhPcpStepIn 220ms ease; }
.hh-pcp-step.hh-pcp-step-active { display: block; }
@keyframes hhPcpStepIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hh-pcp-emoji { font-size: 2rem; display: block; margin-bottom: 10px; }
.hh-pcp-title { font-weight: 700; font-size: 1.2rem; color: var(--hh-ink); margin-bottom: 6px; }
.hh-pcp-hint { color: var(--hh-muted); font-size: .85rem; margin-bottom: 18px; }
.hh-pcp-step[data-field="name"] .hh-pcp-title,
.hh-pcp-step[data-field="gender"] .hh-pcp-title { margin-bottom: 18px; }

.hh-pcp-input {
    width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--hh-line);
    font-size: 1rem; text-align: center; color: var(--hh-ink); background: #fff;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.hh-pcp-input:focus {
    outline: none; border-color: var(--hh-primary);
    box-shadow: 0 0 0 4px rgba(94, 87, 69, 0.1);
}

.hh-pcp-error { color: var(--hh-error); font-size: .78rem; margin-top: 8px; display: none; }
.hh-pcp-error.hh-pcp-error-show { display: block; }

.hh-pcp-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hh-pcp-pill {
    padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--hh-line);
    background: #fff; color: var(--hh-ink); font-size: .88rem; font-weight: 600;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.hh-pcp-pill:hover { border-color: #d4d0c4; }
.hh-pcp-pill.hh-pcp-pill-selected { background: var(--hh-primary); border-color: var(--hh-primary); color: #fff; }

.hh-pcp-actions { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.hh-pcp-skip {
    background: none; border: none; color: var(--hh-muted); font-size: .88rem; font-weight: 600;
    padding: 12px 6px;
}
.hh-pcp-skip:hover { color: var(--hh-ink); }
.hh-pcp-next {
    flex: 1; padding: 13px 16px; border-radius: 14px; border: none;
    background: var(--hh-primary); color: #fff; font-weight: 600; font-size: .95rem;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 150ms ease, transform 100ms ease;
}
.hh-pcp-next:hover { background: var(--hh-primary-hover); }
.hh-pcp-next:active { transform: scale(.98); }

.hh-pcp-spinner {
    width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5);
    border-top-color: #fff; animation: hhPcpSpin .7s linear infinite;
}
.hh-pcp-hidden { display: none; }
@keyframes hhPcpSpin { to { transform: rotate(360deg); } }
