/* Sign-up conversation: one question at a time. Shares the dark auth backdrop from login.css. */
.su-wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 8px; }
.su-card { background: #fff; border-radius: 14px; box-shadow: 0 1rem 3rem rgba(0,0,0,.28); overflow: hidden; }
.su-progress { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #e2e8f0; font-size: 12px; color: #64748b; }
.su-track { flex: 1; height: 6px; border-radius: 3px; background: #e2e8f0; overflow: hidden; }
.su-bar { height: 100%; width: 0; background: #5b3df5; transition: width .35s ease; }
.su-chat { padding: 20px; min-height: 260px; max-height: 52vh; overflow-y: auto; scroll-behavior: smooth; }
.su-msg { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-end; animation: su-in .25s ease; }
.su-msg.me { justify-content: flex-end; }
.su-avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #0f172a; display: flex; align-items: center; justify-content: center; }
.su-avatar i { color: #fff; font-size: 16px; }
.su-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; font-size: 15px; word-wrap: break-word; }
.su-msg.bot .su-bubble { background: #f1f5f9; color: #0f172a; border-bottom-left-radius: 4px; }
.su-msg.me .su-bubble { background: #5b3df5; color: #fff; border-bottom-right-radius: 4px; }
.su-msg.err .su-bubble { background: #fee2e2; color: #991b1b; }
.su-typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #94a3b8; animation: su-dot 1s infinite ease-in-out; }
.su-typing span:nth-child(2) { animation-delay: .15s; } .su-typing span:nth-child(3) { animation-delay: .3s; }
.su-input { padding: 14px 20px 18px; border-top: 1px solid #e2e8f0; background: #fafbfd; min-height: 84px; }
.su-input .form-control, .su-input .form-select { border: 2px solid #5b3df5; }
.su-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.su-choices .btn { border-radius: 20px; }
.su-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.su-plan { text-align: left; background: #fff; border: 2px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.su-plan:hover, .su-plan:focus-visible { border-color: #5b3df5; box-shadow: 0 4px 14px rgba(91,61,245,.18); outline: none; }
.su-plan .p { font-size: 22px; font-weight: 700; color: #0f172a; } .su-plan small { color: #64748b; }
.su-plan ul { margin: 8px 0 0; padding-left: 16px; font-size: 12px; color: #475569; }
.su-review { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.su-review table { width: 100%; font-size: 13px; }
.su-review td { padding: 6px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.su-review td:first-child { color: #64748b; width: 38%; }
.su-review a { font-size: 12px; }
.su-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 20px 14px; font-size: 13px; background: #fafbfd; }
.su-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
@keyframes su-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes su-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .su-msg, .su-typing span { animation: none; } .su-chat { scroll-behavior: auto; } }
@media (max-width: 575px) { .su-chat { max-height: 46vh; padding: 14px; } .su-input { padding: 12px 14px 16px; } .su-bubble { max-width: 88%; } }
