:root {
    /* Colors */
    --primary-color: #1488C8;
    --bs-gutter-y : 24px
}
.g-3, .gy-3 {
    --bs-gutter-X: 24px;
}

.g-3, .gx-3 {
    --bs-gutter-x: 24px;
}
@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('fonts/WixMadeforDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('fonts/WixMadeforDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('fonts/WixMadeforDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('fonts/WixMadeforDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('fonts/WixMadeforDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}


/* Example usage */
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background: #F2F4F5;
}
small {
    letter-spacing: 0.5px;
}

h1 {
    font-weight: 800; /* ExtraBold */
}

h2 {
    font-weight: 600; /* Bold */
}
h5 {
    font-weight: 600; /* Bold */
}

p {
    font-weight: 400; /* Regular */
}

.text-small {
    font-size: 14px;
}
.font-weight-normal {
    font-weight: 400;
}
div#users_stats_container .card {
    transition: 0.3s all ease-in-out;
}
div#users_stats_container a.card:hover {
    transform: translateY(-10px);
}
div.dt-container div.dt-length select {
    width: 75px !Important;
}
.form-control,
.form-select {
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    outline: unset;
    box-shadow: unset !important;
    padding: 10px 15px;
}
.form-control:focus {
    border-color: #000000;
}
.app-container {
    min-height: 100vh;
    background: #f5f7fa;
}

.btn {
    background: linear-gradient(0deg, #1488C8, #38abeb);
    border: 0;
    padding: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px;
    overflow: hidden;
}
.cameras  .dt-container div.dt-length select {
    width: 75px;
}
.btn > div { 
    transition: 0.3s all ease-in-out;
    background: transparent;
    padding: 11px 13px;
    border-radius: 5px;
}
.btn:hover > div { 
    background: #ffffff;
    color: var(--primary-color) ;
}
.btn-link {
    background: unset;
    text-decoration: unset;
    color: #293032;
}
thead.table-light th {
    background: #F9FBFC;
    font-weight: 500;
}
header {
    border-bottom: 1px solid #E6E6E6;
}
.sidebar {
    width: 230px;
    border-right: 1px solid #E6E6E6;
    padding: 24px;
}
.text-muted {
    color: #9FA5AE !important;
}
small {
    font-size: 0.75em;
}
.date-time {
    font-size: 14px;
}
.header-left {
    line-height: 1.1;
}
.sidebar .nav a {
    padding: 10px 15px;
    color: #8F8FA6;
    text-decoration: unset;
    transition: 0.2s all ease-in-out
}

.sidebar .nav a.active,
.sidebar .nav a:hover {
    color: #293032;
}
.sidebar .nav a.active {
    color: #293032;
    font-size: 1.25em;
    font-weight: 600;
}
.sidebar .nav a:hover path {
    transition: 0.3s all ease-in-out
}
.sidebar .nav a:hover path, 
.sidebar .nav a.active path {
    fill: #293032;
}
.sidebar .nav a span {
    margin-left: 12px;
}
.main-content .card {
    border: none;
    border-radius: 8px;
}
.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}
.list-unstyled li {
    margin-bottom: 10px;
}

.value {
    font-size: 1.5rem;
}
.overview .card {
    transition: 0.3s all ease-in-out;
}
.overview .card:hover {
    transform: translateY(-10px);
}

.trend.up {
    margin-left: 5px;
}

.trend.down {
    margin-left: 5px;
}

.pie-chart {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.notification-sidebar {
    width: 300px;
    background: #fff;
    border-left: 1px solid #ddd;
}

.notification-header h5 {
    margin: 0;
    font-size: 1.2rem;
}

.notification-body {
    max-height: 80vh;
    overflow-y: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .logo img {
        max-width: 120px;
    }

    .value {
        font-size: 1.3rem;
    }

    .pie-chart {
        height: 150px;
    }

    .notification-sidebar {
        width: 250px;
    }
}

@media (max-width: 767px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .logo img {
        max-width: 100px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        margin-top: 10px;
    }

    .search-bar {
        width: 100%;
    }

    .overview {
        row-cols-1;
    }

    .pie-chart {
        height: 120px;
    }

    /* Chart Container */
    .chart-container {
        position: relative;
        height: 250px;
        width: 100%;
        margin: 0 auto;
    }

    /* Stats Section */
    .stats .value {
        font-size: 1.5rem;
        color: #333;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .chart-container {
            height: 200px;
        }

        .stats .value {
            font-size: 1.3rem;
        }
    }

    @media (max-width: 767px) {
        .chart-container {
            height: 180px;
        }

        .stats .value {
            font-size: 1.2rem;
        }

        .stats .col {
            margin-bottom: 10px;
        }
    }
}

/* Existing styles remain unchanged */

/* User Info Modal */
#userInfoModal .modal-dialog {
    max-width: 400px;
}

#userInfoModal .card {
    border: none;
    box-shadow: none;
}

#userInfoModal h6 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

#userInfoModal p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Add Camera Sidebar */
#addCameraModal .modal-dialog {
    margin: 0;
    width: 400px;
    height: 100%;
    margin-right: 0;
}

#addCameraModal .modal-content {
    height: 100%;
    border-radius: 0;
}

#addCameraModal .modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: 80vh;
}

#addCameraModal .form-group {
    margin-bottom: 15px;
}

/* Camera Details Modal */
#cameraDetailsModal .modal-dialog {
    max-width: 500px;
}

#cameraDetailsModal #mapPlaceholder {
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cameraDetailsModal #getDirections {
    margin-top: 10px;
}

#cameraDetailsModal h6 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

#cameraDetailsModal p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #addCameraModal .modal-dialog {
        width: 100%;
    }
}

/* Existing styles remain unchanged */

/* Footer Styles */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ddd;
}

.footer p {
    font-size: 0.9rem;
}

/* Ensure main content doesn't overlap with footer */

.main-content {
    padding-top: 90px !important; 
    width: calc(100% - 530px);
    overflow: hidden;
}

/* Existing styles remain unchanged */

/* Message Modal */
#messageModal .modal-dialog {
    max-width: 400px;
}

#messageModal .modal-body {
    font-size: 1rem;
    text-align: center;
}


/* Existing styles remain unchanged */

/* Message Modal */
#messageModal .modal-dialog {
    max-width: 400px;
}

#messageModal .modal-body {
    font-size: 1rem;
    text-align: center;
}

/* Edit User Modal */
#editUserModal .modal-dialog {
    max-width: 400px;
}

#editUserModal .modal-body {
    font-size: 1rem;
}

/* Inactivity Warning Modal */
#inactivityWarningModal .modal-dialog {
    max-width: 400px;
}

#inactivityWarningModal .modal-body {
    font-size: 1rem;
    text-align: center;
}

#inactivityWarningModal #inactivityCountdown {
    font-weight: bold;
    color: #dc3545;
}

/* Table Actions */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* Ensure main content doesn't overlap with footer */
.app-container {
    min-height: calc(100vh - 80px);
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ddd;
}

.footer p {
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #addCameraModal .modal-dialog {
        width: 100%;
    }
    #usersTable th,
    #usersTable td {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
}

/* Existing styles remain unchanged */

/* Map styles */
#cameraMap {
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Bulk Upload Modal */
#bulkUploadModal .modal-body {
    font-size: 0.9rem;
}

#bulkUploadModal .form-text {
    font-size: 0.8rem;
}


header {
    width: calc(100% - 530px);
    left: 230px;
}

.table>thead th {
    font-weight: 500;
    background: #F9FBFC;
    color: #9FA5AE;
    border-top: 1px solid #E6E6E6;
}
.table>thead th:first-child {
    border-left: 1px solid #E6E6E6;
    border-top-left-radius: 6px;
}
.table>thead th:last-child {
    border-right: 1px solid #E6E6E6;
    border-top-right-radius: 6px;
}
.table>tbody td:first-child {
    border-left: 1px solid #E6E6E6;
}
.table>tbody td:last-child {
    border-right: 1px solid #E6E6E6;
}
.iconbtn img {
    width: 24px;
}
.iconbtn {
    padding: 0 5px;
    background: transparent;
}
#successModal .modal-header {
    background-color: #28a745;
    color: white;
}
.iconbtn:hover {
    background: unset;
}
button#ExportButton img {
    width: 17px;
}
.dropdown-toggle::after {
    display: none;
}
#greeting {
    text-transform: capitalize;
}
.table td {
    width: 20%;
}
@media only screen and (max-width: 1400px) {
    .sidebar {
        width: 200px;
        padding: 16px;
    }
    .notification-sidebar {
        width: 240px;
        padding: 18px !important;
    }
    .main-content {
        width: calc(100% - 440px);
        overflow: hidden;
            position: relative;
    }
    header {
        width: 100%;
        left: 0;
    }
    body {
        font-size: 14px;
    }
    #camerasTable th:nth-child(2),
    #camerasTable td:nth-child(2) {
        max-width: 120px;
    }
}
table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}