

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;

}

.table thead th {
    background-color: var(--primary-color)!important;
    color: white;
    font-weight: 500;
    border: none;
}
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    margin: 0;

    background-color: #f8f9fa;
    padding-top: 150px;
}
.chartWrapperInner{
    width: 100%;
    height: 45vh;
    padding: 1em;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background-color: white;
}
.chart-wrapper{
      width:  100%;
      height: 250px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 1rem;


 }
.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color), #0a4fa0);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header-content {

    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;

    .header-r{

        display: none;
    }
}

#trafficTable{
    margin-bottom: 0;
}
main {
    padding: 2em;
    max-width: 1200px;
    margin: auto;
}
.footer{
    padding: 2em;
    max-width: 1200px;
    margin: auto;
}
h1, h2 ,h3,h4{
    text-align: center;
}
.chart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 3em;
}
canvas {
    background: white;

}
#chartContainer{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
.section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.section-title i ,.section-title span{
    margin-right: 0.5rem;
    color: var(--primary-color);
}
.live-feed-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.live-feed-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 500;
    display: flex
;
    align-items: center;
}
img {
    display: block;
    margin: auto;
    max-width: 100%;
}
td,th{
    text-transform: capitalize;
}
.table-responsive {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background: white;
    margin-bottom: 1.5rem;
}
.live-indicator {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: white;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}
#chartContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
}
#model-stats img{
    width: 50%;
    max-width: 100%;
    height: auto;

}
section{
    padding: 40px 5px;
    border-radius: 10px;
    background: #f1f1f1;
    margin: 50px auto;
}
