body{
    /* display: flex; */
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    background-color: var(--bg);
    padding: 0;
    border: 0;
    margin: 0;
    color: var(--text)
}


select,
input:not([type='checkbox'],[type='file'],[type="radio"]),
textarea,
.mobile_info_bubble {
    appearance: none; /* Removes default styles */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    max-width: 100%;
    padding: 2% 1%;
    color: var(--text);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin:1vw;
}
input:not([type='checkbox'],[type='file'],[type="radio"]),
textarea{
    width: 97%
}
select{
    width:99%
}
  
  /* Styling for when the select is focused */
  select:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
  }
  /* Hide default checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
  }
fieldset{
    appearance: none; /* Removes default styles */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    padding: 0px;
    margin: 0px;
    border: 0px;
}
legend{
    font-size: 5vw;
    color: var(--text);
    margin-left: 1vw;
    text-align: center;
}
#command_table_controls legend{
    text-align: center;
    padding:1vw;
}
td img{
    width:6vw;
}

  /* Label styling (checkbox container) */
  .checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    padding:1%;
  }
  
  /* Custom checkbox box */
  .checkbox-custom {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 2px solid #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px;
  }
  
  /* Checkmark */
  .checkbox-custom::after {
    content: "✔";
    font-size: 16px;
    color: var(--surface);
    display: none;
  }
  
  /* Checked state */
  input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  input[type="checkbox"]:checked + .checkbox-custom::after {
    display: block;
  }
  
  /* Accessibility: Focus state */
  input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  /* Disabled state */
  input[type="checkbox"]:disabled + .checkbox-custom {
    background-color: #ccc;
    border-color: #aaa;
    cursor: not-allowed;
  }
  #hamburger_button{
    display: block;
  }
  
  /* Adding a custom dropdown arrow */
  .mobile-select-container {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .mobile-select-container::after {
    content: "▼";
    font-size: 14px;
    color: #555;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Ensures clicks go to the select */
  }
  
  /* Improve touch responsiveness */
  select:active, select:hover {
    border-color: #0056b3;
  }
.body{
    position: absolute;
    top:6vh;
    right: 0px;
    left: 0px;
    bottom:0px;
    overflow: auto;

}
.main{
    display: flex;
    width:100%;
    justify-content: center;
    justify-items: center;
    align-items: center;
    justify-self: center;
    background-color: aliceblue;
}
.nav_menu{
    position: absolute;
    top: 0vh;
    right: 0px;
    left: 0px;
    width: 60vw;
    background-color: var(--surface);
    transition: 0.2s;
    border-right: 1px solid rgb(196, 196, 196);
    box-shadow: 0px;
    height: 100%;
    font-size: 4vw;
}

.nav_menu_header_img {
    width: 55vw;
    padding: 1vw;
    display: block;
}
.nav_menu .nav_ul{
    padding: 0px 5px 5px 0px;
    justify-content: space-around;
    height: 80%;
}
#close_nav{
    display: block;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}
/* .auto_space_right{
    margin-left: auto;
} */


.mobile_hamburger{
    position: absolute;
    top: 0vh;
    right: 0px;
    width:100vw;
    background-color: var(--bg);
    transition: 0.2s;
    border-left:1px solid rgb(196, 196, 196);
   
    box-shadow: 0px;
    height: 100%;
    z-index: 1;

}
.mobile_hidden{
    display: none !important;
}
.hidden_2 {
    display: none;
}
.hidden_3 {
    display: none !important;
}
input{
   
    border: 0px;
}
.search{
    border: 1px solid gray;
    border-radius:5px;
    padding: 1vw;
    background-color: var(--surface);
}
.mobile_search{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 3vh;
    align-items: center;
    background-color: var(--bg);
    padding: 2vw;
}
.mobile_hamburger button{
    border: 0px;
    border-radius: 10px;
    background-color: var(--header-btn-bg);
    padding: 2vw;
}
.mobile_hamburger button img{
    height: 10vw;

}

th div{
    display: none;
}
table{
   width: 100%;
    border-collapse: collapse;
}
table th{
    font-size: 16px;
    background-color: var(--surface-alt);
    color:var(--text);
    padding:1% 1% 1% 1%;
    text-align: left;
}

table td{
   
    border-bottom: 1px solid gray;
    padding:2% 1% 2% 1%;
}
.ticket_td_row{
    display: flex;
    align-items: center;
    gap:1vw;
    width: 100%;
}
.validate_error, .bg-danger{
    background-color: var(--error) !important;
}
.sidenav{
    position: absolute;
    top:6vh;
    right: 0px;
    left: 0px;
    bottom:0px;
    overflow: auto;
    z-index: 1;
    background-color: var(--bg);
 
}
/* Quill */
/* .ql-container{
    font-size: 40px !important;
} */
.ql-toolbar{
    display: none;
}
.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: .2em .2em 0;
    height: 29.25px;
    border-bottom: 1px solid #d3d3d3;
}
.ticket_handle{
    border: 1px solid #2d5665;
    border-radius: 3px;
    color: white;
    background-color: rgb(89, 104, 129);
    width: 12vw;
    padding: 1vw 1vw 1vw 1vw;
    margin: 1vw;
    cursor: pointer;
    font-weight: bold;
}
.ticket_open{
    background-color: rgb(192, 79, 79);
}
.ticket_closed{
    background-color: rgb(68, 233, 53);
}
.ticket_resolved{
    background-color: rgb(255, 179, 0);
}
.mobile_labeled_bubble{
    border: 1px solid #bababa;
    margin: 1vw 1vw 2vw 1vw;
    border-radius: 2vw;
    width: 90%;
    padding:14px;
    height: fit-content;
    background-color: var(--surface);
}
.mobile_labeled_bubble select{
    border:none;
    box-shadow: none;
}
.mobile_labeled_bubble_label{
   
    color:gray;
}
.mobile_labeled_bubble_expand_container{
    display: flex;
    justify-content: space-between;
    color:gray;
    align-items: center;
}
.mobile_labeled_bubble_expand_container i{
    font-size: 25px;
}
.mobile_info_bubble_label{
    font-size: 2vw;
    color: gray;
    margin: 1vw;
}
.tag{
    color:white;
    background-color: rgb(199, 34, 191);
    border-radius: 1vw;
    margin:1vw;
    padding: 1vw 2vw 1vw 2vw;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: row;
   
}
.ql-editor{
    padding:0px;
    max-width: 100vw;
}
.command_notes .ql-editor{
    overflow-y: visible;
}
.ql-container.ql-snow {
    border: 0px solid #ccc;
}
   
.mobile_button{
    width:99%;
    padding:2% 2%;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   
}
.mobile_button:active {
    transform: scale(0.98);
    background-color: #00408a;
}
.mobile_row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* width: 98%; */
    gap:1%;
    margin: 1%;
}
.tel_row{
    display: flex;
    margin: 1%;
    justify-content: left;
}
.input_plus_button_mobile_row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin:1vw
}
.mobile_row span{
    /* color:gray; */
   
}
.mobile_row i{
    color: var(--surface-alt);
   
}
.mobile_container{
    justify-content: center;
    max-width: 100vw;
}

#solution_submit{
    background:#ffa600;
    color:white
}
#resolve{
    background:#2ecc71;
    color:white
}
.highlight {
    background-color:var(--highlight)  !important;
}
label{
    margin: 1%;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1vw;
}

.input_plus_button_mobile_row img{
    width: 25px;
    cursor: pointer;
    padding-right:10px
}

/* JQuery changes ------------------------------------------------------------------ */
.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    background: var(--surface);
    border-radius: 0px 0px 5vw 5vw;

}

.ui-dialog-buttonset{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin: 1vw;
}
.ui-dialog .ui-dialog-buttonpane button{
    width:100%;
    padding: 2vw 2vw;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 5vw;
    font-weight: normal;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{
    float:none;
}
.no_bar .ui-dialog-titlebar, .invisible_dialog .ui-dialog-titlebar {
    display: none;
    background-color: var(--surface);
    border-radius: 10px;
    
  }
.no_bar .ui-dialog-content{
    font-size: 8vw;
    color:var(--text);
    background-color: var(--surface);
    border-radius: 5vw 5vw 0px 0px;
}

.no_bar_no_button .ui-dialog-content{
    background-color: var(--surface);
    border-radius: 10px 10px 10px 10px;
    border:1px solid rgb(177, 177, 177);
}
.no_bar_no_button .ui-dialog-titlebar {
    display: none;
    background-color: var(--surface);
    border-radius: 10px;
    
}
.validate_success{
    background-color: var(--success) !important;
}
.post_solution{
    background-color: var(--solution);
}
.mobile_button_row{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin:1%;
    gap:1%;

}
/* .mobile_button_row button{
    width:auto;
   
} */
.mobile_button_row button i{
    display: none;
}
.inputfile {
    z-index: 2;
    display: block;
    width: 100%;
    opacity: 0;
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    color: transparent;
    border: none;
    cursor: pointer;
}

.mobile_button_disabled{
    background: grey;
}
.simple_flex{
    display: flex;
    align-items: center;
    gap:1vw;
}
.normal_stinkin_row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:1vw;
}
.checklist_name{
    font-size: 4vw;
    border-bottom: 1px solid #cbcbcb;
    padding: 1vw;
}
.checklist_name img{
    width:48px;
}

.headerv3{
    position: absolute;
    top:6vh;
    right: 0px;
    left: 0px;
    bottom:0px;
    overflow: auto;
}
label[for='attachments_input']{
    display: flex;
    align-items: center;
    font-size: 3vw;
}
label[for='attachments_input'] img{
    width:7vw;
    height:auto;
}
.icon_button{
    width:99%;
    background: var(--surface-alt);
    color: var(--text);
}
.icon_button img{
    width:10vw;
}
#attachments_list{
    width:95%;
}
#attachments_list td img{
    width:40px;
    height:auto;
}
.prog_bar{
    height: 1vh;
    border-radius: 8px;
    border: 1px solid gray;
    width:100%;
}
.prog_bar_container{
    font-size: 3vw;
}
div.open_checklist{
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size:3vw;
    color: #535353;
    
}
div.open_checklist img{
    width: 10vw;
}
/* ---------------------------------------------------------==========================================------------------------------------------------------ */

/* select,
input:not([type='checkbox'],[type='file'],[type="radio"]),
textarea,
.mobile_info_bubble,
.mobile_row,
.mobile_row span,
.mobile_button,
.tag,
.mobile_labeled_bubble_label,
.sidenav,
table td,
.ql-editor,
.mobile_hamburger,
input,
.checkbox-container
{
    font-size: 40px;
} */
.center_contents{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.table_like{
    display: flex;
    flex-direction: column; 
}
.table_like_row {
  display: flex;
  justify-content: space-between; 

}

.table_like_cell {
  flex: 1; 
}
.table_like_cell:nth-child(1) {
  flex-basis: 45%; 
}
#checklist_dialog table td{
    font-size: 2vw !important;
}
#mobile_filter_tickets_dialog{
    font-size: 5vw;
}
#mobile_area_picker div,
#mobile_status_picker div,
#mobile_type_picker div
{
    display: flex;
    align-items: center;
    gap: 1vw;
    margin: .5vh 0 0 0;
}
#mobile_area_picker img,
#mobile_status_picker img,
#mobile_type_picker img{
    width: 6vw;
}
#mobile_area_picker div.selected,
#mobile_status_picker div.selected,
#mobile_type_picker div.selected{
    border-radius: 10px;
    background-color: #60d0f6;
}
.notification_box{
    font-size:5vw;
    border-bottom: 1px solid gray;
    margin-bottom: 4px;
} 
.note_selector {
    font-size: 3vw !important;
}
.notification_icon img{
    width:8vw
}
@media (min-width:1000px){

    .body{
        left:10vw;
        right:10vw;
    }

    select,
    input:not([type='checkbox'],[type='file'],[type="radio"]),
    textarea,
    .mobile_info_bubble,
    .mobile_row,
    .mobile_row span,
    .mobile_button,
    .tag,
    .mobile_labeled_bubble_label,
    .sidenav,
    table td,
    .ql-editor,
    .mobile_hamburger,
    input,
    .checkbox-container

    {
        font-size:16px;
        margin: 5px;
        padding: 10px;
    }
    .nav_menu{
        font-size:16px;
        top:6vh;
        height: fit-content;
    }
    #attachments_list{
        width:100%;
    }
    #attachments_list td img{
        width:20px;
        height:auto;
    }
    .checkbox-custom {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }
    .no_bar .ui-dialog-content{
        font-size: 16px;
        border-radius: 0px;
        
    }
    .ui-dialog .ui-dialog-buttonpane{
        border-radius: 0px;
    }
    .ui-dialog .ui-dialog-buttonpane button{
        font-size: 16px;
        width: auto;
        padding: 5px;
        margin-left: auto;
    }
    .ui-dialog-buttonset{
        justify-content: center;
        width: auto;
    }
    .nav_menu_header_img{
        display: none;
    }
    .nav_menu{
        width: 18vw;
    }
    .input_plus_button_mobile_row{
        margin:10px;
    }
    .checkbox-container{
        padding:5px
    }
    label{
        margin:5px;
    }
     label[for='attachments_input']{
        font-size: 16px;
     }
    label[for='attachments_input'] img{
        width:22px;
        height:auto;
    }
    .icon_button{
        width:auto;
    }
    .icon_button img{
        width:auto;
    }
    .mobile_button{
        width:auto;
        padding:5px 5px;
        color: #fff;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        transition: background 0.3s ease-in-out, transform 0.1s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .checklist_name{
        font-size: 16px;;
    }
    .prog_bar_container{
        font-size: 16px;
    }
   
}
.open_container{
    height:auto !important;
}
.active{
    background-color: var(--active) !important;
}