:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --brand:#f43f5e;
  --brand2:#8b5cf6;
  --line:#e2e8f0;
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --radius:28px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Arial, sans-serif;background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);color:var(--text)}
.app{min-height:100vh}

.badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 22px rgba(15,23,42,.05);font-size:14px;font-weight:700;color:#334155}
.badge-dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand2))}
h1{font-size:48px;line-height:1.03;letter-spacing:-.05em;margin:18px 0 16px}

.lead{font-size:18px;line-height:1.8;color:var(--muted);max-width:62ch;margin:0 0 26px}

.field{margin-bottom:14px}
label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
input{width:100%;height:52px;border:1px solid var(--line);border-radius:18px;padding:0 16px;font:inherit;outline:none;background:#fff}
input:focus{border-color:#c4b5fd;box-shadow:0 0 0 4px rgba(139,92,246,.10)}
.btn{width:100%;height:52px;border:0;border-radius:18px;color:#fff;font-weight:800;font-size:15px;cursor:pointer;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 14px 30px rgba(244,63,94,.22)}
.note{margin-top:14px;padding:14px 16px;border-radius:18px;background:#f8fafc;border:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.6}


.shell{width:95%;max-width:1800px;margin:0 auto;display:grid;grid-template-rows:auto 1fr;gap:3px}
.top-actions{display:flex;gap:10px;flex-wrap:wrap}
.ghost{height:44px;padding:0 16px;border:1px solid var(--line);background:#fff;border-radius:14px;font-weight:700;cursor:pointer}
.ghost.primary{border-color:#fecdd3;background:#fff5f7;color:#be123c}

.map-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:24px;pointer-events:none;z-index:1}
.placeholder-box{max-width:460px;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:28px;padding:22px;box-shadow:0 16px 36px rgba(15,23,42,.12)}
.placeholder-box strong{display:block;font-size:22px;margin-bottom:8px}
.placeholder-box p{margin:0;color:var(--muted);line-height:1.7}

.floating-info{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;gap:12px;z-index:5;pointer-events:none}
.chip{pointer-events:auto;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:18px;padding:12px 14px;box-shadow:0 10px 24px rgba(15,23,42,.08);font-size:13px}
.chip b{display:block;font-size:14px;margin-bottom:3px}

.fab{pointer-events:auto;width:64px;height:64px;border:0;border-radius:14px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.16);display:grid;place-items:center;cursor:pointer;font-size:18px}
.fab.toggle{
    width:auto;
    padding:12px 20px;
    border-radius:16px;
    font-weight:700;
    transition:.25s;
}

.fab.toggle.active{
    background:#10b981;
    color:white;
}

.fab.toggle:not(.active){
    background:white;
    color:#475569;
    border:1px solid #d1d5db;
}
.bottom-pill{position:absolute;left:18px;bottom:18px;z-index:5;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:18px;padding:12px 14px;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px}
.panel h4{margin:0 0 10px;font-size:18px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stat{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px}
.stat small{display:block;color:var(--muted);margin-bottom:6px}
.stat strong{font-size:16px}
.status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800;font-size:13px}
.dot{width:10px;height:10px;border-radius:999px;background:#10b981;box-shadow:0 0 0 6px rgba(16,185,129,.12)}
.status-offline{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#fef2f2;color:#dc2626;font-weight:800;font-size:13px;}
.dot-offline{width:10px;height:10px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 6px rgba(239,68,68,.15);}

.field-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    font-size:16px;
    color:#64748b;
    pointer-events:none;
    z-index:2;
}

.input-icon-wrap{
    position:relative;
}

.input-icon-wrap input{
    width:100%;
    height:48px;
    padding:0 14px 0 42px;
    border:1px solid #d1d5db;
    border-radius:14px;
    background:#fff;
    color:#111827;
    font-size:14px;
    outline:none;
    transition:0.2s ease;
    box-sizing:border-box;
}

.input-icon-wrap input:focus {
    border-color: #8b5cf6;
}

.hidden{
    display:none !important;
}

.site-title
{
    margin:0;

    font-size:56px;

    font-weight:800;

    color:#0f172a;

    line-height:1.1;
}

.logged-user
{
    margin-top:12px;

    display:flex;

    align-items:center;

    gap:10px;

    font-size:20px;

    font-weight:600;

    color:#334155;
}

.user-icon
{
    font-size:18px;
}

.user-name
{
    font-size:18px;
    font-weight:700;
}

.user-status
{
    color:#10b981;
    font-size:15px;
    margin-top:3px;
}

.system-monitor{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.panel-title{
    display:flex;
    align-items:center;
    gap:12px;
}

.panel-title svg{
    color:#ef4444;
}

.lucide {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}