div#charts {
    display: flex;
    flex-wrap: wrap;
}

div.pie {
    width: 30.3333%;
}

div.bar {
    width: 100%;
}

.selector-for-some-widget {
    box-sizing: content-box;
}

.validation-error {
    font-size: 14px;
    color: rgb(255, 37, 37);
    display: block;
    padding: 0.25rem;
}

.validation-error::before {
    content: '*';
    padding-right: 0.5rem;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    color: #ffffff;
    /* padding-top: 20px; */
    z-index: 999;
}

.sidebar-heading {
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-link {
    color: #ffffff;
}

/* Main content */
.content {
    margin-left: 250px;
    padding: 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header h2 {
    margin-bottom: 0;
}

/* Cards */
.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: bold;
}

/* Charts */
.chart-container {
    position: relative;
    height: 270px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.statistics-card {
    max-height: 350px;
    overflow: auto;
}

.filters {
    display: flex;
}

.filters div {
    margin-right: 0.5rem;
}

.search-input {
    max-width: 250px;
}

svg {
    display: none;
}

.waiting {
    color: white !important;
    background: #0d6efd !important;
}

.meeting {
    color: white !important;
    background: #ffc107 !important;
}

.accepted {
    color: white !important;
    background: #dc3545 !important;
}

.achieved {
    color: white !important;
    background: #76b83f !important;
}

.filters div label {
    font-size: 15px;
}

.filters div {
    margin-bottom: 0.5rem;
}

.operation-margin button {
    margin-right: 0.5rem;
}

@media screen and (max-width: 960px) {
    .full-page {
        height: auto;
        display: block;
        padding: 1rem;
    }

    .sidebar-responsive {
        display: none;
    }

    .content {
        margin-left: unset;
    }

    .filters {
        display: block;
    }

    .filters div {
        margin-right: 0rem;
    }

    .search-input {
        max-width: unset;
    }

    div.pie {
        width: 100%;
    }
}

/* Primary custom */
body {
    --bs-primary-rgb: 4,55,121;
}

.btn-primary {
    --bs-btn-bg: #043779;
    --bs-btn-border-color: #043779;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #032e66;          /* slightly darker */
    --bs-btn-hover-border-color: #032a5e;

    --bs-btn-focus-shadow-rgb: 4, 55, 121; /* based on #043779 */

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #022553;         /* more pressed/darker */
    --bs-btn-active-border-color: #02214a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #043779;
    --bs-btn-disabled-border-color: #043779;
}
