*{
    list-style:none;

}

.w-90{
    width:90%;
}


.w-10{
    width:10%;
}

body{
    overflow-x:hidden;
}
.main_container,
.left_panel,
.right_panel {
    height: calc(100vh - 133px);
}

.left_panel, .right_panel {
    width:1.8%;
    background-color: #c7d4e3;
}
.panel_bottom{
    width: 100%;
    bottom:0;
    background-color: #e5eef8;
}
.left_panel_menu{
    position: absolute;
    left: 0;
    top: 10px;
    transform: rotate(90deg) translate(26%, 121%);
    z-index:2;
}
.left_panel_menu li{
    font-size: 10px;
    padding: 2px 6px;
    background: #a6bfdc;
    border:1px solid #91b0d4;
    font-weight: bold;
    letter-spacing: 1px;
    color:#084298;
    cursor: pointer;
}
.right_panel_menu{
    transform: rotate(90deg) translate(17%, 78%);
}



.counter_properties_content{
    left: -350px;
    top: 2px;
    width: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    transition:all 0.3s ease-in;
    height: auto;
}
.show_left_panel {
    left:104%;
}

.group_container{
    right: -350px;
    top: 2px;
    width: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    transition:all 0.3s ease-in;
}
.show_right_panel {
    right:104%;
}
.cursor-pointer{
    cursor: pointer;
}
.cursor-move{
    cursor: move;
}
.main::-webkit-scrollbar, .counter_properties_content::-webkit-scrollbar {
    height: 8px;              /* height of horizontal scrollbar â† You're missing this */
    width: 8px;               /* width of vertical scrollbar */
    border: 1px solid #d5d5d5;
    border-radius:10px;
}
.counter_properties_content::-webkit-scrollbar-thumb, .main::-webkit-scrollbar-thumb {
    background: #a9a9a9;
}

.main_svg{
    background-color: rgb(255, 255, 255);
    user-select: none;
}
#main_svg circle, #main_svg polygon{
    opacity:0.6;
    /*transition:all 0.5s ease;*/
}
#window_cursor{
    position:fixed;
}
#window_cursor span, .shapeDiv_text{
    font-size: 150%;
}
.cursor_cross{
    cursor: crosshair;
}
.cursor_pan{
    cursor:grab;
}
.cursor_grabbing{
    cursor:grabbing;
}
svg path{
    transform-origin: 50% 50%;
}
.text-left{
    text-align:left !important;
}
.flex{
    display: flex;
}
.outline{
    outline: 3px dotted #111111;
}
.static {
    cursor: not-allowed;
}
.z-index{
    z-index:999;
}
#svg_settings{
    position:absolute;
    display:none;
    z-index:1000;
    width: 300px;
}
.svg_settings_li:hover{
    cursor:pointer;
    background-color: #f1e8cf;
    transition:all 0.5s ease;
}
.svg_settings_li .fa{
    transition: all 0.5s ease;
}

.settings_list{
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.7);
    border-radius:5px;
    background-color: rgba(255,255,255);

}
.modal_header_icon{
    font-size:46px;
}

.display_plan{
    width:100%;
    overflow:hidden;
}
.display_plan_img{
    width:100%;
    height:100%;
    object-fit: contain;
}
.zoom_div{
    left:50%;
    top:50%;
    background: rgba(255,0,0,0.5);
    z-index:1;
    width:100%;
    height:100%;
    translate: -50% -50%;
    transform:scale(1);
}
#main_svg_display, #main_svg_display image {
    width: 100%;
    background-size: cover;
    zoom: 0.5;
    height: calc(100vh - 129px);
}
.modal_objects_scale{
    transform:scale(0.5);
}
.modal_objects:hover{
    background-color: #f1e8cf;
    cursor:default;
}
.modal_objects{
    padding:10px;
    border-radius:5px;
    transition: all 0.3s ease;
}

/*----------  Group part ------------*/

.group_btn_style{
    background: #aac2d2!important;
    color:#084298;
    font-weight:bold;
    border:none!important;
    outline:none!important;
    border-radius:0!important;
    box-shadow:none!important;
}
.group_menu_li{
    padding:5px;
}
.group_menu_li:hover{
    background: #debc66 ;
}

.group_icons{
    font-size:20px;
}
.group_menu_li_content{
    background: #dde7ee;
}
.select_plan{
    outline:none!important;
    box-shadow: none!important;
    border-radius: 0!important;
}
.small_counter{
    width: 15px;
    height: 15px;
    font-size: 8px;
    line-height: 15px;
    transition:all 0.5s ease;
}
.counters_visibility_none{
    opacity:0 !important;
    visibility:hidden;
    transition:all 0.5s ease;
}
.small_counter_opacity{
    opacity:0.5;
}
#length_sum, #counter_count {
    font-size:14px;
}

.groups_obj_count, .group_counter_data p{
    font-size:14px;
}
.scale_modal_icon{
    position: absolute;
    font-size: 55px;
    color: #2994d8;
    top: 44px;
    left: 30px;
    z-index: 999;
}
.scale_modal_body{
    padding-left:100px;
}
.scale_modal_body p{
    font-size:14px;
}
#editInput{
    outline: none;
}

#main {
    position: relative;
    width: 97%;
    height: 100%;
    background-color: rgb(227, 224, 224);
    overflow: auto;
}
#workareaWrapper {
    position: relative;
    width: 0;  /* JS will set correct size */
    height: 0; /* JS will set correct size */
}
#workarea.grabbing {
    cursor: grabbing; /* while dragging */
}
#workarea {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    transition: transform 0.5s ease; /* smooth zoom/pan */
}



@-webkit-keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes load {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#load-indicator-content {
    position: fixed;
    display: none;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgb(0,0,0,0.1);
    z-index: 9999;
}

.load {
    position: absolute;
    top: calc(50% - 41px);
    left: calc(50% - 41px);
    border: 16px solid #0042A4;
    border-radius: 50%;
    border-top: 16px solid #3775CF;
    border-right: 16px solid #619BEE;
    border-bottom: 16px solid #96BFF9;
    border-left: 16px solid #C9E0FF;
    width: 50px;
    height: 50px;
    -webkit-animation: load 1.5s linear infinite;
    animation: load 1.5s linear infinite;
}
.load-indicator-content-svg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.load-svg {
    position: absolute;
    top: calc(50% - 47px);
    left: calc(50% - 15px);
    border: 6px solid #0042A4;
    border-radius: 50%;
    border-top: 6px solid #3775CF;
    border-right: 6px solid #619BEE;
    border-bottom: 6px solid #96BFF9;
    border-left: 6px solid #C9E0FF;
    width: 30px;
    height: 30px;
    -webkit-animation: load 1.5s linear infinite;
    animation: load 1.5s linear infinite;
}
.animate_left_icon, .animate_right_icon{
    left:0;
    top:109px;
    background: #aac2d2;
    padding:8px 10px;
    display:none;
    z-index:999;
    transform:rotate(180deg);
}
.animate_right_icon{
    transform:rotate(0deg);
    right:0;
    left:auto;
}
.animate_left_icon i, .animate_right_icon i{
    color: #084298;
    font-size: 40px;
}
.group_btn_style:after{
    display:none;
}
.right_animate_icon{
    transform:rotate(180deg);
}
.for_animate_x{
    position:absolute;
    left:0;
    top:0;
    width:96%;
    transition: all 0.5s ease;
}
.group_for_animate{
    left:2%;
}
.slide_left{
    left:-100%;
}
.slide_right{
    left:100%;
}
.zoom_procent{
    color:#084298;
    font-size:14px;
}
.save_plan_icon{
    color: #000;
    font-size: 20px;
    padding: 1px;
}
.save_plan_btn_click{
    color:#198754;
    animation: savePlan 0.5s 1 alternate;
}

@keyframes savePlan {
    0% {color: #000;}
    50%  {color: #198754;}
    100%{color: #198754;}
}


/*----------- Reports Part ----------------*/

.reports_modal_body::-webkit-scrollbar {
    height: 10px;              /* height of horizontal scrollbar â† You're missing this */
    width: 10px;               /* width of vertical scrollbar */
    border: 1px solid #d5d5d5;
    border-radius:0px;
}
.reports_modal_body::-webkit-scrollbar-thumb {
    background: #a9a9a9;
}

.reports_modal_body {
    height:300px;
    overflow-y:auto;
    font-size:12px;
}
.slide {
    position: absolute;
    left: -10px;
    top: 8px;
    width: 13px;
    height: 9px;
    border: 1px solid silver;
    font-size: 8px;
    text-align: center;
    line-height: 9px;
    cursor:pointer;
}
.reports_icons {
    width:25px;
    object-fit:cover;
}
.reports_modal_body .form-check-input{
    font-size: 16px;
}
.plans_list:before {
    position: absolute;
    content: '';
    left: 21px;
    top: 0;
    border-left: 1px dashed silver;
    height: 120%;
}
.reports_h2_title{
    color:#084298;
    font-weight: bold;
}
.bg-white{
    background: white;
}
.bg-gray-25{
    background: rgb(227, 224, 224);
}
.red_color{
    color: #b80606
}
.small_text{
    font-size: 12px;
}
.border-dotted{
    border-bottom: 1px dotted darkgrey;
}
.report_container{
    min-height: calc(100vh - 133px);
}
#progress-bar{
    width: 20%;
    height:1.5rem;
    position: absolute;
    top: calc(50% - 29px);
    left: 40%;
    border-radius: 1rem;
}
#percent{
    position: absolute;
    left: 46%;
    top: 5%;
    font-size: 15px;
    font-weight: bold;
}
#is_plan_changed {
    width: 15px;
    height: 15px;
    cursor: pointer;
    border: 2px solid #0d6efd;
    margin-top: 0px !important;
}

/* Checked color */
#is_plan_changed:checked {
    border: 2px solid #fff;
    accent-color: white; /* modern way to change checkbox color */
}

/* Resizable panels: names ellipsize at real width (tooltips show full name).
   Row structure: .group_counter_data > .col-8 [icon + .px-1 wrapper > span] +
   count + .col-1 checkbox. For ellipsis, the shrink chain must reach the span:
   col-8 shrinkable (min-width:0), the d-inline-block wrapper converted to a
   shrinkable flex child, the span ellipsizing. The icon (first child of col-8),
   the count, and the checkbox refuse to shrink so they always stay visible. */
.group_counter_data {
    overflow: hidden;
    flex-wrap: nowrap;
}
.group_counter_data > .col-8 {
    min-width: 0;                       /* allow this flex child to shrink */
    flex-shrink: 1;
}
.group_counter_data > .col-8 > :first-child {
    flex-shrink: 0;                     /* the tool icon: never squeezed */
}
.group_counter_data > .col-8 > .px-1 {
    display: block !important;          /* override d-inline-block */
    min-width: 0;                       /* let the wrapper shrink */
    overflow: hidden;
}
.group_counter_data span.m-0 {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.group_counter_data > .col-1 {
    flex-shrink: 0;                     /* checkbox column: never squeezed */
}


/* Groups panel: clickable rows, selected-row highlight, inline name editor */
#group_section .group_counter_data { cursor: pointer; }
#group_section .group_counter_data.group-row-selected { background-color: #ffe9a8; }
#group_section .group_counter_data .px-1.group-name-editing { flex: 1 1 auto; min-width: 0; }
#group_section .group_counter_data .group-name-input {
    width: 100%;
    height: 22px;
    font-size: 13px;
    line-height: 20px;
    padding: 0 4px;
    box-sizing: border-box;
}
