﻿/* Google Material Icons START*/
@font-face {
    font-family: 'Material Icons Outlined';
    src: url('/assets/icons/font/MaterialIconsOutlined.woff2') format('woff2');
}

#activeFiltersWrapper {
    font-size: 18px;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    text-align: center;
    text-decoration: inherit;
    vertical-align: middle;
    line-height: 1;
    color: inherit;
}
/* /. Google Material Icons END */

:root {
    --blue: #007BFF; /* Filodaki Araçlar */
    --indigo: #6610F2; /* Özel durumlar için */
    --purple: #6F42C1; /* Aylık Üretim ve süreç */
    --pink: #D63384; /* Ekstra durumlar */
    --red: #DC3545; /* Major Hatalar */
    --orange: #FD7E14; /* Bakımdaki Araçlar */
    --yellow: #FFC107; /* Şarjdaki Araçlar */
    --green: #28A745; /* Aktif Araçlar */
    --teal: #20C997; /* Günlük Üretim/Tüketim */
    --cyan: #17A2B8; /* Seferdeki Araçlar */
    --gray: #ADB5BD; /* Nötr Durumlar */
    --dark-gray: #6C757D; /* Depodaki Araçlar */
    --blink-color: red; /* Varsayılan blink rengi */
    --bg-red: #8a0d1e;
    --box-background-alpha: 0.1;
    /*-----*/

    --notice-card-bg-rgb: 176, 224, 230;
    --notice-card-color-rgb: 0, 0, 0;
}

/* ********** Custom Theme END ************ */

/* #region bigger screen breakpoint */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #969696;
    transition: all 0.3s ease; /* animasyon için */
}

    /*::-webkit-scrollbar:hover {
    width: 15px !important;
    min-height: 15px !important;
    height: 15px !important;
    background-color: #F5F5F5;
}*/

    ::-webkit-scrollbar-thumb:hover {
        /*height: 15px !important;*/
        /*width: 15px !important;*/
        background-color: #606060;
    }


/* #endregion */

/* #region bigger screen breakpoint */
@media (min-width: 2000px) {
    .row-cols-xxxl-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-xxxl-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-xxxl-3 > * {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .row-cols-xxxl-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-xxxl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-xxxl-6 > * {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
}
/* #endregion */

.login-wrapper {
    position: relative;
    display: grid;
    grid-template-areas:
        "lte-app-header"
        "lte-app-main"
        "lte-app-footer";
    grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
    grid-template-rows: min-content 1fr min-content;
    grid-template-columns: 1fr;
    grid-gap: 0;
    align-content: stretch;
    align-items: stretch;
    max-width: calc(100vw - 10px);
    min-height: calc(100vh - 10px);
}

}

.app-main {
    overflow: unset !important;
}
/* #region Custom Text and BG */
.custom-blue {
    color: white;
    background-color: var(--blue);
}

.custom-indigo {
    color: white;
    background-color: var(--indigo);
}

.custom-purple {
    color: white;
    background-color: var(--purple);
}

.custom-pink {
    color: white;
    background-color: var(--pink);
}

.custom-red {
    color: white;
    background-color: var(--red);
}

.custom-orange {
    color: white;
    background-color: var(--orange);
}

.custom-yellow {
    color: white;
    background-color: var(--yellow);
}

.custom-green {
    color: white;
    background-color: var(--green);
}

.custom-teal {
    color: white;
    background-color: var(--teal);
}

.custom-cyan {
    color: white;
    background-color: var(--cyan);
}

.custom-gray {
    color: black;
    background-color: var(--gray);
}

.custom-dark-gray {
    color: white;
    background-color: var(--dark-gray);
}
/* #endregion */

/* #region Custom Text only */
.custom-text-blue {
    color: var(--blue);
}

.custom-text-indigo {
    color: var(--indigo);
}

.custom-text-purple {
    color: var(--purple);
}

.custom-text-pink {
    color: var(--pink);
}

.custom-text-red {
    color: var(--red);
}

.custom-text-orange {
    color: var(--orange);
}

.custom-text-yellow {
    color: var(--yellow);
}

.custom-text-green {
    color: var(--green);
}

.custom-text-teal {
    color: var(--teal);
}

.custom-text-cyan {
    color: var(--cyan);
}

.custom-text-gray {
    color: var(--gray);
}

.custom-text-dark-gray {
    color: var(--dark-gray);
}
/* #endregion */

/* #region Navbar */
.custom-navbar {
    /*border-radius: var(--bs-border-radius);*/
    position: relative;
    display: flex;
    width: 100%;
    min-height: 60px;
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.user-menu {
    border: none;
}

    .user-menu > .dropdown-menu {
        transition: max-height 0.5s ease-in-out, opacity 0.6s ease-in-out;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        display: block;
        border: none;
        margin: 0;
        margin-top: 8px !important;
        right: 0 !important;
        max-height: 0;
        min-height: 0 !important;
    }

        .user-menu > .dropdown-menu > .user-header {
            transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
            overflow: hidden;
            max-height: 0;
            min-height: 0 !important;
            box-shadow: 0 3px 7px 0px rgba(var(--bs-primary-rgb), 0.4);
            border: none;
            padding: 0 !important;
            transition-delay: 0.2s;
        }

        .user-menu > .dropdown-menu > .user-body {
            transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
            overflow: hidden;
            display: flex;
            justify-content: center;
            box-shadow: 0 3px 7px 0px rgba(var(--bs-secondary-rgb), 0.4);
            border: none;
            max-height: 0;
            min-height: 0 !important;
            padding: 0 !important;
            transition-delay: 0.1s;
        }

        .user-menu > .dropdown-menu > .user-footer {
            transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
            overflow: hidden;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-height: 0;
            min-height: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            transition-delay: 0s;
        }

        .user-menu > .dropdown-menu.show {
            max-height: 500px;
            opacity: 1;
        }

            .user-menu > .dropdown-menu.show > .user-header {
                padding: 15px !important;
                max-height: 210px;
                transition-delay: 0s;
            }

            .user-menu > .dropdown-menu.show > .user-body {
                padding: 15px !important;
                max-height: 100px;
                transition-delay: 0.2s;
            }

            .user-menu > .dropdown-menu.show > .user-footer {
                padding: 15px !important;
                max-height: 100px;
                transition-delay: 0.3s;
            }
/* #endregion */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: #f4f4f4;
    border: 10px solid #343a40;
    border-left: none;
    border-top: none;
}

#sidebarContainer {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Mobile */
@media (max-width: 991.98px) {
    .container-with-sidebar {
        display: block;
    }

    .wrapper {
        border: none;
    }

    .sidebar-nav {
        width: 100% !important;
    }

    #sidebarContainer {
        width: 100%;
        min-width: 100%;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }

    .sidebar-nav .nav .nav-item:has(#toggleSidebarButton) {
        display: none;
    }

    .sidebar-nav .nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        display: flex;
        width: 100%;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

        .sidebar-nav .nav .nav-item {
            position: relative;
            display: block;
            padding: 0.5rem 0.5rem;
            color: var(--bs-body-color);
            text-decoration: none;
        }

    #sidebarContainer .info-box {
        padding: 10px;
        align-items: center;
        margin: 0;
    }

    #sidebarContainer .info-box-icon {
        width: 35px;
        height: 35px;
    }

    #sidebarContainer .info-box-content {
        padding: 0;
    }
}

.content {
    flex-grow: 1; /* İçeriğin tüm boş alanı kaplamasını sağlar */
    overflow-y: auto;
}

@media (min-width: 991.98px) {
    .container-with-sidebar {
        display: flex;
    }

    #sidebarContainer {
        position: sticky;
        /* top: 70px;*/
        height: fit-content;
        max-height: 100%;
        width: 200px;
        transition: width 0.2s ease-in-out;
        z-index: 1000;
    }

        #sidebarContainer .info-box {
            min-height: unset;
        }

            #sidebarContainer .info-box .info-box-icon {
                width: 40px;
                height: 40px;
            }

        #sidebarContainer > ul {
            width: fit-content;
        }

        #sidebarContainer .info-box-content {
            opacity: 1;
            transition: opacity 0.3s ease, padding 0.3s ease;
            overflow: hidden;
        }

    .sidebar-nav {
        padding: 10px !important;
    }

        .sidebar-nav .nav {
            flex-direction: column !important;
        }

    .toggleSidebarContainer {
        width: 80px !important;
    }

        .toggleSidebarContainer .info-box {
            width: 100% !important;
        }

        .toggleSidebarContainer .info-box-content {
            padding: 0;
            opacity: 0;
            max-height: 0; /* Görünürlüğü tamamen gizlemek için */
            max-width: 0; /* Görünürlüğü tamamen gizlemek için */
        }
}

/*@media (max-width: 1140px) {
    #sidebarContainer {
        width: 80px;
    }

        #sidebarContainer .info-box-content {
            display: none;
        }
}*/
/*
.sticky-sidebar {
    position: sticky;
    top: 10px;
}*/

/* Navbar */
.main-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    bottom: 0;
    max-height: calc(100vh - 40px);
    width: 100px !important;
    min-width: unset;
}
/* Navbar */

/* Vehicle Dashboard */
.dashboard-grid-sizer,
.dashboard-grid-item {
    width: calc(33% - 10px);
}

.dashboard-grid-item--width2 {
    width: 66%;
}

.dashboard-grid-item--width3 {
    width: calc(100% - 10px);
}

.dashboard-grid-item {
    margin-bottom: 20px;
}

@media (max-width:1600px) {
    .dashboard-grid-sizer,
    .dashboard-grid-item {
        width: calc(50% - 10px);
    }

    .dashboard-grid-item--width2 {
        width: 100%;
    }

    .dashboard-grid-item--width3 {
        width: 100%;
    }
}

@media (max-width:900px) {
    .dashboard-grid-sizer,
    .dashboard-grid-item {
        width: 100%
    }

    .dashboard-grid-item--width2 {
        width: 100%;
    }

    .dashboard-grid-item--width3 {
        width: 100%;
    }
}


.dashboard-container {
    display: flex;
    flex-wrap: wrap; /* Öğeler satır bazlı hizalanacak */
    gap: 1.5rem; /* Öğeler arasında boşluk */
    margin-top: 1.5rem;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

    .dashboard-container > div {
        flex: 1 1 calc(33.333% - 1.5rem); /* 3 sütunlu yapı */
        min-width: 250px; /* Mobil için küçük ekran desteği */
        box-sizing: border-box;
    }

@media(max-width:1399px) {
    .dashboard-container {
        column-count: 2; /* Kaç sütun olacağını belirler */
    }
}

@media(max-width:1199px) {
    .dashboard-container {
        column-count: 1; /* Kaç sütun olacağını belirler */
    }
}

.dashboard-panel {
    /*max-width: 400px;*/
}

.dashboard-title {
    margin-bottom: 0px !important;
    font-size: 20px;
    background-color: var(--bs-primary);
    color: white;
    padding: 10px;
    box-shadow: var(--bs-primary) 0px 0px 9px 3px;
}

.gauge-indicators {
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

    .gauge-indicators div:not(:first-child) {
        padding-left: 15px;
    }

    .gauge-indicators div:not(:last-child) {
        padding-right: 15px;
    }

    .gauge-indicators div:not(:last-child) {
        border-right: 1px solid #000000;
    }

    .gauge-indicators span:first-of-type {
        font-size: 25px;
    }

    .gauge-indicators span:nth-of-type(2) {
        font-size: 10px;
    }

/*.vertical-line{
    width: 2
}*/

.operation-items .dashboard-icon {
    background-color: transparent;
    color: #5f5f5f;
    width: 24px;
    height: 24px;
    align-content: center;
    border-radius: var(--bs-border-radius);
    text-align: center;
    cursor: pointer;
}

.dashboard-icon {
    background-color: transparent;
    color: #5f5f5f;
    width: 40px;
    min-width: 40px;
    height: 40px;
    align-content: center;
    border-radius: var(--bs-border-radius);
    text-align: center;
    cursor: pointer;
}

/*#dashboard-middle .dashboard-icon {
    background-color: transparent;
    color: #5f5f5f;
    width: 40px;
    min-width: 40px;
    height: 40px;
}*/

#dashboard-middle .dashboard-icon .material-icons-outlined {
    font-size: 40px;
}

#dashboard-middle .mapbox-body {
    align-content: flex-start;
}

.dashboard-icon-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px;
    margin-top: 15px;
}

/*.dashboard-icon-wrapper .col {*/
/*flex-grow: 0;*/
/*margin-bottom: 10px;*/
/*}*/

#dashboard-middle {
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

    #dashboard-middle .col {
        /*margin-bottom: 10px;*/
        padding: 0;
    }

.dashboard-with-text {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--bs-border-radius);
    padding: 0.5rem;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
    color: var(--bs-body-color);
    font-weight: 500;
    min-height: 60px;
    /*margin-bottom: 1rem;*/
    /*background: rgba(29, 29, 29, 0.1);*/
    background: #D6D6D6;
    /*backdrop-filter: blur(5px);*/
    /*-webkit-backdrop-filter: blur(5px);*/
    justify-content: center;
    /**/
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    /*
.dashboard-with-text {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #9b9b9b87;
    border-radius: var(--bs-border-radius);
    padding: 10px;
    color: var(--bs-body-color);
    font-weight: 500;
    min-height: 60px;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}*/

    .dashboard-with-text .spinner-border {
        font-size: 15px;
    }

.dashboard-middle-pictogram {
    gap: 10px;
}

    .dashboard-middle-pictogram .col {
        display: flex;
        justify-content: center;
    }

.pictogram {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pictogram-header {
    /*color: var(--dark-gray);*/
    font-size: 12px;
}

.pictogram-text {
    font-size: 20px;
    align-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
}



.side-items {
    border: #000000 2px;
    border-style: dashed;
    border-radius: var(--bs-border-radius);
    align-content: center;
    /*background: linear-gradient(45deg, white -10%, #00000040 40%, white, #00000040 110%);*/
    box-shadow: inset #000000d6 0px 0px 7px 1px;
    /*background-color: #00000014;*/
    background-color: #f4f4f4;
}

    .side-items .row {
        justify-items: center;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .side-items .col {
        justify-items: center;
    }

/* Dashboard Alert Colors and Keyframes */
@keyframes blink {
    0% {
        box-shadow: inset 0 0 10px var(--blink-color);
        color: var(--blink-color);
    }

    50% {
        box-shadow: none;
        color: white;
    }

    100% {
        box-shadow: inset 0 0 10px var(--blink-color);
        color: var(--blink-color);
    }
}

@keyframes blinktoblack {
    0% {
        box-shadow: inset 0 0 10px var(--blink-color);
        color: var(--blink-color);
    }

    50% {
        box-shadow: none;
        color: black;
    }

    100% {
        box-shadow: inset 0 0 10px var(--blink-color);
        color: var(--blink-color);
    }
}

.dashboard-icon-error { /* Hata yanıp sönme */
    --blink-color: var(--red); /* Hata durumunun rengi */
    animation: blink 1.5s linear infinite;
}

.dashboard-icon-warning { /* Uyarı yanıp sönme */
    --blink-color: var(--yellow); /* Uyarı durumunun rengi */
    animation: blink 1.5s linear infinite;
}

.dashboard-icon-blue {
    color: var(--blue); /* Özel durum rengi */
}

.dashboard-icon-green {
    color: var(--green); /* Özel durum rengi */
}

.dashboard-icon-white-blink { /* Beyaz renkli fasılalı durumlar için */
    --blink-color: white;
    animation: blinktoblack 1.5s linear infinite;
}
/* /* Dashboard Alert Colors and Keyframes */

.dashboard-chart {
    max-height: 300px;
    aspect-ratio: 3/2;
}

/* /* Vehicle Dashboard */

.mapbox {
    border-radius: var(--bs-border-radius);
    margin: 0;
    overflow: hidden;
    background: rgba(var(--bs-secondary-rgb), var(--box-background-alpha));
    /*background: #EBEBEB;*/
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
}

    .mapbox .mapbox {
        background: #E3E3E3;
    }
/*.mapbox:not(.mapbox-main-header):not(.home-footer):not(.sidebar-nav):not(.mapbox-info-container) {
        height: 600px !important;
        overflow-y: auto;
    }*/
/*/*.mapbox:not(.mapbox-main-header):not(.home-footer):not(.sidebar-nav):not(.mapbox-info-container){
        min-height: 600px !important;
    }

    .mapbox:has(.table):not(:has(#vehicleList)) {
        height: 500px !important
    }*/
/*.mapbox:has(.table):not(.home-vehicle-container) {
        height: 500px !important;
    }*/
.h-500 {
    height: 500px !important;
}

.h-550 {
    height: 550px !important;
}

.mapbox .table {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mapbox .mapbox-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    font-size: 1.40rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 15px;
    padding: .7rem 1rem;
    padding-top: 0;
    color: var(--bs-heading-color);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

    .mapbox .mapbox-header .btn-sm {
        --bs-btn-padding-y: 0.1rem !important;
        --bs-btn-padding-x: 1rem !important;
    }

@media (max-width: 576px) {
    .mapbox .mapbox-header {
        font-size: 17px;
    }
}

.mapbox .mapbox-body {
    height: 100%;
}

.mapbox .mapbox-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(0,0,0,.125);
}

.mapbox.home-footer {
    flex-direction: row !important;
}

.mapbox-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 4px 1px rgba(var(--bs-secondary-rgb), 0.5);
    flex-direction: row !important;
}

    .mapbox-main-header .breadcrumb-item {
        align-self: center;
    }

    .mapbox-main-header .btn-sm {
        --bs-btn-padding-y: 0.1rem !important;
        --bs-btn-padding-x: 1rem !important;
    }

.home-footer {
    --box-background-alpha: 0.3 !important;
    padding: 0 !important;
}

.tt-search-box, .tt-search-box-input-container {
    border-radius: var(--bs-border-radius) !important;
}

.mapbox > .border-between {
    min-height: 100px;
}

.border-between {
    box-shadow: 0px 0px 1px 0px var(--bs-secondary);
}

.table-transparent {
    --bs-table-bg: transparent !important;
}

    .table-transparent th {
        --bs-table-bg: white !important;
    }

.content-box .dt-container > div.row:first-child:not(.dt-layout-table), .content-box .dt-container > div.row:nth-child(2):not(.dt-layout-table) {
    margin-top: 0px !important;
}



/*table td:has(a.btn-sm){
    padding: 0 !important;
    margin: 0 !important;
}*/

.announce-box .info-box-icon {
    width: 100% !important;
}

.announce-box {
    height: 100%;
    width: 100%;
    padding: 0 0 1rem 0;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2) !important;
    color: var(--bs-body-color) !important;
}

.announce-box-body {
    cursor: pointer;
    text-align: center;
}

.announce-box-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .announce-box-media img, .announce-box-media video, .announce-box-media iframe, .announce-box-media audio {
        width: 100%;
        aspect-ratio: 16 / 9;
        display: flex;
        justify-content: center;
        align-items: center;
        object-fit: cover;
    }

.announce-explanation {
    margin-top: 10px;
    padding: 0 15px;
    width: 100%;
}

    .announce-explanation span {
        font-size: 0.7rem;
        color: var(--bs-gray-600);
    }

    .announce-explanation h1 {
        font-weight: 700;
        font-size: 1.25rem;
        margin: 5px 0 5px 0;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .announce-explanation p {
        font-size: 0.8rem;
        line-height: 1rem;
        text-align: justify;
        color: var(--bs-gray-700);
        max-height: 120px;
        width: 100%;
        padding: 5px;
        overflow: auto;
        /*border-radius: 10px;*/
        /*box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.7) !important;*/
    }

.announce-box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}
/* Durum göstergesi */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .status-indicator h2 {
        margin: 0;
        font-size: 0.75rem;
    }

.status-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

    .status-circle.active {
        background-color: var(--bs-green);
    }

    .status-circle.inactive {
        background-color: var(--bs-danger);
    }
/* Dropdown Menüsü */
.dropdown .btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.panel-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--bs-border-radius);
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /*backdrop-filter: blur(5px);*/
    /*-webkit-backdrop-filter: blur(5px);*/
    border: 1px solid rgba(255, 255, 255, 0.3);
    aspect-ratio: 1/1;
}

.panel-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
    text-align: center;
    border-radius: 0.375rem;
    background: var(--bs-primary);
    color: white;
    margin-bottom: 1rem;
}

.panel-card-header {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
}

/* #region Station Table */
.station-details table {
    width: 100%;
    border-collapse: collapse;
}

.station-details th, .station-details td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
}

.station-details th {
    background-color: var(--bs-primary);
    color: white;
}

.station-details tr:nth-child(even) {
    background-color: #f2f2f2;
}
/* #endregion */

/* #region Station Timeline */

.station-timeline {
    position: relative;
    padding: 20px 0;
    font-weight: bold;
}

.station-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px; /* Alt boşluk */
    position: relative;
}

    .station-timeline-item:last-child {
        margin-bottom: 0;
    }

.station-timeline .time {
    width: 80px;
    text-align: right;
    font-weight: bold;
    color: #007bff;
    top: 35px;
    left: 10px;
    position: relative;
}

.station-timeline .circle {
    width: 15px;
    height: 15px;
    background-color: white;
    border: 3px solid #007bff;
    border-radius: 50%;
    margin: 0 20px;
    position: relative;
}

.station-timeline-item:last-child .circle,
.station-timeline-item:first-child .circle {
    width: 35px;
    height: 35px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: white;
    background-color: #007bff !important;
    border: none !important;
}

.station-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 107px;
    /* transform: translateX(130%); */
    width: 2px;
    height: calc(100% - 70px);
    background-color: #007bff;
    z-index: 0;
}

.station-timeline .station {
    flex: 1;
    text-align: left;
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    color: #555;
}

/* #endregion */

/* #region Dashboard HVAC */

.hvac-header {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.hvac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ortadaki kutu 2 katı genişlikte */
    grid-template-rows: 1fr; /* 2 satır */
    gap: 10px;
    border-top: 1px solid RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
    padding-top: 10px;
}

.hvac-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 70px;*/
}

.hvac-indicator {
    border-radius: var(--bs-border-radius);
    margin: 0;
    overflow: hidden;
    box-shadow: inset 0 0px 7px 1px rgba(var(--bs-secondary-rgb), 0.3);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    /* color: #fff !important; */
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
    align-items: center;
    /* border: solid 1px rgba(var(--bs-secondary-rgb), 0.5);*/
}

.hvac-indicator-header {
    font-weight: bold;
    font-size: 20px;
}

.hvac-indicator-text {
    font-size: 17px;
}

.hvac-icon {
    color: #9b9b9b;
    font-size: 80px;
}

@media (max-width: 1040px) {
    .hvac-header {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .hvac-grid {
        gap: 8px;
        padding-top: 5px;
    }

    .hvac-grid-item {
        height: 50px;
    }

    .hvac-indicator {
        padding: 0.5rem;
    }

    .hvac-indicator-header {
        font-size: 16px;
    }

    .hvac-indicator-text {
        font-size: 15px;
    }

    .hvac-icon {
        font-size: 55px;
    }
}
/* #endregion */

.operation-tab-content .col-12 {
    margin-top: 7px;
}

.hvac-header-mini {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.hvac-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ortadaki kutu 2 katı genişlikte */
    grid-template-rows: 1fr; /* 2 satır */
    gap: 10px;
    border-top: 1px solid RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
    padding-top: 10px;
}

.hvac-grid-item-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-bottom: 5px;
}

.hvac-indicator-mini {
    border-radius: var(--bs-border-radius);
    margin: 0;
    overflow: hidden;
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 1rem;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
}
    /*.hvac-grid-item-mini .button {
    height: 20px !important;
}*/

    .hvac-indicator-mini .hvac-indicator-header {
        margin-right: 5px;
        font-size: 13px;
    }

    .hvac-indicator-mini .hvac-indicator-text {
        font-size: 13px;
    }


/*#region StarRate*/
/*---------- star rating ----------*/
.star-rating, .back-stars, .front-stars {
    display: flex;
}

.star-rating {
    align-items: center;
    font-size: 2em;
    justify-content: center;
}

.back-stars {
    color: #bb5252;
    position: relative;
    text-shadow: 4px 4px 10px #843a3a;
}

.front-stars {
    color: #FFBC0B;
    overflow: hidden;
    position: absolute;
    text-shadow: 2px 2px 5px #d29b09;
    top: 0;
    transition: all 0.5s;
}
/*#endregion*/

/*#region ContentBox*/
.content-box {
    border-radius: var(--bs-border-radius);
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    /*background: #EFEFEF;*/
    /*background: #f1f1f1 !important;*/
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /*backdrop-filter: blur(5px);*/
    /*-webkit-backdrop-filter: blur(5px);*/
}
/*#endregion*/

.static-noise {
    background: repeating-radial-gradient(#000 0 0.0001%, #7f7e7e 0 0.0002%) 50% 0 / 2500px 2500px, repeating-conic-gradient(#000 0 0.0001%, #7f7e7e 0 0.0002%) 60% 60% / 2500px 2500px;
    background-blend-mode: difference;
    animation: noise-animation .2s infinite alternate;
}

@keyframes noise-animation {
    100% {
        background-position: 50% 0, 60% 50%
    }
}


/*Yükleme çubuğunun üst kısımda sabit durmasını sağlar*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5); /*Yarı saydam bir arka plan*/
    z-index: 9999; /*Diğer öğelerin önünde görünmesini sağlar*/
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /*Yükleme çubuğunun yüksekliği*/
}

/*Diğer öğeleri devre dışı bırakmak için*/
body.loading * {
    pointer-events: none;
}

.media-center-video-wrapper video {
    height: 300px !important;
}

#vehicle-container {
    will-change: contents;
}

.list-group {
    word-break: break-word;
}

.list-horizontal {
    overflow-x: auto;
    flex-wrap: nowrap;
    display: flex;
    width: 100%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar'ı tamamen gizle */
.list-horizontal {
    overflow-x: auto; /* veya scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE ve Edge */
    /* Webkit (Chrome, Safari) */
}

    .list-horizontal::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

.list-horizontal-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    min-width: 200px;
    width: 200px;
}

    .list-horizontal-item .list-horizontal-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
    }

        .list-horizontal-item .list-horizontal-card .list-horizontal-header {
            font-size: 0.75rem;
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-weight: 500;
            line-height: 1.2;
            display: flex;
            flex-wrap: wrap !important;
            justify-content: space-between;
            flex-direction: column;
            height: 100%;
            word-break: break-all !important;
            white-space: normal;
        }

    .list-horizontal-item .list-horizontal-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

#contentContainer {
    min-width: 0;
}

.scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding-left: 33px;
    padding-right: 33px;
}

/* Ok butonları */
.scroll-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4); /* Saydam siyah */
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--bs-border-radius);
}

    .scroll-btn.left {
        left: 0;
    }

    .scroll-btn.right {
        right: 0;
    }

    /* Ok ikonları */
    .scroll-btn i {
        font-size: 20px; /* Ok büyüklüğünü buradan ayarlayabilirsiniz */
    }

#video-panel {
    justify-items: center;
}

.offcanvas {
    width: 320px;
}

/*.scroll-wrapper::after {
    content: "";
    height: 1px;
    background: #8b8b8b;
    margin-top: 5px;
    display: block;
}

.scroll-wrapper::before {
    content: "";
    height: 1px;
    background: #8b8b8b;
    margin-bottom: 5px;
    display: block;
}*/

/*.scroll-wrapper {
    background-color: #8b8b8b29;
}*/

.blurred {
    filter: blur(1px) opacity(0.3);
    pointer-events: none;
}

a.dashboard-card {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.dashboard-card {
    z-index: 100000000;
    border-radius: var(--bs-border-radius);
    margin: 0;
    /*overflow: hidden;*/
    background: rgba(var(--bs-secondary-rgb), var(--box-background-alpha));
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    /*box-shadow: -3px 5px 3px 0px rgba(var(--bs-secondary-rgb), 0.2);*/
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /*cursor: pointer;*/
    transition: border-color 0.5s ease, background-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

    .dashboard-card.alert-card .mini-card-item {
        color: #a40000 !important;
        font-size: 17px;
    }

a.dashboard-card:hover {
    /*transform: scale(1.04);*/
    box-shadow: 0px 6px 3px 1px rgba(var(--bs-secondary-rgb), 0.2);
    outline: 2px solid #ccc;
    background: rgba(var(--bs-secondary-rgb), 0.2);
    cursor: pointer;
    transform: translate(0px, -4px);
}

.dashboard-card-header {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    padding-top: 0;
    color: var(--bs-heading-color);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: 5px 15px;
    /* padding-block: 5px; */
    border-radius: var(--bs-border-radius);
    box-shadow: -2px 4px 3px 0px rgba(var(--bs-secondary-rgb), 0.2);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.dashboard-card-body {
    height: 100%;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 10px;*/
}

.mini-card {
    border-radius: var(--bs-border-radius);
    /*border: 1px solid #9b9b9b87;*/
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
}

    .mini-card .mini-card-item-container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .mini-card .mini-card-header {
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .mini-card .mini-card-item {
        font-size: 20px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

.filter-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: var(--bs-border-radius);
    margin: 0;
    overflow: hidden;
    background: rgba(var(--bs-secondary-rgb), var(--box-background-alpha));
    /*box-shadow: -3px 5px 3px 0px rgba(var(--bs-secondary-rgb), 0.2);*/
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 12px;
}


.dt-layout-full > div {
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}


/* Info Label */
@keyframes card-highlight {
    0% {
        box-shadow: 0 0px 5px 1px rgb(var(--notice-card-bg-rgb));
    }

    50% {
        box-shadow: 0 0px 10px 2px rgb(var(--notice-card-bg-rgb));
    }

    100% {
        box-shadow: 0 0px 5px 1px rgb(var(--notice-card-bg-rgb));
    }
}

.notice-card {
    background: rgba(var(--notice-card-bg-rgb), 1);
    border: rgba(0, 0, 0, 0.05) 2px solid;
    margin: 0;
    overflow: hidden;
    padding: 0.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0px 7px 0px rgb(var(--notice-card-bg-rgb));
    animation: card-highlight 2s infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .notice-card.notice-card-info {
        --notice-card-bg-rgb: 176, 224, 230;
        --notice-card-color-rgb: 0, 53, 57;
    }

    .notice-card.notice-card-danger {
        --notice-card-bg-rgb: 255, 130, 130;
        --notice-card-color-rgb: 106, 0, 0;
    }

    .notice-card.notice-card-success {
        --notice-card-bg-rgb: 209, 231, 221;
        --notice-card-color-rgb: 16, 99, 60;
    }

    .notice-card.notice-card-warning {
        --notice-card-bg-rgb: 255, 243, 205;
        --notice-card-color-rgb: 77, 77, 77;
    }

    .notice-card .content {
        font-weight: 500;
        color: rgb(var(--notice-card-color-rgb));
    }

    .notice-card button {
        border-radius: var(--bs-border-radius);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1px;
        margin: 0;
        background-color: unset;
        align-self: flex-start;
    }

.under-construction {
    filter: blur(3px); /* Bulanıklaştırma efekti */
    pointer-events: none; /* Tıklamaları devre dışı bırakır */
    user-select: none; /* Seçimi engeller */
    opacity: 0.6; /* Hafif şeffaflık ekler */
}

/*.under-construction::after {
        content: "VERİ YOK";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: red;
        font-weight: bold;
        font-size: 32px;
        text-shadow: 1px 1px 2px #fff;
    }*/


a:has(.under-construction) {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
    user-select: none; /* Seçimi engeller */
}
/*.notice-card.notice-card-danger > *{
        color: white !important;
    }*/

/*.info-label {
    background: rgba(191, 38, 52, 1);
    border: rgba(0, 0, 0, 0.1) 2px solid;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 0.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0px 7px 1px rgb(176, 224, 230);
    animation: slide-in 2s infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.info-label {
    background: rgba(176, 224, 230, 1);
    border: rgba(0, 0, 0, 0.1) 2px solid;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 0.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0px 7px 1px rgb(176, 224, 230);
    animation: slide-in 2s infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .info-label .content {
        font-weight: 500;
        color: rgba(0,0,0,0.7);
    }

    .info-label button {
        border-radius: var(--bs-border-radius);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1px;
        margin: 0;
        background-color: unset;
        align-self: flex-start;
    }

:root {
}

.info-label {
    background: rgba(191, 38, 52, 1);
    border: rgba(0, 0, 0, 0.1) 2px solid;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 0px 7px 0px rgba(var(--bs-secondary-rgb), 0.2);
    padding: 0.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0px 7px 1px rgb(176, 224, 230);
    animation: slide-in 2s infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/


.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it's on top */
    width: 100px; /* Fixed width */
    height: 100px; /* Fixed height */
    background: url('/assets/img/spinner_bozankaya.png') no-repeat center center; /* Image URL */
    background-size: contain; /* Ensures image fits within the container */
    animation: blink 3s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1; /* Görünür */
    }

    25%, 75% {
        opacity: 0; /* Görünmez */
    }
}

.card-fade {
    opacity: 0;
    transform: scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}

    .card-fade.show {
        opacity: 1;
        transform: scale(1);
    }

#generalStatisticTable tr.selected td {
    /*box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95);*/
    box-shadow: none;
    background-color: var(--bs-primary);
}


/* Map için */
.marker-icon {
    background-position: center;
    background-size: 22px 22px;
    border-radius: 50%;
    height: 22px;
    left: 4px;
    position: absolute;
    text-align: center;
    top: 3px;
    transform: rotate(45deg);
    width: 22px;
}

.marker {
    height: 30px;
    width: 30px;
}

.marker-content {
    background: #c30b82;
    border-radius: 50% 50% 50% 0;
    height: 30px;
    left: 50%;
    margin: -15px 0 0 -15px;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    width: 30px;
}

    .marker-content::before {
        background: #ffffff;
        border-radius: 50%;
        content: "";
        height: 24px;
        margin: 3px 0 0 3px;
        position: absolute;
        width: 24px;
    }


/*.dashboard-autogrid {
    column-count: 2;
    column-gap: 0.5rem;
}

.dashboard-autogrid-item {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}*/

/* Route Statistic DataTable Gray When Stop Not Entered */
table.dataTable tbody tr.gray-row td {
    background-color: #f5f5f5 !important;
    color: #999;
    opacity: 0.6;
}

/* Toggle switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

    /* Hide default checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider background */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    /*background-color: #8A0D1E;*/
    transition: .4s;
    border-radius: 8px;
    height: 25px;
    width: 50px;
}

    /* Slider circle */
    .slider:before {
        position: absolute;
        content: "";
        height: 70%;
        width: 20px;
        left: 5px;
        bottom: 15%;
        background-color: #fff;
        transition: .4s;
        border-radius: 6px;
    }

/* Checked state */
input:checked + .slider {
    background-color: #4caf50;
}

    input:checked + .slider:before {
        transform: translateX(20px);
    }
