*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI,Roboto,Arial,sans-serif;
}

body{
    background:#111827;
    color:#f3f4f6;
    height:100vh;
    overflow:hidden;
}

.app-shell{
    display:flex;
    height:100vh;
}

.sidebar{
    width:260px;
    background:#1f2937;
    border-right:1px solid #374151;
    display:flex;
    flex-direction:column;
}

.brand{
    padding:25px;
    display:flex;
    align-items:center;
    gap:15px;
    border-bottom:1px solid #374151;
}

.brand-mark{
    width:46px;
    height:46px;
    border-radius:10px;
    background:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:bold;
}

.brand-title{
    font-size:20px;
    font-weight:700;
}

.brand-subtitle{
    color:#9ca3af;
    font-size:13px;
}

.nav{
    display:flex;
    flex-direction:column;
    padding:15px;
}

.nav-item{
    border:none;
    background:none;
    color:#d1d5db;
    text-align:left;
    padding:14px 16px;
    border-radius:10px;
    cursor:pointer;
    margin-bottom:5px;
    transition:.2s;
    font-size:15px;
}

.nav-item:hover{
    background:#374151;
}

.nav-item.active{
    background:#2563eb;
    color:white;
}

.main{
    flex:1;
    display:flex;
    flex-direction:column;
}

.topbar{
    height:72px;
    border-bottom:1px solid #374151;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
    background:#111827;
}

.search-wrap{
    width:600px;
    position:relative;
}

.search-wrap input{
    width:100%;
    padding:13px 18px;
    border-radius:10px;
    border:none;
    background:#1f2937;
    color:white;
    font-size:15px;
}

.search-wrap input:focus{
    outline:none;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#22c55e;
}

.view{
    flex:1;
    overflow:auto;
    padding:30px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
    gap:20px;
}

.card{
    background:#1f2937;
    border-radius:14px;
    padding:24px;
}

.card-title{
    color:#9ca3af;
    font-size:14px;
}

.card-value{
    margin-top:12px;
    font-size:34px;
    font-weight:700;
}

.section{
    margin-top:35px;
}

.section h2{
    margin-bottom:20px;
}

.activity{
    background:#1f2937;
    padding:16px;
    border-radius:10px;
    margin-bottom:10px;
}
.page-subtitle{
    color:#9ca3af;
    margin-top:6px;
    margin-bottom:25px;
}

.module-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

.module-card{
    background:#1f2937;
    border:1px solid #374151;
    border-radius:14px;
    padding:22px;
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.module-card h3{
    margin-bottom:8px;
}

.module-card p{
    color:#9ca3af;
    font-size:14px;
}

.module-icon{
    width:38px;
    height:38px;
    border-radius:10px;
    background:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}
.page-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:24px;
}

.primary-btn{
    background:#2563eb;
    color:white;
    border:none;
    border-radius:10px;
    padding:12px 18px;
    cursor:pointer;
    font-weight:600;
}

.table-card{
    background:#1f2937;
    border:1px solid #374151;
    border-radius:14px;
    padding:18px;
}

.table-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
}

.table-search{
    width:360px;
    background:#111827;
    color:white;
    border:1px solid #374151;
    border-radius:10px;
    padding:11px 14px;
}

.data-table{
    width:100%;
    border-collapse:collapse;
}

.data-table th{
    text-align:left;
    color:#9ca3af;
    font-size:13px;
    padding:12px;
    border-bottom:1px solid #374151;
}

.data-table td{
    padding:14px 12px;
    border-bottom:1px solid #374151;
}

.data-table tr{
    cursor:pointer;
}

.data-table tr:hover{
    background:#374151;
}

.muted{
    color:#9ca3af;
    font-size:13px;
}

.status-pill{
    background:#064e3b;
    color:#a7f3d0;
    padding:5px 9px;
    border-radius:999px;
    font-size:12px;
}

.side-panel{
    position:fixed;
    right:0;
    top:0;
    width:460px;
    height:100vh;
    background:#111827;
    border-left:1px solid #374151;
    box-shadow:-20px 0 40px rgba(0,0,0,.35);
    padding:24px;
    overflow:auto;
    z-index:20;
}

.hidden{
    display:none;
}

.panel-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    border-bottom:1px solid #374151;
    padding-bottom:20px;
    margin-bottom:22px;
}

.panel-header p{
    color:#9ca3af;
    margin-top:5px;
}

.icon-btn{
    background:#1f2937;
    color:white;
    border:1px solid #374151;
    border-radius:10px;
    width:38px;
    height:38px;
    cursor:pointer;
    font-size:22px;
}

.panel-section{
    margin-bottom:26px;
}

.panel-section h3{
    margin-bottom:12px;
}

.info-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:10px 0;
    border-bottom:1px solid #1f2937;
}

.info-row span{
    color:#9ca3af;
}

.info-row strong{
    text-align:right;
}

.mini-card{
    background:#1f2937;
    border:1px solid #374151;
    border-radius:10px;
    padding:12px;
    margin-bottom:10px;
}

.error-box{
    background:#7f1d1d;
    color:#fecaca;
    padding:16px;
    border-radius:10px;
}
.search-results{

    position:absolute;

    top:55px;

    left:0;

    width:100%;

    background:#1f2937;

    border:1px solid #374151;

    border-radius:10px;

    overflow:hidden;

    z-index:100;

}

.search-results h4{

    padding:12px;

    color:#60a5fa;

    border-bottom:1px solid #374151;

}

.search-item{

    padding:12px 15px;

    cursor:pointer;

}

.search-item:hover{

    background:#374151;

}
