/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.sidebar-card {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 15px;
}

.card-header h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Metric Cards */
.metric-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-left: 4px solid #ddd;
}

.metric-card-up {
    border-left-color: #28a745;
}

.metric-card-down {
    border-left-color: #dc3545;
}

.metric-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.metric-label {
    font-size: 13px;
    color: #6c757d;
    margin: 5px 0;
}

.metric-change {
    font-size: 14px;
    font-weight: 600;
}

.metric-card-up .metric-change {
    color: #28a745;
}

.metric-card-down .metric-change {
    color: #dc3545;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Progress List */
.progress-item {
    margin-bottom: 10px;
}

.progress-item span:first-child {
    font-weight: 500;
}

.progress-item span:last-child {
    font-weight: 600;
}

/* Alert List */
.alert-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.alert-item-important {
    background-color: #fff8f8;
    margin: -10px;
    padding: 10px;
    border-radius: 5px;
}

.alert-icon {
    font-size: 20px;
    margin-right: 12px;
    color: #6c757d;
}

.alert-item-important .alert-icon {
    color: #dc3545;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    font-weight: 600;
}

.alert-content p {
    margin: 3px 0;
    font-size: 14px;
    color: #6c757d;
}

.alert-content small {
    color: #adb5bd;
    font-size: 12px;
}

/* Table Styles */
.table {
    font-size: 14px;
}

.table th {
    font-weight: 600;
    color: #495057;
    border-top: none;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Tabs */
.nav-tabs .nav-link {
    font-weight: 500;
    color: #6c757d;
    border: none;
    padding: 10px 15px;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
    background: transparent;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 8px;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #fd7e14 !important;
}

.bg-primary {
    background-color: #6c757d !important;
}



footer{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 30px;
    font-weight: 500;
}