body {
font-family: ‘DM Sans’, sans-serif;
background: var(–bg);
color: var(–text);
min-height: 100vh;
overflow-x: hidden;
}

/* ── Background mesh ── */
body::before {
content:»;
position:fixed;
top:0; left:0; right:0; bottom:0;
background:
radial-gradient(ellipse 60% 40% at 20% 10%, rgba(0,212,255,0.06) 0%, transparent 60%),
radial-gradient(ellipse 50% 50% at 80% 80%, rgba(124,58,237,0.06) 0%, transparent 60%),
radial-gradient(ellipse 40% 30% at 50% 50%, rgba(16,185,129,0.04) 0%, transparent 60%);
pointer-events:none;
z-index:0;
}

/* ── Topbar ── */
.topbar {
position: sticky; top:0; z-index:100;
background: rgba(10,14,26,0.92);
backdrop-filter: blur(16px);
border-bottom: 1px solid var(–border);
padding: 0 28px;
display: flex; align-items: center; gap:20px;
height: 64px;
}
.topbar-logo {
font-family:’Syne’,sans-serif;
font-weight:800; font-size:1.2rem;
color: var(–accent);
letter-spacing:-0.5px;
white-space:nowrap;
}
.topbar-logo span { color: var(–text2); font-weight:400; }
.topbar-nav {
display:flex; gap:4px; flex:1;
overflow-x:auto;
}
.nav-btn {
padding: 8px 16px;
border-radius: var(–radius-sm);
border: none;
background: transparent;
color: var(–text2);
font-family:’DM Sans’,sans-serif;
font-size:0.88rem; font-weight:500;
cursor: pointer;
white-space:nowrap;
transition: all .2s;
}
.nav-btn:hover { background: var(–surface2); color: var(–text); }
.nav-btn.active { background: var(–accent); color: #000; font-weight:700; }
.topbar-stats {
display:flex; gap:16px; align-items:center;
font-size:0.8rem; color:var(–text2);
white-space:nowrap;
}
.topbar-stats strong { color: var(–accent); }

/* ── Main layout ── */
.main { position:relative; z-index:1; padding: 24px 28px; }

/* ── Pages ── */
.page { display:none; }
.page.active { display:block; }

/* ── Section heading ── */
.section-head {
display:flex; align-items:center; justify-content:space-between;
margin-bottom: 20px; flex-wrap:wrap; gap:12px;
}
.section-title {
font-family:’Syne’,sans-serif;
font-size:1.5rem; font-weight:800;
background: linear-gradient(135deg, var(–text) 0%, var(–text2) 100%);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── KPI Cards ── */
.kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.kpi-card {
background: var(–surface);
border: 1px solid var(–border);
border-radius: var(–radius);
padding: 20px;
position:relative; overflow:hidden;
transition: transform .2s, box-shadow .2s;
}
.kpi-card:hover { transform:translateY(-2px); box-shadow: var(–shadow); }
.kpi-card::before {
content:»;
position:absolute; top:0; left:0; right:0; height:3px;
background: var(–accent-color, var(–accent));
}
.kpi-label { font-size:0.78rem; color:var(–text2); font-weight:500; text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; }
.kpi-value { font-family:’Syne’,sans-serif; font-size:2rem; font-weight:800; color:var(–text); line-height:1; }
.kpi-sub { font-size:0.78rem; color:var(–text3); margin-top:4px; }
.kpi-icon { position:absolute; right:16px; top:50%; transform:translateY(-50%); font-size:2.5rem; opacity:.12; }

/* ── Toolbar ── */
.toolbar {
display:flex; gap:10px; flex-wrap:wrap; align-items:center;
background: var(–surface); border: 1px solid var(–border);
border-radius: var(–radius); padding:14px 18px; margin-bottom:16px;
}
.toolbar-group { display:flex; gap:8px; align-items:center; }
.toolbar-sep { width:1px; height:28px; background:var(–border); }

input[type=text], input[type=search], select {
background: var(–surface2);
border: 1px solid var(–border);
border-radius: var(–radius-sm);
color: var(–text);
font-family:’DM Sans’,sans-serif;
font-size:0.88rem;
padding: 8px 12px;
outline:none;
transition: border-color .2s;
}
input[type=text]:focus, input[type=search]:focus, select:focus {
border-color: var(–accent);
}
input[type=search] { min-width:240px; }
select { cursor:pointer; }
select option { background: var(–surface2); }

/* ── Buttons ── */
.btn {
display:inline-flex; align-items:center; gap:6px;
padding: 8px 16px;
border-radius: var(–radius-sm);
border: none; cursor:pointer;
font-family:’DM Sans’,sans-serif;
font-size:0.85rem; font-weight:600;
transition: all .15s;
white-space:nowrap;
}
.btn-primary { background: var(–accent); color:#000; }
.btn-primary:hover { filter:brightness(1.1); transform:translateY(-1px); }
.btn-success { background: var(–accent3); color:#000; }
.btn-success:hover { filter:brightness(1.1); }
.btn-warn { background: var(–warn); color:#000; }
.btn-warn:hover { filter:brightness(1.1); }
.btn-danger { background: var(–danger); color:#fff; }
.btn-danger:hover { filter:brightness(1.1); }
.btn-ghost { background: var(–surface2); color:var(–text); border:1px solid var(–border); }
.btn-ghost:hover { background:var(–surface3); border-color:var(–accent); }
.btn-purple { background: var(–accent2); color:#fff; }
.btn-purple:hover { filter:brightness(1.1); }
.btn-sm { padding: 6px 12px; font-size:0.8rem; }
.btn-xs { padding: 4px 8px; font-size:0.75rem; }

/* ── Table ── */
.table-wrap {
background: var(–surface);
border: 1px solid var(–border);
border-radius: var(–radius);
overflow: hidden;
}
.table-scroll { overflow-x:auto; max-height: calc(100vh – 360px); overflow-y:auto; }
table { width:100%; border-collapse:collapse; font-size:0.83rem; }
thead { position:sticky; top:0; z-index:10; }
thead th {
background: var(–surface3);
padding: 11px 14px;
text-align:left;
font-family:’Syne’,sans-serif;
font-weight:700; font-size:0.75rem;
text-transform:uppercase; letter-spacing:.5px;
color: var(–text2);
border-bottom: 1px solid var(–border);
white-space:nowrap;
cursor:pointer;
user-select:none;
}
thead th:hover { color: var(–accent); }
thead th .sort-icon { opacity:.4; margin-left:4px; }
thead th.sorted .sort-icon { opacity:1; color: var(–accent); }
tbody tr {
border-bottom: 1px solid rgba(30,58,95,.4);
transition: background .15s;
}
tbody tr:hover { background: var(–surface2); }
tbody td { padding: 10px 14px; vertical-align:middle; }
tbody tr.selected { background: rgba(0,212,255,.06); }

/* ── Score badges ── */
.score {
display:inline-flex; align-items:center; justify-content:center;
width:26px; height:26px; border-radius:50%;
font-weight:800; font-size:0.8rem;
font-family:’Syne’,sans-serif;
}
.score-A { background:rgba(16,185,129,.2); color:var(–score-a); border:1px solid var(–score-a); }
.score-B { background:rgba(245,158,11,.2); color:var(–score-b); border:1px solid var(–score-b); }
.score-C { background:rgba(239,68,68,.2); color:var(–score-c); border:1px solid var(–score-c); }
.score-D { background:rgba(139,92,246,.2); color:var(–score-d); border:1px solid var(–score-d); }
.score-X { background:rgba(107,114,128,.2); color:var(–score-other); border:1px solid var(–score-other); }

/* ── Status badges ── */
.badge {
display:inline-flex; align-items:center; gap:4px;
padding: 3px 9px; border-radius:20px;
font-size:0.73rem; font-weight:600;
}
.badge-pendiente { background:rgba(100,116,139,.15); color:#94a3b8; }
.badge-llamando { background:rgba(245,158,11,.15); color:#f59e0b; }
.badge-contactado { background:rgba(0,212,255,.15); color:#00d4ff; }
.badge-interesado { background:rgba(16,185,129,.15); color:#10b981; }
.badge-vendido { background:rgba(16,185,129,.25); color:#10b981; border:1px solid #10b981; }
.badge-nogestion { background:rgba(239,68,68,.15); color:#ef4444; }
.badge-nointeresa { background:rgba(239,68,68,.1); color:#f87171; }

/* ── Pagination ── */
.pagination {
display:flex; align-items:center; justify-content:space-between;
padding:12px 18px;
border-top: 1px solid var(–border);
font-size:0.82rem; color:var(–text2);
}
.page-btns { display:flex; gap:6px; }
.page-btn {
padding:5px 10px; border-radius:6px; border:1px solid var(–border);
background:transparent; color:var(–text2); cursor:pointer; font-size:0.8rem;
transition: all .15s;
}
.page-btn:hover { background:var(–surface2); color:var(–text); }
.page-btn.active { background:var(–accent); color:#000; border-color:var(–accent); font-weight:700; }
.page-btn:disabled { opacity:.3; cursor:not-allowed; }

/* ── Modal ── */
.modal-overlay {
position:fixed; inset:0; background:rgba(0,0,0,.7);
backdrop-filter:blur(6px);
z-index:1000; display:none;
align-items:center; justify-content:center;
}
.modal-overlay.open { display:flex; }
.modal {
background: var(–surface);
border: 1px solid var(–border);
border-radius: var(–radius);
padding: 28px;
width:min(600px,95vw);
max-height:90vh; overflow-y:auto;
box-shadow: 0 20px 60px rgba(0,0,0,.6);
animation: modalIn .2s ease;
}
@keyframes modalIn {
from { transform:scale(.95); opacity:0; }
to { transform:scale(1); opacity:1; }
}
.modal-header {
display:flex; justify-content:space-between; align-items:flex-start;
margin-bottom:20px;
}
.modal-title { font-family:’Syne’,sans-serif; font-size:1.2rem; font-weight:800; }
.modal-close {
background:var(–surface2); border:none; color:var(–text2);
width:32px; height:32px; border-radius:8px;
cursor:pointer; font-size:1.1rem; display:flex; align-items:center; justify-content:center;
}
.modal-close:hover { background:var(–danger); color:#fff; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size:0.8rem; color:var(–text2); font-weight:500; }
.form-group input, .form-group select, .form-group textarea {
background:var(–surface2); border:1px solid var(–border);
border-radius:var(–radius-sm); color:var(–text);
font-family:’DM Sans’,sans-serif; font-size:0.88rem;
padding:9px 12px; width:100%; outline:none;
transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
border-color:var(–accent);
}
.form-group textarea { min-height:80px; resize:vertical; }
.modal-footer { display:flex; gap:10px; justify-content:flex-end; margin-top:20px; }

/* ── Drop zone ── */
.drop-zone {
border: 2px dashed var(–border);
border-radius: var(–radius);
padding: 48px 24px;
text-align:center;
cursor:pointer;
transition: all .2s;
background: var(–surface);
}
.drop-zone:hover, .drop-zone.drag { border-color:var(–accent); background:rgba(0,212,255,.04); }
.drop-zone-icon { font-size:3rem; margin-bottom:12px; display:block; }
.drop-zone-title { font-family:’Syne’,sans-serif; font-weight:700; font-size:1.1rem; margin-bottom:6px; }
.drop-zone-sub { color:var(–text2); font-size:0.88rem; }

/* ── Charts ── */
.charts-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:24px; }
.chart-card {
background:var(–surface); border:1px solid var(–border);
border-radius:var(–radius); padding:20px;
}
.chart-title { font-family:’Syne’,sans-serif; font-weight:700; font-size:0.95rem; margin-bottom:16px; color:var(–text2); }
.bar-chart { display:flex; flex-direction:column; gap:8px; }
.bar-row { display:flex; align-items:center; gap:10px; font-size:0.82rem; }
.bar-label { width:100px; color:var(–text2); text-align:right; white-space:nowrap; font-size:0.78rem; }
.bar-track { flex:1; height:20px; background:var(–surface2); border-radius:4px; overflow:hidden; }
.bar-fill { height:100%; border-radius:4px; transition: width .6s ease; display:flex; align-items:center; padding-left:8px; }
.bar-val { font-size:0.75rem; font-weight:700; color:#fff; white-space:nowrap; }
.donut-wrap { display:flex; align-items:center; gap:20px; }
.donut-legend { display:flex; flex-direction:column; gap:8px; }
.legend-item { display:flex; align-items:center; gap:8px; font-size:0.8rem; }
.legend-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }

/* ── Call action ── */
.call-btn {
display:inline-flex; align-items:center; gap:5px;
color: var(–accent3); font-size:0.82rem; font-weight:600;
text-decoration:none; background:transparent; border:none;
cursor:pointer; transition:opacity .15s;
}
.call-btn:hover { opacity:.7; }

/* ── Upload preview ── */
.import-preview {
background:var(–surface2); border:1px solid var(–border);
border-radius:var(–radius); padding:16px; margin-top:16px;
}
.import-preview-title { font-family:’Syne’,sans-serif; font-weight:700; margin-bottom:12px; font-size:0.9rem; }
.import-table-wrap { overflow-x:auto; max-height:240px; overflow-y:auto; }
.import-table { width:100%; font-size:0.78rem; border-collapse:collapse; }
.import-table th { background:var(–surface3); padding:7px 10px; text-align:left; color:var(–text2); font-size:0.72rem; white-space:nowrap; }
.import-table td { padding:6px 10px; border-bottom:1px solid rgba(30,58,95,.4); }

/* ── Toast ── */
.toast {
position:fixed; bottom:24px; right:24px;
background:var(–surface3); border:1px solid var(–border);
border-radius:var(–radius-sm); padding:12px 18px;
display:flex; align-items:center; gap:10px;
font-size:0.88rem; z-index:9999;
transform:translateX(110%); transition:transform .3s ease;
box-shadow:var(–shadow);
}
.toast.show { transform:translateX(0); }
.toast.success { border-left:3px solid var(–accent3); }
.toast.error { border-left:3px solid var(–danger); }
.toast.info { border-left:3px solid var(–accent); }

/* ── Report cards ── */
.report-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.report-card {
background:var(–surface); border:1px solid var(–border);
border-radius:var(–radius); padding:20px;
display:flex; flex-direction:column; gap:12px;
}
.report-card-title { font-family:’Syne’,sans-serif; font-weight:700; font-size:0.95rem; }
.report-card-desc { font-size:0.82rem; color:var(–text2); line-height:1.5; }
.report-card-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }

/* ── Objectives ── */
.obj-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.obj-card {
background:var(–surface); border:1px solid var(–border);
border-radius:var(–radius); padding:20px;
}
.obj-name { font-family:’Syne’,sans-serif; font-weight:700; margin-bottom:4px; }
.obj-meta { font-size:0.8rem; color:var(–text2); margin-bottom:12px; }
.obj-bar { height:8px; background:var(–surface2); border-radius:4px; overflow:hidden; margin-bottom:8px; }
.obj-fill { height:100%; border-radius:4px; background:var(–accent3); transition:width .6s; }
.obj-stats { display:flex; justify-content:space-between; font-size:0.8rem; color:var(–text2); }
.obj-add-btn {
display:flex; align-items:center; justify-content:center; gap:8px;
border:2px dashed var(–border); border-radius:var(–radius);
padding:20px; cursor:pointer; color:var(–text3);
font-size:0.88rem; transition:all .2s; background:transparent;
}
.obj-add-btn:hover { border-color:var(–accent); color:var(–accent); }

/* ── Responsive ── */
@media(max-width:768px) {
.topbar { padding:0 14px; }
.main { padding:16px 14px; }
.charts-grid { grid-template-columns:1fr; }
.form-grid { grid-template-columns:1fr; }
.kpi-grid { grid-template-columns:1fr 1fr; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(–border); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(–text3); }

/* ── Checkbox col ── */
input[type=checkbox] { accent-color:var(–accent); width:15px; height:15px; cursor:pointer; }

.selected-actions {
display:none; align-items:center; gap:10px;
background:rgba(0,212,255,.08); border:1px solid var(–accent);
border-radius:var(–radius-sm); padding:10px 16px; margin-bottom:12px;
font-size:0.88rem;
}
.selected-actions.show { display:flex; }

/* ── Empty state ── */
.empty-state {
text-align:center; padding:60px 20px; color:var(–text3);
}
.empty-state-icon { font-size:3rem; margin-bottom:12px; display:block; }
.empty-state-title { font-family:’Syne’,sans-serif; font-size:1.1rem; font-weight:700; color:var(–text2); margin-bottom:6px; }

/* Loading */
.loading { text-align:center; padding:40px; color:var(–text2); font-size:0.9rem; }

/* ══════════════════════════════════════════
LOGIN SCREEN — BuddyPress / WordPress Auth
══════════════════════════════════════════ */
#login-screen {
position: fixed;
inset: 0;
background: var(–bg);
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
#login-screen::before {
content: »;
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 70% 50% at 15% 20%, rgba(0,212,255,0.10) 0%, transparent 60%),
radial-gradient(ellipse 60% 60% at 85% 80%, rgba(124,58,237,0.10) 0%, transparent 60%),
radial-gradient(ellipse 40% 40% at 50% 50%, rgba(16,185,129,0.05) 0%, transparent 60%);
pointer-events: none;
}
/* Grid decorativo de fondo */
#login-screen::after {
content: »;
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
background-size: 48px 48px;
pointer-events: none;
}

.login-card {
position: relative;
z-index: 1;
background: rgba(17, 24, 39, 0.92);
border: 1px solid rgba(0,212,255,0.18);
border-radius: 20px;
padding: 48px 44px 40px;
width: min(440px, 94vw);
box-shadow:
0 0 0 1px rgba(0,212,255,0.06),
0 24px 80px rgba(0,0,0,0.6),
0 0 60px rgba(0,212,255,0.04);
animation: loginCardIn 0.5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes loginCardIn {
from { opacity: 0; transform: translateY(28px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-brand {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 32px;
}
.login-brand-icon {
width: 46px; height: 46px;
background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(124,58,237,0.2));
border: 1px solid rgba(0,212,255,0.3);
border-radius: 12px;
display: flex; align-items: center; justify-content: center;
font-size: 1.4rem;
}
.login-brand-text {
display: flex; flex-direction: column;
}
.login-brand-name {
font-family: ‘Syne’, sans-serif;
font-size: 1.25rem; font-weight: 800;
color: var(–accent);
letter-spacing: -0.5px;
line-height: 1.1;
}
.login-brand-sub {
font-size: 0.75rem;
color: var(–text3);
font-weight: 400;
}

.login-title {
font-family: ‘Syne’, sans-serif;
font-size: 1.5rem; font-weight: 800;
color: var(–text);
margin-bottom: 4px;
}
.login-subtitle {
font-size: 0.85rem;
color: var(–text2);
margin-bottom: 28px;
line-height: 1.5;
}
.login-subtitle a {
color: var(–accent);
text-decoration: none;
font-weight: 600;
}
.login-subtitle a:hover { text-decoration: underline; }

.login-field {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 16px;
}
.login-label {
font-size: 0.78rem;
font-weight: 600;
color: var(–text2);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.login-input-wrap {
position: relative;
}
.login-input-wrap .input-icon {
position: absolute;
left: 13px; top: 50%;
transform: translateY(-50%);
font-size: 1rem;
pointer-events: none;
color: var(–text3);
}
.login-input {
width: 100%;
background: var(–surface2);
border: 1px solid var(–border);
border-radius: 10px;
color: var(–text);
font-family: ‘DM Sans’, sans-serif;
font-size: 0.92rem;
padding: 11px 14px 11px 40px;
outline: none;
transition: border-color .2s, box-shadow .2s;
}
.login-input:focus {
border-color: var(–accent);
box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.login-input::placeholder { color: var(–text3); }

.login-toggle-pw {
position: absolute;
right: 13px; top: 50%;
transform: translateY(-50%);
background: none; border: none;
color: var(–text3); cursor: pointer;
font-size: 1rem;
padding: 2px;
transition: color .2s;
}
.login-toggle-pw:hover { color: var(–accent); }

.login-remember {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.83rem;
color: var(–text2);
margin-bottom: 22px;
cursor: pointer;
}
.login-remember input[type=checkbox] { accent-color: var(–accent); width:14px; height:14px; }

.login-btn {
width: 100%;
padding: 13px;
background: linear-gradient(135deg, var(–accent), rgba(0,180,220,0.9));
border: none;
border-radius: 10px;
color: #000;
font-family: ‘Syne’, sans-serif;
font-size: 0.95rem;
font-weight: 800;
cursor: pointer;
letter-spacing: 0.3px;
transition: all .2s;
position: relative;
overflow: hidden;
}
.login-btn:hover:not(:disabled) {
filter: brightness(1.08);
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(0,212,255,0.3);
}
.login-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.login-btn-inner {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.login-spinner {
width: 16px; height: 16px;
border: 2px solid rgba(0,0,0,0.3);
border-top-color: #000;
border-radius: 50%;
animation: spin .6s linear infinite;
display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.login-error {
background: rgba(239,68,68,0.1);
border: 1px solid rgba(239,68,68,0.3);
border-radius: 8px;
padding: 10px 14px;
font-size: 0.82rem;
color: #fca5a5;
margin-bottom: 16px;
display: none;
animation: shake .3s ease;
}
@keyframes shake {
0%,100%{transform:translateX(0)}
20%{transform:translateX(-6px)}
60%{transform:translateX(6px)}
}

.login-divider {
display: flex;
align-items: center;
gap: 12px;
margin: 22px 0;
color: var(–text3);
font-size: 0.78rem;
}
.login-divider::before, .login-divider::after {
content: »;
flex: 1;
height: 1px;
background: var(–border);
}

.login-wp-btn {
width: 100%;
padding: 11px;
background: var(–surface2);
border: 1px solid var(–border);
border-radius: 10px;
color: var(–text);
font-family: ‘DM Sans’, sans-serif;
font-size: 0.88rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all .2s;
text-decoration: none;
}
.login-wp-btn:hover {
background: var(–surface3);
border-color: var(–accent);
color: var(–accent);
}

.login-footer {
margin-top: 24px;
text-align: center;
font-size: 0.75rem;
color: var(–text3);
line-height: 1.7;
}
.login-footer a {
color: var(–text2);
text-decoration: none;
}
.login-footer a:hover { color: var(–accent); }

/* User badge en topbar */
.user-badge {
display: flex;
align-items: center;
gap: 8px;
background: var(–surface2);
border: 1px solid var(–border);
border-radius: 8px;
padding: 5px 12px 5px 6px;
cursor: pointer;
transition: all .2s;
position: relative;
}
.user-badge:hover { border-color: var(–accent); }
.user-avatar {
width: 28px; height: 28px;
border-radius: 50%;
object-fit: cover;
border: 1px solid var(–border);
background: var(–surface3);
display: flex; align-items: center; justify-content: center;
font-size: 0.7rem; font-weight: 700; color: var(–accent);
overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name {
font-size: 0.8rem;
font-weight: 600;
color: var(–text);
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.user-role {
font-size: 0.65rem;
color: var(–text3);
}

/* Dropdown logout */
.user-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
background: var(–surface);
border: 1px solid var(–border);
border-radius: 10px;
padding: 6px;
min-width: 170px;
box-shadow: 0 12px 32px rgba(0,0,0,0.5);
display: none;
z-index: 200;
}
.user-dropdown.open { display: block; }
.user-dropdown-item {
display: flex;
align-items: center;
gap: 8px;
padding: 9px 12px;
border-radius: 7px;
font-size: 0.83rem;
color: var(–text2);
cursor: pointer;
transition: all .15s;
border: none;
background: none;
width: 100%;
text-align: left;
text-decoration: none;
}
.user-dropdown-item:hover { background: var(–surface2); color: var(–text); }
.user-dropdown-item.danger:hover { background: rgba(239,68,68,0.1); color: var(–danger); }

/* Storage indicator */
.storage-badge {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 0.7rem;
color: var(–text3);
background: var(–surface2);
border: 1px solid var(–border);
border-radius: 6px;
padding: 3px 8px;
}
.storage-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(–accent3);
animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
0%,100% { opacity: 1; }
50% { opacity: 0.3; }
}



Total: 0
Vendidos: 0
Hoy: 0

WP Sync

Dashboard General

Distribución por Score
Estado de Gestión
Top 5 Asesores por Clientes
Monto Total por Score (S/.)

Base de Clientes






0 seleccionados


Nombre Completo DNI Celular Score Tipo / Estado Crédito Monto S/. Asesor Gestión Notas Acciones
⏳ Cargando datos…

Gestión de Llamadas




Cliente DNI Celular Score Monto Estado Gestión Último Contacto Observación Acción

🎯 Objetivos & Metas

📈 Reportes
📋 Reporte Completo de Clientes
Exporta toda la base de clientes con nombre, DNI, celular, score, estado de gestión y observaciones.


📞 Reporte de Gestión
Clientes con estado de llamada, fecha de contacto, observaciones y resultados de gestión.


🏆 Reporte de Ventas / Logros
Solo clientes marcados como Vendido e Interesado con monto y asesor.


📊 Reporte por Score A
Lista priorizada de clientes Score A — máxima probabilidad de venta. Ideal para gestión diaria.

📊 Reporte por Score B
Clientes Score B — buen potencial, segunda prioridad de llamadas del día.

🎯 Reporte por Asesor
Performance individual de cada asesor: clientes asignados, llamadas realizadas y ventas logradas.


📅 Reporte Diario de Hoy
Actividad del día: clientes contactados, ventas cerradas y pendientes por gestionar.


❌ Reporte No Contactados
Clientes en estado Pendiente o No Gestión — requieren seguimiento urgente.

⬆️ Importar Clientes
📂

Arrastra tu hoja Excel aquí
o haz clic para seleccionar
Formatos: .xlsx · .xls · .csv

📌 Formato esperado de columnas
Columna Nombre exacto (flexible)
A NOMBRE / Cliente / PRIMERNOMBRE
B DNI / NUMDOCUMENTO / Núm.Doc
C CELULAR / TELEFON / Fonos
D SCORE / Score_B / Calificación
E TIPO / Tipo cancelacion (opcional)
F MONTO / Monto Desembolsado (opcional)
G ASESOR / Analista (opcional)

💡 El sistema detecta automáticamente las columnas por su nombre.

📜 Historial de Importaciones
Sin importaciones aún.