:root {
    --brand: #2454ff;
}

body {
    background: #f4f6fb;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.dp-navbar {
    background: #10162b;
}

.dp-navbar .navbar-brand {
    color: #fff;
    font-weight: 700;
}

.dp-navbar .nav-link {
    color: #b7bfe0 !important;
}

.dp-navbar .nav-link.active,
.dp-navbar .nav-link:hover {
    background: #FFF;
    border-radius: 20px;
    color: #000 !important;
}

.navbar-nav .nav-item {    margin: 10px;}
.stat-card {
    border: none;
    border-radius: 14px;
    color: #fff;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.stat-card .stat-num { font-size: 2rem; font-weight: 700; }
.stat-card.bg-videos { background: linear-gradient(135deg,#ff7a59,#ff4d6d); }
.stat-card.bg-pictures { background: linear-gradient(135deg,#2454ff,#7b5cff); }
.stat-card.bg-documents { background: linear-gradient(135deg,#12c2a0,#1f9e78); }

.media-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(20,20,50,0.06);
    overflow: hidden;
    height: 100%;
}

.media-thumb {
   height: 200px;
    background: #eef1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
    overflow: hidden;
    padding: 10px 10px 0px 10px;
}

.media-thumb img {
    width: 100%; 
}

.media-thumb img.icon-img {
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}

.media-thumb .bi {
    font-size: 2.75rem;
    color: #7b86b8;
}

.category-heading {
    font-weight: 700;
    margin: 1.75rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e3e7f5;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#10162b,#000);
}

.login-card {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.media-card .p-2 .text-muted {display:none}

.media-card