/* Cirane Agents — Painel do cliente (Fase 1) */
:root {
    --bg: #0d0d17;
    --panel: #14141f;
    --panel2: #191926;
    --border: #2b2b42;
    --text: #e8e8f2;
    --muted: #8b8ba8;
    --dim: #62628a;
    --accent: #6c8cff;
    --accent2: #a78bfa;
    --green: #22c55e;
    --red: #ef4444;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg); color: var(--text); min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }

/* layout */
.topo {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 22px; background: var(--panel); border-bottom: 1px solid var(--border);
}
.topo .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.topo .logo .marca { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topo .user { margin-left: auto; color: var(--muted); font-size: 13px; }

.container { max-width: 1000px; margin: 0 auto; padding: 28px 22px; }

/* cartões */
.card {
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
    padding: 26px 30px; max-width: 560px; margin: 0 auto;
}
.card h1 { font-size: 22px; margin-bottom: 6px; }
.card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }

/* formularios */
label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], select {
    width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border);
    background: var(--bg); color: var(--text); font-size: 14px; outline: none;
    transition: border-color .2s; margin-bottom: 16px; font-family: inherit;
}
input:focus, select:focus { border-color: var(--accent); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 9px; border: none; cursor: pointer;
    font-size: 14px; font-weight: 600; font-family: inherit;
    background: linear-gradient(135deg, #4a63d8, var(--accent)); color: #fff;
    transition: transform .1s, opacity .2s; width: 100%;
}
.btn:hover { opacity: .92; }
.btn:active { transform: scale(.98); }
.btn.secondary { background: var(--panel2); border: 1px solid var(--border); color: var(--text); width: auto; }
.erro {
    background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5;
    padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px;
}
.msg {
    background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #86efac;
    padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px;
}

/* wizard */
.wizard-progress { display: flex; gap: 8px; margin-bottom: 24px; }
.wizard-progress .passo {
    flex: 1; height: 5px; border-radius: 4px; background: var(--panel2);
    border: 1px solid var(--border);
}
.wizard-progress .passo.ativo { background: var(--accent); border-color: var(--accent); }
.wizard-progress .passo.feito { background: var(--green); border-color: var(--green); }
.personalidade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pers-opcao {
    border: 1px solid var(--border); border-radius: 10px; padding: 14px 10px; text-align: center;
    cursor: pointer; transition: border-color .2s, background .2s; font-size: 13px;
}
.pers-opcao:hover { border-color: var(--accent); }
.pers-opcao.selecionada { border-color: var(--accent); background: rgba(108,140,255,.1); }
.pers-opcao .emoji { font-size: 24px; display: block; margin-bottom: 6px; }
.avatar-preview { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); margin-bottom: 14px; display: none; }

@media (max-width: 600px) {
    .personalidade { grid-template-columns: 1fr; }
}