:root {
            --bg-body: #e5e7eb;
            --bg-main: #fbfbfb;
            --cards-bg: #ffffff;
            --sidebar-bg: #020617;
            --accent: #0ea5e9;
            --accent-soft: #38bdf8;
            --text-main: #185769;
            --text-muted: #000;
            --border: #cfe2ff;
        }
        * { box-sizing:border-box; margin:0; padding:0; }
        body {
			font-family: 'Poppins', sans-serif;            
			background: var(--bg-body);
            color: var(--text-main);
            min-height:100vh;
            display:flex;
        }
        a { color:inherit; text-decoration:none; }
		
		
		.logo{width:50%}
		@media(max-width:900px){
			.logo{width:100%;max-width:520px;margin:25px 0}
			.container{flex-direction:column !important}
		}
		

        /* SIDEBAR */ 
		
		.sidebar-nav {
			list-style: none;
			margin: 0;
			padding: 0;
		}

		.sidebar-item {
			margin-bottom: 4px;
		}

		.sidebar-link {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px 12px;
			border-radius: 999px;
			text-decoration: none;
			color: #444;
			font-size: 13px;
		}

		.sidebar-item.active .sidebar-link {
			background: #1f6feb;
			color: #fff;
			font-weight: 600;
		}

		.sidebar-item.active .icon {
			opacity: 1;
		}

        .sidebar {
            width:260px;
            background:var(--sidebar-bg);
            color:#e5e7eb;
            border-right:1px solid rgba(148,163,184,0.4);
            padding:12px 10px;
            display:flex;
            flex-direction:column;
            gap:16px;
            position:relative;
            z-index:20;
        }
        .sidebar-header {
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:8px;
			flex-direction: column;
        }
        .sidebar-title {
            display:flex;
            align-items:center;
            gap:8px;
            font-weight:600;
            font-size:16px;
        }
		.sidebar-title .logo{width:100%;margin: 30px 0}
        .nav-icon {
            width:28px;
            height:28px;
            border-radius:999px;
            border:1px solid rgba(148,163,184,0.6);
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:13px;
        }
        .burger-btn {
            width:28px;
            height:28px;
            border-radius:8px;
            border:1px solid rgba(148,163,184,0.6);
            display:none;
            align-items:center;
            justify-content:center;
            cursor:pointer;
            font-size:16px;
            background:rgba(15,23,42,0.9);
        }

        .sidebar-nav {
            display:flex;
            flex-direction:column;
            gap:8px;
            margin-top:8px;
        }
        .nav-item {
            padding:8px 10px;
            border-radius:999px;
            display:flex;
            align-items:center;
            gap:8px;
            cursor:pointer;
            font-size:14px;
            color:#9ca3af;
        }
        .nav-item.active,
        .nav-item:hover {
            background:linear-gradient(90deg, rgba(56,189,248,0.2), rgba(56,189,248,0.05));
            color:#f9fafb;
        }
        .nav-label { white-space:nowrap; }

        .sidebar-panel {
            position:fixed;
            top:0;
            left:-240px;
            width:240px;
            height:100%;
            background:#020617;
            border-right:1px solid rgba(148,163,184,0.4);
            padding:12px;
            display:flex;
            flex-direction:column;
            gap:16px;
            transition:left 0.25s ease;
            z-index:30;
        }
        .sidebar-panel.open {
            left:56px;
        }

        .main {
            flex:1;
            padding:16px;
            display:flex;
            flex-direction:column;
            gap:16px;
            background:var(--bg-main);
        }

        .top-bar {
            display:flex;
            justify-content:space-between;
            gap:12px;
            margin-bottom:4px;
        }
        .top-title {
            font-size:40px;
            font-weight:900;
        } 
        .cards-sub {
            font-size:12px;
            color:var(--text-muted);
        }

        .tabs {
            display:inline-flex;
            border-radius:10px;
            padding:3px;
            background:#e5e7eb;
            border:1px solid var(--border);
			margin:0 0 20px 0
        }
        .tab {
            padding:6px 14px;
            border-radius:10px;
            font-size:13px;
            cursor:pointer;
            color:#4b5563;
        }
        .tab.active {
            background:linear-gradient(120deg, var(--accent), var(--accent-soft));
            color:#f9fafb;
            font-weight:700;
        }

        .cards {
            background:var(--cards-bg);
            border-radius:6px;
            border:1px solid var(--border);
            padding:12px 14px;
            margin-bottom:12px;
        }
        .cards-header {
            display:flex;
            justify-content:space-between;
            align-items:center;
            margin-bottom:8px;
			border-bottom:none;
			background-color:#fff;
        }
        .cards-title {
            font-size:20px;
            font-weight:600;
        }

		.cards-number{
			text-align:center;
			font-size: 50px;
			font-weight: 900;
		}
		.cards-number.red{
			color: #b91c1c;
		}
		.cards-number.blue{
			color: #7dc7ef;
		}
		.cards-number.orange{
			color: #f99244;
		}
		.cards-number.parme{
			color: #4f46e5;
		}
		.cards-number.green{
			color: #4edb83;
		}
		.resume .cards-header{
			display:block;
		}

        .pill-badge {
            padding:3px 10px;
            border-radius:999px;
            font-size:11px;
            border:1px solid var(--border);
            color:var(--text-muted);
            background:#f9fafb;
        }

        .upload-toggle {
            font-size:12px;
            cursor:pointer;
            color:var(--accent);
        }
        .upload-row {
            display:flex;
            flex-wrap:wrap;
            gap:8px;
            margin-top:8px;
            font-size:12px;
        }
        .upload-row input[type="file"] {
            font-size:12px;
			padding: 8px;
			border-radius: 5px;
			border: 1px solid var(--border);
			font-size: 12px;
			background: #f9fafb;
			font-family: 'poppins';
        }
        .upload-row select, .upload-row button {
            padding:6px 10px;
            border-radius:5px;
            border:1px solid var(--border);
            background:#f9fafb;
            color:var(--text-main);
            font-size:12px;
        }
        .btn-primary {
            background:linear-gradient(90deg, var(--accent), var(--accent-soft));
            color:#f9fafb;
            border:none;
            cursor:pointer;
            font-weight:600;
            padding:7px 16px;
            border-radius:999px;
        }

        .params-grid {
            display:grid;
            grid-template-columns: 1.6fr 0.8fr 1.8fr;
            gap:6px 12px;
            font-size:12px;
            margin-top:8px;
            align-items:center;
        }
        .param-label { color:var(--text-muted); }
        .param-help  { color:var(--text-muted); }
        .params-input {
            padding:8px;
            border-radius:5px;
            border:1px solid var(--border);
            font-size:12px;
            background:#f9fafb;
			font-family:'poppins'
        }

        .table-wrapper {
            overflow-x:auto;
            margin-top:8px;
        }
        table {
            width:100%;
            border-collapse:collapse;
            font-size:12px;
        }
        thead {
            background:#e5e7eb;
        }
        th, td {
            padding:6px 8px;
            border-bottom:1px solid #e5e7eb;
            white-space:nowrap;
            text-align:left;
        }
        th {
            position:sticky;
            top:0;
            z-index:2;
            color: var(--text-main);
			font-size:14px
        }
        th.sortable a {
            display:inline-flex;
            align-items:center;
            color:inherit;
        }
        th.sortable span {
            margin-left:4px;
            font-size:10px;
            color:var(--text-muted);
        }

        .pill {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            padding:2px 8px;
            border-radius:999px;
            font-size:10px;
            margin:1px;
            border:1px solid #e5e7eb;
        }
        .pill-ctr { background:rgba(245,158,11,0.14); color:#b45309; }
        .pill-pos { background:rgba(56,189,248,0.14); color:#0369a1; }
        .pill-mix { background:rgba(129,140,248,0.14); color:#4f46e5; }
        .pill-potential { background:rgba(34,197,94,0.14); color:#166534; }

        .alert-badge {
            display:inline-flex;
            align-items:center;
            padding:2px 6px;
            border-radius:999px;
            font-size:10px;
        }
        .alert-crit { background:rgba(239,68,68,0.12); color:#b91c1c; }
        .alert-low  { background:rgba(245,158,11,0.12); color:#92400e; }
        .alert-ok   { background:rgba(34,197,94,0.12); color:#166534; }

        .load-more {
            margin-top:8px;
            text-align:center;
        }
        .load-more a {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            padding:6px 16px;
            border-radius:999px;
            border:1px solid #e5e7eb;
            font-size:12px;
            background:#f9fafb;
        }

        .filter-trigger {
            position:relative;
            cursor:pointer;
        }
        .filter-dropdown {
            position:absolute;
            top:100%;
            left:0;
            background:#ffffff;
            border:1px solid #e5e7eb;
            border-radius:5px;
            padding:6px;
            display:none;
            flex-direction:column;
            gap:4px;
            z-index:5;
            min-width:170px;
			box-shadow: 0 2px 15px rgba(15, 23, 42, 0.18);
        }
        .filter-option {
            font-size:11px;
            padding:4px 6px;
            border-radius:8px;
            cursor:pointer;
            display:flex;
            align-items:center;
            gap:6px;
            color:#374151;
        }
        .filter-option.selected {
            background:#dbeafe;
            color:#1d4ed8;
        }
        .filter-option input {
            pointer-events:none;
        }

        .arb-pill {
            display:inline-flex;
            align-items:center;
            padding:2px 8px;
            border-radius:999px;
            font-size:10px;
            border:1px solid #e5e7eb;
            margin-bottom:2px;
        }
        .arb-stop    { background:rgba(239,68,68,0.12); color:#b91c1c; }
        .arb-reduce  { background:rgba(245,158,11,0.14); color:#92400e; }
        .arb-keep    { background:rgba(59,130,246,0.14); color:#1d4ed8; }
        .arb-boost   { background:rgba(34,197,94,0.14); color:#166534; }
        .arb-test    { background:rgba(148,163,184,0.18); color:#374151; }
        .arb-text {
            font-size:10px;
            color:#6b7280;
            max-width:240px;
        }
		
				
		/*BLOCK ANALIYTCS*/ 
		.status-pill {
			display:inline-flex;
			align-items:center;
			justify-content:center;
			padding:5px 7px;
			border-radius:5px;
			font-size:11px;
			gap:4px;
		}

		.status-anom {
			background:rgba(183,5,147,1);
			color:#fff;
		}
		.status-danger {
			background:rgba(248,113,113,0.16);
			color:#991b1b;
		}
		.status-watch {
			background:rgba(251,191,36,0.14);
			color:#92400e;
		}
		.status-good {
			background:rgba(34,197,94,0.14);
			color:#166534;
		}
		.status-ref {
			background:#f9fafb;
			color:#6b7280;
		}
		.small-note {
			font-size:11px;
			color:#6b7280;
			margin-top:4px;
		}
		
		.load-more-wrapper {
		  margin-top: 12px;
		  display: flex;
		  align-items: center;
		  gap: 8px;
		}

		.load-more-btn {
		  padding: 6px 14px;
		  border-radius: 999px;
		  border: none;
		  font-size: 13px;
		  cursor: pointer;
		}

		.load-more-counter {
		  font-size: 12px;
		  opacity: 0.7;
		}	

        @media (max-width:900px) {
            .sidebar {
                position: fixed;
                left: 0;
                top: 0;
                bottom: 0;
                height: 100vh;
                width: 56px;
                padding: 8px 6px;
                align-items: center;
                z-index: 20;
            }
            .sidebar-title span {
                display:none;
            }
            .sidebar-nav .nav-label {
                display:none;
            }
            .sidebar-nav {
                align-items:center;
            }
            .nav-item {
                justify-content:center;
                padding:6px;
            }
            .burger-btn {
                display:flex;
            }
            .main {
                margin-left:56px;
                padding:12px;
            }
            .sidebar-panel {
                display:flex;
                left:-240px;
                top:0;
                bottom:0;
            }
            .sidebar-panel.open {
                left:56px;
            }
        }

        @media (max-width:600px) {
            body {
                overflow-x:hidden;
            }
            .main {
                padding:10px;
            }
            .params-grid {
                grid-template-columns:1fr;
            }
            th, td {
                padding:4px 6px;
            }
            .table-wrapper {
                max-width:100vw;
            }
        }