
body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background-color: #f8fafc;
    color: #1e293b;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgb(22, 23, 23), var(--bs-bg-opacity) !important;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgba(22, 23, 23) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #E92325;
    --bs-btn-border-color: #E92325;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #E92325;
    --bs-btn-hover-border-color: #E92325;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #E92325;
    --bs-btn-active-border-color: #E92325;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #E92325;
    --bs-btn-disabled-border-color: #E92325;
}

.text-dark {
    color: rgba(rgba(22, 23, 23)) !important;
}

body{
background:#f4f6f9;
font-family:Segoe UI;
}

/* SIDEBAR */

.sidebar{
width:250px;
height:100vh;
position:fixed;
background:linear-gradient(180deg,#1e3c72,#2a5298);
color:white;
padding-top:20px;
}

.sidebar .logo{
text-align:center;
margin-bottom:30px;
}

.sidebar ul{
list-style:none;
padding:0;
}

.sidebar ul li a{
display:block;
padding:12px 20px;
color:white;
text-decoration:none;
}

.sidebar ul li a:hover{
background:rgba(255,255,255,0.1);
}

.sidebar ul li a.active{
background:#E92325;
}

.submenu{
padding-left:40px !important;
font-size:14px;
}

/* NAVBAR */

.top-navbar{
margin-left:250px;
background:white;
padding:15px;
border-bottom:1px solid #ddd;
}

/* CONTENT */

.content{
margin-left:250px;
padding:30px;
}

/* DASHBOARD CARD */

.dashboard-card{
padding:20px;
border:none;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
text-align:center;
}

.content-wrapper{
margin-left:260px;
padding:30px;
}


.stat-card {
    background: #fff;
    border: 1px solid #7f8185;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
    padding: 30px 26px;
    display: flex;
    align-items: center;
    gap: 22px;
    transition: transform .15s, box-shadow .15s;
    height: 100%;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.11);
    border-color: #cbd5e1;
}
.stat-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.stat-val {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #212529;
}
.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
    line-height: 1.4;
}
.section-title {
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #adb5bd;
    margin: 36px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}
.panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
}
.panel-head {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.panel-head h6 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #212529;
}
.panel-head a {
    font-size: 13px;
    color: #E92325;
    text-decoration: none;
    font-weight: 500;
}
.panel-head a:hover { text-decoration: underline; }
.app-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-bottom: 1px solid #f8f9fa;
    transition: background .1s;
}
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: #f8f9fa; }
.app-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.app-name { font-size: 14px; font-weight: 600; color: #212529; }
.app-meta { font-size: 12.5px; color: #6c757d; margin-top: 2px; }
.prog-track {
    height: 9px;
    background: #f0f0f0;
    border-radius: 99px;
    overflow: hidden;
    flex: 1;
}
.prog-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(.16,1,.3,1);
}
.funnel-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
}
.funnel-label { font-size: 13.5px; color: #495057; min-width: 110px; font-weight: 500; }
.funnel-count  { font-size: 14px; font-weight: 700; color: #212529; min-width: 28px; text-align: right; }



.badge {

    --bs-badge-font-size: 0.85em;
    --bs-badge-font-weight: 600;
}