/* FixandJob · panel de administración (custom, sin EasyAdmin).
   Identidad: coral #FF5A4D, tinta #1a1a2e, papel #f6f7f9, Plus Jakarta + DM Sans. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
html,body { height:100%; }
body { font-family:'DM Sans',system-ui,sans-serif; background:#f6f7f9; color:#1a1a2e; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }

/* ---------- shell ---------- */
.layout { display:flex; min-height:100vh; }
.sidebar { width:218px; background:#16161d; color:#fff; flex-shrink:0; position:fixed; top:0; bottom:0; left:0; overflow-y:auto; z-index:40; padding:18px 0 30px; }
.sidebar .logo { font-family:'Plus Jakarta Sans'; font-weight:800; font-size:18px; padding:0 20px 16px; }
.sidebar .logo .c { color:#FF5A4D; }
.sidebar .logo small { font-size:10px; color:#666; font-weight:600; }
.navsec { font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:#555; padding:13px 20px 6px; }
.nav { display:flex; align-items:center; gap:11px; padding:9px 20px; font-size:13px; font-weight:500; color:#b8b8c0; transition:background .12s,color .12s; }
.nav:hover { color:#fff; background:rgba(255,255,255,.04); }
.nav svg { width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:2; flex-shrink:0; }
.nav.on { background:rgba(255,90,77,.14); color:#fff; border-left:3px solid #FF5A4D; padding-left:17px; }
.nav .badge { margin-left:auto; background:#FF5A4D; color:#fff; font-size:10px; font-weight:700; padding:1px 7px; border-radius:10px; }

.main { flex:1; min-width:0; margin-left:218px; display:flex; flex-direction:column; }
.topbar { background:#fff; border-bottom:1px solid #e8eaed; padding:13px 24px; display:flex; align-items:center; gap:14px; justify-content:space-between; position:sticky; top:0; z-index:20; }
.topbar .crumb { font-size:13px; color:#888; }
.topbar .crumb b { color:#1a1a2e; font-weight:700; font-size:15px; }
.topbar .me { display:flex; align-items:center; gap:9px; font-size:13px; font-weight:600; }
.topbar .me .av { width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#FF5A4D,#FF8A45); object-fit:cover; display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; font-weight:700; }
.topbar .out { font-size:12px; color:#888; border:1px solid #e2e4e8; border-radius:8px; padding:5px 10px; font-weight:600; }
.topbar .out:hover { color:#e5484d; border-color:#f6cfcf; }
.hamb { display:none; background:none; border:none; cursor:pointer; color:#1a1a2e; }
.hamb svg { width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:2; }
.content { padding:22px 24px 50px; }
.scrim { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:35; }

/* ---------- generic ---------- */
.flash { border-radius:11px; padding:12px 15px; font-size:13px; font-weight:600; margin-bottom:16px; display:flex; align-items:center; gap:9px; }
.flash.success { background:#ECFBF3; color:#1d8a5c; border:1px solid #c4ecd6; }
.flash.error { background:#FFF0F0; color:#c93a3e; border:1px solid #f4caca; }
.pagetitle { font-family:'Plus Jakarta Sans'; font-size:20px; font-weight:800; margin-bottom:4px; }
.pagesub { font-size:13px; color:#888; margin-bottom:18px; }
.toolbar { display:flex; gap:8px; align-items:center; margin-bottom:16px; flex-wrap:wrap; }
.search { flex:1; min-width:200px; }
.search input { width:100%; background:#fff; border:1px solid #e2e4e8; border-radius:10px; padding:9px 13px; font-size:13px; font-family:inherit; color:#1a1a2e; }
.search input::placeholder { color:#aaa; }
.chip { font-size:12px; font-weight:600; padding:8px 13px; border-radius:9px; border:1px solid #e2e4e8; color:#666; background:#fff; white-space:nowrap; }
.chip.on { background:#1a1a2e; color:#fff; border-color:#1a1a2e; }

.kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:20px; }
.kpi { background:#fff; border:1px solid #e8eaed; border-radius:13px; padding:15px 16px; }
.kpi .lbl { font-size:11.5px; color:#888; font-weight:600; margin-bottom:7px; display:flex; align-items:center; gap:6px; }
.kpi .lbl svg { width:14px; height:14px; stroke:#FF5A4D; fill:none; stroke-width:2; }
.kpi .val { font-family:'Plus Jakarta Sans'; font-size:25px; font-weight:800; line-height:1; }

.grid2 { display:grid; grid-template-columns:1.6fr 1fr; gap:14px; }
.grid2b { display:grid; grid-template-columns:1.3fr 1fr; gap:14px; }
.detail { display:grid; grid-template-columns:1.3fr 1fr; gap:14px; }
.panel { background:#fff; border:1px solid #e8eaed; border-radius:13px; padding:16px 18px; }
.panel.tight { padding:6px 14px; }
.panel h3 { font-family:'Plus Jakarta Sans'; font-size:14px; font-weight:700; margin-bottom:14px; display:flex; align-items:center; justify-content:space-between; }
.panel h3 .link { font-size:11.5px; color:#FF5A4D; font-weight:600; }

.alert { display:flex; align-items:center; gap:11px; padding:10px; border-radius:10px; margin-bottom:8px; background:#FFF8F7; border:1px solid #FFE0DC; }
.alert .ico { width:32px; height:32px; border-radius:8px; background:#FFE0DC; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#e5484d; font-weight:800; }
.alert .at { font-size:12.5px; font-weight:600; } .alert .as { font-size:11px; color:#999; }
.alert .ago { margin-left:auto; font-size:10.5px; color:#aaa; white-space:nowrap; }
.empty { color:#22a06b; font-size:13px; font-weight:600; padding:10px 2px; }
.empty.muted { color:#999; }

.bars { display:flex; align-items:flex-end; gap:8px; height:140px; padding-top:18px; }
.bar { flex:1; background:linear-gradient(to top,#FF5A4D,#FF8A6E); border-radius:5px 5px 0 0; position:relative; min-height:3px; }
.bar span { position:absolute; bottom:-18px; left:0; right:0; text-align:center; font-size:10px; color:#999; }
.bar b { position:absolute; top:-16px; left:0; right:0; text-align:center; font-size:10px; color:#666; font-weight:700; }

table { width:100%; border-collapse:collapse; font-size:12.5px; }
th { text-align:left; font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:#999; font-weight:700; padding:9px 10px; border-bottom:1px solid #eee; }
td { padding:11px 10px; border-bottom:1px solid #f2f2f4; vertical-align:middle; }
tr:last-child td { border-bottom:none; }
.ucell { display:flex; align-items:center; gap:9px; }
.ucell .av { width:30px; height:30px; border-radius:50%; object-fit:cover; background:linear-gradient(135deg,#FF5A4D,#FF8A45); display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; font-weight:700; flex-shrink:0; }
.ucell .un { font-weight:600; } .ucell .ue { font-size:11px; color:#999; }
.thumb { width:38px; height:38px; border-radius:8px; object-fit:cover; background:#eee; flex-shrink:0; }

.tag { font-size:10.5px; font-weight:700; padding:3px 9px; border-radius:20px; display:inline-block; }
.tag.pro { background:#EEF2FF; color:#3b5bdb; } .tag.client { background:#F0F4F8; color:#667; }
.tag.active,.tag.open { background:#ECFBF3; color:#22a06b; } .tag.banned { background:#FFF0F0; color:#e5484d; }
.tag.pending { background:#FFF8EC; color:#d99100; } .tag.verif { background:#FFF0EE; color:#FF5A4D; }
.tag.progress { background:#EEF2FF; color:#3b5bdb; } .tag.done { background:#F0F4F8; color:#667; } .tag.none { background:#F2F2F4; color:#999; }
.stars { color:#FFB020; font-weight:700; }

.rowact { display:flex; gap:6px; flex-wrap:wrap; }
.ab { font-size:11px; font-weight:600; padding:5px 10px; border-radius:8px; border:1px solid #e2e4e8; color:#555; background:#fff; cursor:pointer; font-family:inherit; }
.ab:hover { border-color:#cfd2d8; }
.ab.danger { color:#e5484d; border-color:#f6cfcf; } .ab.danger:hover { background:#fff5f5; }
.ab.primary { color:#fff; background:#1a1a2e; border-color:#1a1a2e; }
.ab.coral { color:#fff; background:#FF5A4D; border-color:#FF5A4D; }
.ab.ok { color:#22a06b; border-color:#bfe6d2; }
form.inline { display:inline; }

.kv { display:flex; justify-content:space-between; gap:12px; font-size:12.5px; padding:8px 0; border-bottom:1px solid #f2f2f4; }
.kv:last-child { border-bottom:none; }
.kv b { font-weight:600; color:#1a1a2e; } .kv span { color:#777; text-align:right; }
.gallery { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.gallery img { width:90px; height:90px; border-radius:10px; object-fit:cover; background:#eee; }
.prose { font-size:12.5px; color:#555; line-height:1.55; margin-bottom:12px; white-space:pre-line; }

.modgrid { display:grid; grid-template-columns:1fr 1.2fr; gap:14px; }
.reportcard { display:block; border:1px solid #FFE0DC; background:#FFF8F7; border-radius:11px; padding:13px; margin-bottom:10px; }
.reportcard.sel { border-color:#FF5A4D; box-shadow:0 0 0 2px rgba(255,90,77,.15); background:#fff; }
.reportcard .rt { font-size:12.5px; font-weight:700; display:flex; align-items:center; gap:7px; margin-bottom:5px; }
.reportcard .rt .dot { width:8px; height:8px; border-radius:50%; background:#e5484d; }
.reportcard .rr { font-size:11.5px; color:#777; line-height:1.4; } .reportcard .rm { font-size:10.5px; color:#aaa; margin-top:6px; }
.chatview { background:#f5f5f3; border-radius:11px; padding:14px; max-height:330px; overflow-y:auto; display:flex; flex-direction:column; }
.cmsg { max-width:80%; padding:8px 11px; border-radius:13px; font-size:12px; line-height:1.4; margin-bottom:7px; }
.cmsg .who { font-size:10px; color:#999; font-weight:700; margin-bottom:2px; }
.cmsg.them { background:#fff; align-self:flex-start; }
.cmsg.me { background:#FFE7E3; align-self:flex-end; }
.cmsg.offer { background:#fff; border:1.5px solid #FF5A4D; align-self:flex-start; max-width:92%; }
.cmsg.offer .price { font-family:'Plus Jakarta Sans'; font-weight:800; font-size:16px; color:#FF5A4D; }
.cmsg.system { background:transparent; color:#999; font-size:11px; align-self:center; font-style:italic; }
.modactions { display:flex; gap:8px; margin-top:13px; flex-wrap:wrap; } .modactions .ab,.modactions form { flex:1; } .modactions .ab { width:100%; text-align:center; padding:9px; }

.setrow { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; border-bottom:1px solid #f2f2f4; }
.setrow:last-of-type { border-bottom:none; }
.setrow .sk { font-size:13px; font-weight:600; } .setrow .sd { font-size:11.5px; color:#999; margin-top:2px; max-width:380px; }
.input { border:1px solid #e2e4e8; border-radius:9px; padding:8px 11px; font-size:13px; font-family:inherit; color:#1a1a2e; }
.input.num { width:90px; text-align:center; font-weight:700; }
label.fld { display:block; font-size:12px; font-weight:600; color:#555; margin:12px 0 5px; }
.fld + .input, label.fld + select.input { width:100%; }
select.input { width:100%; background:#fff; }

/* ---------- login ---------- */
.loginwrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; background:radial-gradient(1200px 600px at 50% -10%, #23232c, #16161d); }
.loginbox { width:100%; max-width:360px; background:#fff; border-radius:18px; padding:30px 28px; box-shadow:0 24px 60px rgba(0,0,0,.45); }
.loginbox .lg { font-family:'Plus Jakarta Sans'; font-weight:800; font-size:24px; text-align:center; margin-bottom:4px; }
.loginbox .lg .c { color:#FF5A4D; }
.loginbox .sub { text-align:center; font-size:12.5px; color:#999; margin-bottom:22px; }
.loginbox label { display:block; font-size:12px; font-weight:600; color:#555; margin:12px 0 5px; }
.loginbox input { width:100%; border:1px solid #e2e4e8; border-radius:10px; padding:11px 13px; font-size:14px; font-family:inherit; }
.loginbox input:focus { outline:none; border-color:#FF5A4D; box-shadow:0 0 0 3px rgba(255,90,77,.12); }
.loginbox button { width:100%; margin-top:20px; background:#FF5A4D; color:#fff; border:none; border-radius:10px; padding:12px; font-size:14px; font-weight:700; font-family:inherit; cursor:pointer; }
.loginbox button:hover { background:#f04a3d; }
.loginbox .err { background:#FFF0F0; color:#c93a3e; border:1px solid #f4caca; border-radius:9px; padding:10px; font-size:12.5px; font-weight:600; margin-bottom:6px; }

/* ---------- responsive ---------- */
@media (max-width:1000px){ .kpis{grid-template-columns:repeat(2,1fr)} .grid2,.grid2b,.detail,.modgrid{grid-template-columns:1fr} }
@media (max-width:880px){
  .sidebar { transform:translateX(-100%); transition:transform .22s ease; box-shadow:0 0 40px rgba(0,0,0,.5); }
  body.nav-open .sidebar { transform:translateX(0); }
  body.nav-open .scrim { display:block; }
  .main { margin-left:0; }
  .hamb { display:inline-flex; }
  .content { padding:18px 14px 50px; }
  .topbar { padding:12px 14px; }
}
@media (max-width:560px){ .kpis{grid-template-columns:1fr 1fr} .topbar .me span{display:none} }
