/* styles.css */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    /* Other styles for your content */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%; /* Ensure full width */
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
}

.nbarea{
    padding: 2rem 0;
    background-color: #0D3B66;
    color: #0D3B66;
    position: relative;
}

table tr td.percentage-td {
    /* As an example, we're only varying the lightness value in hsl */
    background-color: hsl(210, 100%, calc(100% - var(--percentage) * 0.5));
}


.container {
    flex: 1; /* Take up remaining space */
    padding-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100vw; /* Prevent overflowing content */
}

.container-fluid {
    margin-left: 20px; /* Leave space for sidebar */
    width: calc(100% - 250px); /* Make sure it doesn't overflow */
    overflow-x: hidden;
}

.sidebar {
    width: 250px;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #252525;
    z-index: 1000;
}

.card-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}



.card-text {
    font-size: 1.1em;
}

.badge {
    font-size: 1.1em;
    padding: 6px 10px;
    border: 1px solid #ddd;
}


.key-column {
    width: 30%;
    overflow: hidden; /* hide content that exceeds cell width */
}

.percentage-column {
    width: 70%;
    overflow: hidden; /* hide content that exceeds cell width */
}

.buttogrey {
    margin-right: 50px;
}

.line-chart, .card, .chart-container {
    max-width: 100%; /* Prevent overflowing */
    overflow-x: hidden;
}

/* Hero section */
.ftarea {
    padding: 5px;
    background-color: #121212;
    color: #FF9F00;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Push footer to the bottom */
    position: relative;
}

.navbar-brand{
    margin-left: 5px;
}

.nav-item-hover:hover {
    background-color: #121212;
    color: #fff;
    border-radius: 5px;
}

/* Make sure images and videos are responsive */
img, video {
    max-width: 100%;
    height: auto;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {

    .container-fluid {
        margin-left: 0;
        width: 100%;
    }
}