body{
    /* display: flex; */
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    background-color: #f6f6f6;
    padding: 0;
    border: 0;
    margin: 0;
}


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 */
    
    width: 100%; 
    max-width: 100%;
    padding: 2% 1%;
   
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* 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: 170%;
    color: gray;
    margin-left: 1vw;
}
td img{
    height:20px
}

  /* 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;
  }
  
  /* Checkmark */
  .checkbox-custom::after {
    content: "✔";
    font-size: 16px;
    color: white;
    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;
  }
  
  /* 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: white;
    transition: 0.2s;
    border-right:1px solid rgb(196, 196, 196);
   
    box-shadow: 0px;
    height: 100%;
}
.nav_menu_header_img {
    width: 55vw;
    padding: 1vw;
}
.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;
} */
#hamburger_button{
    display: block;
}

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

}
.mobile_hidden{
    display: none !important;
}
input{
   
    border: 0px;
}
.search{
    border: 1px solid gray;
    border-radius:5px;
    padding: 1vw;
    background-color: white;
}
.mobile_search{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 3vh;
    align-items: center;
    background-color: #f0fbff;
    padding: 2vw;
}
.mobile_hamburger button{
    margin:0px 6px 0px 6px;
    border: 0px;
    border-radius: 10px;
}
.mobile_hamburger button img{
    height: 80px;
    padding: 2px;
}

th div{
    display: none;
}
table{
   width: 100%;
    border-collapse: collapse;
}
table th{
    font-size: 25px;
    background-color: rgb(91, 91, 91);
    color:whitesmoke;
    padding:1% 1% 1% 1%;
    text-align: left;
}

table td{
   
    border-bottom: 1px solid gray;
    padding:2% 1% 2% 3%;
}
table td div{
    display: flex;
    align-items: center;
}
.validate_error{
    background-color: rgb(251, 218, 247) !important;
}
.sidenav{
    position: absolute;
    top:6vh;
    right: 0px;
    left: 0px;
    bottom:0px;
    overflow: auto;
    z-index: 1;
    background-color: white;
 
}
/* Quill */
/* .ql-container{
    font-size: 40px !important;
} */
.ql-toolbar{
    display: none;
}
.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: .2em .2em 0;
    height: 7.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:25px;
    height: fit-content;
    background-color: white;
}
.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: flex;
    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:100%;
    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: white;
   
}
.mobile_container{
    justify-content: center;
    max-width: 100vw;
}

#solution_submit{
    background:#ffa600;
    color:white
}
#resolve{
    background:#2ecc71;
    color:white
}
.highlight {
    background-color:#60d0f6  !important;
}
label{
    width: 98%;
    margin: 1%;
    font-weight: bold;
}

/* JQuery changes ------------------------------------------------------------------ */
.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    background: white;
    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: white;
    border-radius: 10px;
    
  }
.no_bar .ui-dialog-content{
    font-size: 8vw;
    color:rgb(98, 98, 98);
    background-color: white;
    border-radius: 5vw 5vw 0px 0px;
}

.no_bar_no_button .ui-dialog-content{
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    border:1px solid rgb(177, 177, 177);
}
.no_bar_no_button .ui-dialog-titlebar {
    display: none;
    background-color: white;
    border-radius: 10px;
    
}
.validate_success{
    background-color: #d8fddc !important;
}
.post_solution{
    background-color: rgb(253, 190, 71);
}
.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;
}
.normal_stinkin_row{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile_button_disabled{
    background: grey;
}


/* ---------------------------------------------------------==========================================------------------------------------------------------ */

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,
.nav_menu
{
    font-size: 40px;
}
.center_contents{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
@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,
    .nav_menu
    {
        font-size:16px;
    }
    .checkbox-custom {
        width: 16px;
        height: 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: 0px;
    }
    .ui-dialog-buttonset{
        justify-content: center;
        width: auto;
    }
}