
.ogm-customer .RegionHistoryContainer {
    left: 0px;
    top: 0px;
    width: 894px;
    height: 573px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    opacity: 1;
}


.ogm-customer .RegionHistoryContainer.filter-page {
    width: 1207px;
    height: 650px;
}

.ogm-customer .RegionHistoryContainerWrapper {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ogm-customer .RegionHistoryToolbarContainer {
    float: none;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryToolbar {
    float: none;
    width: 100%;
    height: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
}

.ogm-customer .RegionHistoryAreaRadius {
    float: none;
    display: flex;
    align-items: center;
    margin-left: 5px;
    width: 240px;
    height: 30px;
    text-align: left;
    font: normal normal 600 14px/30px Segoe UI;
    letter-spacing: 0px;
    color: #3379B7;
    opacity: 1;
    background: url(../radius.svg) no-repeat 5px center;
    padding-left: 30px;
    flex-shrink: 0;
    margin-top: 0;
}

.ogm-customer .RegionHistoryToolbarButtons {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryToolbarButton {
    float: none;
    margin-left: 5px !important;
    margin-right: 0 !important;
    border: none !important;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryContextContainer {
    float: none;
    width: 100%;
    height: auto;
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.ogm-customer .RegionHistoryGridContainer {
    float: none;
    width: 100%;
    height: 100%;
    margin-top: 4px;
}

.ogm-customer .RegionHistoryReportContainer {
    float: none;
    width: 100%;
    height: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ogm-customer .RegionHistoryReportGrid {
    float: none;
    width: 100%;
    height: 210px;
}

.ogm-customer .RegionHistoryReportBody {
    float: none;
    margin-top: 5px;
    width: 100%;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 15px;
    margin-bottom: 0;
    display: flex;
    gap: 20px;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    box-sizing: border-box;
}

.ogm-customer .RegionHistoryReportLeftPanel {
    width: 426px;
    min-width: 426px;
    max-width: 426px;
    height: 458px;
    border: 1px solid #DCDCDC;
    border-radius: 4px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    opacity: 1;
}

.ogm-customer .RegionHistoryReportRightPanel {
    width: 739px;
    height: 458px;
    border: 1px solid #DCDCDC;
    opacity: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.ogm-customer .RegionHistoryReportDateTimeWrapper {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ogm-customer .RegionHistoryVehicleGroupsTree {
    width: 100%;
    height: 100%;
}

.ogm-customer .RegionHistoryReportDate {
    float: none;
    position: relative;
    z-index: 999;
    transform: scale(1.05);
    transform-origin: center;
}

    .ogm-customer .RegionHistoryReportDate a {
        display: block !important;
    }

.ogm-customer .RegionHistoryReportStartTime {
    float: none;
    position: relative;
    margin-left: 0;
    margin-top: 0;
}

.ogm-customer .RegionHistoryReportEndTime {
    float: none;
    position: relative;
    margin-left: 0;
    margin-top: 0;
}

.ogm-customer .RegionHistoryReportStartDateContainer {
    float: none;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryReportEndDateContainer {
    float: none;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryReportDateTimeContainer {
    float: none;
    width: auto;
}

.ogm-customer .RegionHistoryReportStartDateTimeContainer {
    float: none;
    width: auto;
}

.ogm-customer .RegionHistoryReportDateTimeTitle {
    float: none;
    text-align: left;
    font: normal normal 600 14px/20px Segoe UI;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
    margin-top: 0;
    white-space: nowrap;
}

.ogm-customer .RegionHistoryReportTimeWrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.ogm-customer .RegionHistoryReportHeader {
    width: 582px;
    height: 21px;
    text-align: left;
    font: normal normal normal 16px/21px Segoe UI;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
    background: url(/themes/images/info.svg) no-repeat;
    background-size: 20px 20px;
    background-position: left center;
    padding-left: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryReportStartDateInfo,
.ogm-customer .RegionHistoryReportEndDateInfo {
    text-align: center;
    font: normal normal 700 16px/20px Segoe UI;
    letter-spacing: 0px;
    color: #3379B7;
    opacity: 1;
    margin-bottom: 10px;
}

.ogm-customer .RegionHistoryReportBackButton {
    float: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    opacity: 1;
    width: 140px;
    height: 32px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryReportRunButton {
    float: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    opacity: 1;
    width: 140px;
    height: 32px;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryReportGridContainer {
    float: none;
    width: 100%;
    height: 100%;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.ogm-customer .RegionHistoryReportGridBody {
    float: none;
    margin-top: 5px;
    margin-bottom: 0;
    border-bottom: 2px solid #DCDCDC;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.ogm-customer .RegionHistoryReportGridBottom {
    float: none;
    width: 100%;
    height: 40px;
    flex-shrink: 0;
    padding: 10px 10px 5px 0px;
}

.ogm-customer .RegionHistoryReportGridBackButton {
    float: left;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    opacity: 1;
    width: 140px;
}

.ogm-customer .RegionHistoryReportGridCounterField {
    float: right;
    margin: 0 45px;
}

.ogm-customer .RegionHistoryGridPercentBox {
    float: right;
    width: 150px;
    height: 20px;
    position: relative;
}

.ogm-customer .RegionHistoryGridPercentBox .totalPercent {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    z-index: 5;
    margin-left: -25%;
}

.ogm-customer .RegionHistoryGridPercentBox .countPercent {
    position: absolute;
    height: 100%;
    background-color: #337ab7;
    z-index: 6;
    margin-left: -25%;
}

.ogm-customer .RegionHistoryGridPercentBox .stopButton {
    position: relative;
    float: right;
    width: 32px;
    height: 32px;
    z-index: 6;
    margin-top: -4%;
    background: url("../Stop.png") no-repeat center;
}

.ogm-customer .RegionHistoryReportGridDateDetail {
    float: none;
    text-align: left;
    font: normal normal 600 14px/30px Segoe UI;
    letter-spacing: 0px;
    color: #3379B7;
    opacity: 1;
    margin-top: 5px;
}

.ogm-customer .RegionHistoryReportBottom {
    float: none;
    border-top: 2px solid #DCDCDC;
    width: 100%;
    height: auto;
    min-height: 42px;
    padding: 10px 10px 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ogm-customer .RegionHistoryReportEndTimeDiv {
    float: none;
}

.ogm-customer .RegionHistoryHeader {
    float: none;
    border-bottom: 1px solid #DCDCDC;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

/* Varsayılan başlık stili */
.ogm-customer .RegionHistoryHeaderTitle {
    width: 103px;
    height: 27px;
    text-align: left;
    font: normal normal normal 20px/30px Segoe UI;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
}

/* Filtreler sayfası başlık stili */
.ogm-customer .RegionHistoryHeaderTitle.filter-page-title {
    width: 179px;
    height: 27px;
}

.ogm-customer .RegionHistoryReportDateTitle {
    text-align: center;
    font: normal normal 700 18px/24px Segoe UI;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
    margin-bottom: 15px;
}

.ogm-customer .regionHistoryGoogleApiInfoWindow .gm-style-iw-d {
    overflow: hidden !important;
}

.ogm-customer .regionHistoryGoogleApiInfoWindow .gm-style-iw-c {
    padding: 0 !important;
    width: 1220px !important;
    height: 620px !important;
    max-width: 1220px !important;
    max-height: 620px !important;
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 0px !important;
}

    .ogm-customer .regionHistoryGoogleApiInfoWindow .gm-style-iw-c button {
        display: none !important;
    }

.ogm-customer .regionHistoryMasterDetailContainer,
.ogm-customer .regionHistoryMasterDetailContainer .dx-master-detail-cell {
    padding: 0 !important;
    padding-left: 30px !important;
}

.ogm-customer .RegionHistoryDetailTable {
    width: 100%;
}

.ogm-customer .RegionHistoryDetailTableIndex {
    max-width: 40px;
    min-width: 40px;
}

.ogm-customer .RegionHistoryDetailTableNode {
    max-width: 80px;
    min-width: 80px;
}

.ogm-customer .RegionHistoryDetailTableAdress {
    max-width: 100px;
    padding: 7px;
    overflow: hidden;
    padding-left: 2px;
}

.ogm-customer .RegionHistoryDetailTableEnterTime {
    max-width: 100px;
}

.ogm-customer .RegionHistoryDetailTableExitTime {
    max-width: 100px;
}

.ogm-customer .RegionHistoryDetailTableDuration {
    max-width: 100px;
}

.ogm-customer .regionHistoryLicensePlate {
    text-align: left;
    font: normal normal 600 14px/12px Segoe UI;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
    margin-left: 10px;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-node-loadindicator {
    width: 24px !important;
    min-width: 24px !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-toggle-item-visibility {
    width: 22px !important;
    min-width: 22px !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-node-container > .dx-treeview-node > .dx-treeview-item {
    padding-left: 24px !important;
}

/* TreeView tüm seviyeler için ellipsis */
.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-item {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-item-content {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 50px) !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-scrollable-wrapper {
    width: 100% !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-scrollable-content {
    width: 100% !important;
    max-width: 100% !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTree .dx-treeview-node-container {
    width: 100% !important;
    max-width: 100% !important;
}

.ogm-customer .RegionHistoryVehicleGroupsTreeHeader {
    padding: 12px 15px;
}

.ogm-customer .RegionHistoryVehicleGroupsTreeTitle {
    font: normal normal 600 20px/40px Segoe UI;
    color: #333333;
    font-weight: 600;
}

.ogm-customer .RegionHistoryAssetTypeSummary {
    width: 100%;
    padding: 10px 15px;
    background: #FFFFFF;
    box-sizing: border-box;
    display: none;
    flex-shrink: 0;
}

.ogm-customer .RegionHistoryAssetTypeSummary:not(:empty) {
    display: block;
}

.ogm-customer .assetTypeSummaryTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #DCDCDC;
}

.ogm-customer .assetTypeSummaryTable tr {
    height: 36px;
}

.ogm-customer .assetTypeSummaryTable td.assetTypeCell {
    border: 1px solid #DCDCDC;
    padding: 8px 12px;
    vertical-align: middle;
    width: 20%;
    background: #FFFFFF;
}

.ogm-customer .assetTypeSummaryTable td.assetTypeCell.empty {
    background: #FAFAFA;
}

.ogm-customer .assetTypeSummaryTable td.assetTypeCell .assetTypeName {
    font: normal normal 600 13px/18px Segoe UI;
    color: #333333;
    margin-right: 10px;
}

.ogm-customer .assetTypeSummaryTable td.assetTypeCell .assetTypeCount {
    font: normal normal 700 14px/18px Segoe UI;
    color: #333333;
    float: right;
}

.ogm-customer .RegionHistoryReportGridTitle {
    font: normal normal 600 16px/24px Segoe UI;
    color: #333333;
    padding: 10px 15px;
    border-bottom: 1px solid #DCDCDC;
    flex-shrink: 0;
}

/* OGM RegionHistory Map Popup */
.ogmRegionHistoryMapPopup .dx-popup-content {
    overflow: hidden !important;
    padding: 0px !important;
    margin: 0 !important;
    position: relative !important;
}

.ogm-customer .ogmRegionHistoryMapContent {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ogmRegionHistoryCesiumPopup {
    position: absolute;
    z-index: 10;
    display: none;
    pointer-events: none;
    white-space: normal;
    width: max-content;
    max-width: 320px;
}

.ogm-customer .ogmRegionHistoryMapOverlay {
    background: #FFFFFF;
    border: 1px solid #DCDCDC;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    max-width: 320px;
    pointer-events: auto;
}

.ogm-customer .ogmRegionHistoryMapOverlay:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #FFFFFF;
    pointer-events: none;
}

.ogm-customer .regionHistoryMapPopupDetail {
    font: normal normal normal 12px/18px Segoe UI;
    color: #333333;
}

.ogm-customer .regionHistoryMapPopupRow {
    padding: 2px 0;
    word-wrap: break-word;
}

.ogm-customer .regionHistoryMapPopupRow b {
    font: normal normal 600 13px/18px Segoe UI;
    color: #3379B7;
}

.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer,
.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer-cesiumWidgetContainer,
.ogm-customer .ogmRegionHistoryMapContent .cesium-widget,
.ogm-customer .ogmRegionHistoryMapContent .cesium-widget canvas {
    width: 100% !important;
    height: 100% !important;
}

.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer-infoBoxContainer,
.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer-selectionIndicatorContainer,
.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer-toolbar,
.ogm-customer .ogmRegionHistoryMapContent .cesium-viewer-bottom {
    display: none !important;
}

.ogm-customer .ogmRegionHistoryMap3DButton {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    width: 29px;
    height: 29px;
    border: none;
    border-radius: 2px;
    background-color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    color: #666666;
    text-align: center;
    line-height: 29px;
    cursor: pointer;
    box-shadow: 0px 3px 6px #00000066;
    padding: 0;
    transition: all 0.3s ease;
    user-select: none;
}

.ogm-customer .ogmRegionHistoryMap3DButton[on="on"] {
    background-color: #2196F3;
    color: #FFFFFF;
}

.ogm-customer .ogmRegionHistoryMap3DButton[on="off"] {
    background-color: #FFFFFF;
    color: #666666;
}

.ogm-customer .ogmRegionHistoryMap3DButton:hover {
    opacity: 0.8;
}

.ogm-customer .ogmRegionHistoryMapZoomButtons {
    position: absolute;
    top: .5em;
    left: .5em;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 4px;
}

.ogm-customer .ogmRegionHistoryMapZoomButton {
    display: block;
    margin: 1px;
    padding: 0;
    width: 1.375em;
    height: 1.375em;
    border: none;
    border-radius: 2px;
    background-color: #FFFFFF;
    font-size: inherit;
    font-weight: 700;
    color: #666666;
    text-align: center;
    line-height: .4em;
    cursor: pointer;
    user-select: none;
}

.ogm-customer .ogmRegionHistoryMapZoomButton:first-child {
    border-bottom: 1px solid #cccccc;
}

.ogm-customer .ogmRegionHistoryMapZoomButton:hover {
    background-color: #FFFFFF;
    color: #333333;
}
