﻿body {
    font-size: 0.9rem !important;
}
.form-control {
    min-height: 44px !important;
}
.form-control:focus {
    border: 1.5px solid blue !important;
}
.btn_custom {
    height: 40px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.select2-selection {
    min-height: 44px !important;
}

.borderDesign {
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 8px 0 !important;
    box-sizing: border-box !important;
    border: 2px solid #ccc !important;
    -webkit-transition: 0.5s !important;
    transition: 0.5s !important;
    outline: none !important;
}

    .borderDesign:focus {
        border: 2px solid #555 !important;
    }
#txtRate::before {
    content: "$ ";
}
.select2-container .select2-selection--single .select2-selection__rendered {
    margin-left: 10px; /* Pushes the text to the center */
    margin-top: 2px;
}
#txtRate {
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 8px 0 !important;
    box-sizing: border-box !important;
    border: 2px solid #ccc !important;
    -webkit-transition: 0.5s !important;
    transition: 0.5s !important;
    outline: none !important;
}

    #txtRate:focus {
        border: 2px solid #555 !important;
    }

/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
/*.dl-horizontal dt {
    white-space: normal;
}*/
/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/
.dataTables_filter input {
    width: 50px
}

.select2.select2-container--default .select2-selection--multiple {
    border-color: #070606 !important;
}

label.is-invalid {
    display: none !important;
}

.dtClear{
    margin-left:inherit !important;
    width: inherit !important;
}
.checkbox input[type="checkbox"]:focus + label::before,
.checkbox input[type="checkbox"]:focus + input[type="hidden"] + label::before,
.checkbox input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.alink:hover{
    text-decoration:underline;
}
.alink:visited {
    color: #4578CF
}
/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    display: inline-block;
    padding: 0px;
    border-radius: 100%;
    border: 6px solid;
    border-top-color: #005a9c;
    border-bottom-color: #005a9c;
    border-left-color: rgba(0, 90, 156, 0.15);
    border-right-color: rgba(0, 90, 156, 0.15);
    -webkit-animation: spinner 0.8s ease-in-out infinite alternate;
    animation: spinner 0.8s ease-in-out infinite alternate;
}

@keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

/*.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
}*/

/*.is-invalid .select2-container--default {
    border: 1px solid #a94442;
    border-radius: 4px;
}*/

.menu_border {
    border-bottom: 0.5px solid white;
    border-top: 0.5px solid white;
}

    .menu_border:hover {
        background-color: #33384c;
    }

.menu-item.menu_border.active {
    background-color: #33384c;
}
.previous {
    width: 100px
}

.next {
    width: 100px
}

.pagination .page-item.active .page-link {
    background-color: #007bff !important;
    color: #fff !important;
}
.wrapper .page-wrap .app-sidebar .sidebar-header .nav-toggle {
    color: black !important;
}

.wrapper .page-wrap .app-sidebar.colored .sidebar-header{
    background-color:white !important;
}

.anchorTagColor {
    color: #007bff;
}

.modal-content {
    box-shadow: 1px 1px 1px 1px;
}
/*@media (max-width: 575.98px) {
    .global_search_bar {
        width: 280px !important;
    }
}*/
@media (min-width: 575.98px) {
    #job_btns div {
        width: 50% !important;
        padding: 0 20px !important;
    }

}
#headerButtons {
    width: 300px !important;
}
@media (max-width: 575.98px) {
    .mainContent {
        margin-top: 30px !important;
    }
    #fluidpadding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #CustomerFluidpadding {
        padding-left: 20px !important;
    }
/*    #cardHeader {
        height: 105px !important;
        padding-bottom: 5px !important;
    }*/
    /*#CustomerCardHeader {
        height: 130px !important;
        padding-bottom: 5px !important;
    }*/
    .projectIconCol {
        width: 50px !important;
    }
    .projectIconCol .projectImg {
            margin-left: 0px !important;
            width: 50px !important;
            font-size: 50px !important;
        }
    .projectUserName h4 {
        font-size: large !important;
    }
    .jobUser {
        width: 200px !important;
    }
    .projectStatus {
        width: 160px !important;
    }
    .btnsRow .jobDetails {
        margin-top: 25px !important;
    }
    .btnsRow button {
        padding: 2px 8px !important;
    }
    #homeAddNewBtns button {
        font-size: xx-small !important;
        padding:2px 9px !important;
    }
    
    .text_margin {
        margin-left: 20px !important;
        
    }
    .m_b_10 {
        margin-bottom: 10px !important;
    }
    #quotation_Fluid .text-sm-right {
        margin-top: 10px !important;
    }
    #addCustomerBtn button {
        margin-top: 10px !important;
        font-size: x-small !important;
        padding: 2px 8px !important;
    }
    #invoiceDocBtn button {
        font-size: x-small !important;
        padding: 2px 8px !important;
    }
    
}

@media (max-width: 767.98px) {
    .mob_lable {
        margin-top: 10px ;
    }
    #homeAddNewBtns button {
        font-size: x-small !important;
    }
    .btnsRow button {
        font-size: smaller !important;
        margin-bottom: 5px !important;
        margin-top: 5px !important;
        margin-right: 0px !important;
    }
    .overViewRow hr{
        width: 100% !important;
        height: 0.5px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    #addQuotationBtn h2 {
        font-size: x-large !important;
    }

    #addQuotationBtn button {
        font-size: smaller !important;
        margin-top: 10px !important;
        padding: 2px 12px !important;
    }

/*    #cardHeader {
        height: 85px !important;
    }*/
    /*#CustomerCardHeader {
        height: 80px !important;
        padding-bottom: 5px !important;
    }*/

    .col_center {
        text-align: left;
    }
}

@media (max-width: 991.98px){
/*    #cardHeader {
        height: 80px !important;
    }*/
    .btnsRow button {
        font-size: smaller !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        margin-right: 0px !important;
    }

    #homeHideSendPaper {
        display: none !important;
    }
    
    #projectHideNav {
        display: none !important;
    }
    .projectBtnHide {
        display: none !important;
    }
}
@media (min-width: 991.98px){
    .btnsRow button {
        padding:2px 8px !important;
    }
}

.invoiceLeftBtn button {
    margin: 6px 5px 6px 0 !important;
}
.invoiceRightBtn button {
    margin: 6px 8px 6px 0 !important;
}


.projectUserName {
    /*margin-left: 10px !important;*/
}

#job_btns button, #CustomerFluidpadding button, #quotation_Fluid button, #invoice_Fluid button {
    padding-top: 5px !important;
}

.header-top {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.container-fluid {
    padding: 0px 15px !important;
}

.select2-selection {
    margin-left: 6px !important;
}

.select2-search__field {
    margin-top: 10px !important;
    padding: 0 6px 0 8px !important;
}

.select2-selection__rendered {
    padding: 0px !important;
}

#userDropdown {
    padding-right: 15px !important;
}

.white1{
    background-color:white !important;
}
.gray1 {
    background-color: rgba(0,0,0,.05) !important;
}

/* Group row styles */
tr.group {
    cursor: pointer;
}
.group {
    /* Your styles for groups */
    font-weight: bolder; /* Light gray background */
   
    color: #007BFF;
}
.collapsed1 {
    /* Your styles for special collapsed state */
}
.group1 {
    /* Your styles for groups */
    font-weight: bold; /* Light gray background */

}

    /* Collapsed state */
tr.group.collapsed td:first-child:before {
    content: ' + ';
    font-weight: bold;
    font-size: 22px;
    margin-right: 5px;
    /*content: url('https://raw.githubusercontent.com/DataTables/DataTables/1.10.7/examples/resources/details_open.png');*/
    transform: translateY(-50%); /* Center vertically */
}

    /* Expanded state */
tr.group:not(.collapsed) td:first-child:before {
    content: ' - ';
    font-weight: bold;
    font-size:22px;
    margin-right: 5px;
    /*content: url('https://raw.githubusercontent.com/DataTables/DataTables/1.10.7/examples/resources/details_close.png');*/
    cursor: pointer;
    transform: translateY(-50%); /* Center vertically */
}

    /* Even group color */
    tr.group.even-group-color {
        background-color: #f2f2f2; /* Light gray */
    }

    /* Odd group color */
    tr.group.odd-group-color {
        background-color: #e6e6e6; /* Lighter gray */
    }

/* Additional styling for child rows */
tr.child-row {
    display: none; /* Initially hide child rows */
 
}

/* Show child rows when group is expanded */
tr.group:not(.collapsed) + tr.child-row {
    display: table-row;
}


tr.group1 {
    cursor: pointer;
    color: green;
    font-style: italic;
}

    /* Collapsed state */
    tr.group1.collapsed1 td:first-child:before {
        margin-left: 30px;
        content: ' + ';
        font-size: 22px;
        /*content: url('https://raw.githubusercontent.com/DataTables/DataTables/1.10.7/examples/resources/details_open.png');*/
    }

    /* Expanded state */
    tr.group1:not(.collapsed1) td:first-child:before {
        font-size: 22px;
        margin-left: 30px;
        content: ' - ';
        /*content: url('https://raw.githubusercontent.com/DataTables/DataTables/1.10.7/examples/resources/details_close.png');*/
        cursor: pointer;
    }

    /* Even group color */
    tr.group.even-group-color {
        background-color: #f2f2f2; /* Light gray */
    }

    /* Odd group color */
    tr.group.odd-group-color {
        background-color: #e6e6e6; /* Lighter gray */
    }

/* Show child rows when group is expanded */
tr.group1:not(.collapsed1) + tr.child-row {
    display: table-row;
}

#tblqbBills tbody td {
    vertical-align: top;
}
#tblIncome tbody td {
    vertical-align: top;
}
#tblInvoiceLineItems tbody td {
    vertical-align: top;
}
#tblEmailTemplate tbody td{
    vertical-align: top;
}
.dataTables_wrapper table.dataTable tbody td {
    vertical-align: top;
}
.form-control {
    border: 1px solid #070606 !important;
}
    .form-control.is-invalid {
        border-color: #dc3545 !important;
    }

    .form-control.is-valid {
        border-color: #28a745 !important;
    }

#tblEquipmentLineItems {
    width: 100%;  
    min-width: 1200px; 
}
#tblServicesLineItems {
    width: 100%;
    min-width: 1200px;
}
#tblMaterialsLineItems {
    width: 100%;
    min-width: 1200px;
}

.dropzone .dz-preview .dz-error-message {
    top: -64px !important;
    left: -4px !important;
}

.dz-preview .dz-error-mark {
    margin-top: -45px !important;
}

.dropzone .dz-preview .dz-error-message:after {
    border-bottom: 6px solid transparent !important;
}

.dropzone .dz-preview {
    margin-top: 46px !important;
}
.truncate-link {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: blue;
    text-decoration: underline;
}
.sidebar_badge {
    position: static !important;
    margin-left: 49px !important;
}
.photogallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-container {
    position: relative; 
    overflow: hidden;
}

    .photo-container img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .photo-container img:hover {
            transform: scale(1.05);
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
            border-color: #007bff;
        }

.icon-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column; 
    gap: 10px;
    visibility: hidden;
    z-index: 2;
}

.photo-container:hover .icon-container {
    visibility: visible;
}

.download-icon, .trash-icon, .edit-icon {
    font-size: 18px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .download-icon:hover {
        background-color: #28a745;
    }

    .trash-icon:hover {
        background-color: #dc3545;
    }

    .edit-icon:hover {
        background-color: #007bff;
    }

.photo-gallery.empty {
    display: flex; 
    justify-content: center;
    align-items: center;
    height: 30px; 
    text-align: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh; 
/*    display: inline-block;
*/}

.modal-dialog.modal-custom-size {
    width: 80%;
    height: 90%; 
    max-width: 1200px; 
    max-height: 800px; 
    margin: auto; 
}

.modelContent {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.modalbody {
    display: flex;
    height: 100%;
    background-color: black;
}

.leftsection {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
    margin-right:5px;
}

    .leftsection img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        background-color: black;
    }

.rightsection {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa; 
    color: #000;
    overflow-y: auto; 
}
.toggle-room-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    /* Default collapsed state (Green +) */
    .toggle-room-btn.collapsed {
        background-color: green;
        color: white;
    }

    /* Expanded state (Red -) */
    .toggle-room-btn.expanded {
        background-color: red;
        color: white;
    }
.daterangepicker {
    font-size: 12px;
}

    .daterangepicker .calendar-table {
        table-layout: fixed;
        font-size: 11px;
    }

    .daterangepicker .drp-calendar .drp-buttons {
        font-size: 12px;
    }

    .daterangepicker .drp-calendar input {
        padding: 3px 5px;
        font-size: 12px;
    }
.wrapper .page-wrap .app-sidebar .sidebar-header .nav-close {
    color: black !important;
}


.custom-image-grid {
    display: grid;
    gap: 10px; /* Space between images */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Responsive square grid */
    justify-content: center;
}

.custom-grid-item {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures square shape */
    overflow: hidden;
    position: relative;
}

    .custom-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures image fills the square without distortion */
        border-radius: 8px; /* Optional: Rounded corners */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Soft shadow effect */
    }

.__markerjs2__0_toolbox, __markerjs2__5_toolbox {
    height: 1px !important;
}
.__markerjs2_ > div > div:nth-child(2),
.__markerjs2__0_ > div > div:nth-child(2) {
    max-height: 100% !important;
}
.__markerjs2_ > div > div:nth-child(3),
.__markerjs2__0_ > div > div:nth-child(3) {
    height: 1px !important;
}

/* Sidebar Styling*/
.wrapper .page-wrap .app-sidebar.colored .sidebar-content {
    background-color: #263f6c !important;
}
.wrapper .page-wrap .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item a i {
    color: #ffffff !important;
}
.nav-item.active,
.nav-item.open,
.nav-item.has-sub.open {
    background-color: #0663b3 !important;
}
    .nav-item.has-sub.open .submenu-content .nav-item.has-sub.open {
        background-color: #004784 !important;
    }
.wrapper .page-wrap .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item.open::after,
.wrapper .page-wrap .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item.active::after {
    background-color: #da2b18 !important;
    height: 35px !important;
}
.menu-item.menu_border.active {
    background-color: #33384c !important;
    color: #da2b18 !important;
}
.wrapper .page-wrap .app-sidebar.colored .sidebar-content .nav-container .navigation-main .submenu-content .nav-item.has-sub.open .submenu-content {
    background-color: #6c757d !important;
}
.nav-item.has-sub .submenu-content .menu-item.active {
    color: white !important;
    font-weight: 700;
    background-color: #6c757d;
}
.wrapper .page-wrap .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item .submenu-content {
    background-color: #142a51 !important;
}

.custom-modal-size {
    max-width: 75% !important;
    width: 75% !important;
}

.totals {
    color: rgba(0, 0, 0, 0.6);
}

#frmMeasurement:disabled {
    background-color: #f5f5f5;
    opacity: 1;
}
@media (min-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 auto;
        width: 20%; 
        padding-left: 15px; 
        padding-right: 15px; 
    }
}

.User-table-responsive {
    overflow-x: hidden;
    width: 100%;
}
.UserTable {
    width: 100% !important;
    margin-left: 0 !important;
    table-layout: fixed;
}
.project-name {
    display: none;
}

@media print {
    .project-name {
        display: block !important;
        text-align: center;
        margin-bottom: 20px;
    }
}
.simple-tab-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

    .simple-tab-wrapper::-webkit-scrollbar {
        height: 5px;
    }

    .simple-tab-wrapper::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

.simple-tabs {
    display: inline-flex;
    gap: 20px;
}

    .simple-tabs .nav-link {
        font-weight: 500;
        color: #495057;
        border: none;
        background: transparent;
        padding: 6px 0;
        position: relative;
    }

        .simple-tabs .nav-link:hover {
            color: #1d4ed8;
        }
        .simple-tabs .nav-link.active {
            color: #1d4ed8;
            padding-left: 12px;
            padding-right: 12px;
        }

            .simple-tabs .nav-link.active::after {
                content: "";
                position: absolute;
                bottom: -6px;
                left: 0;
                width: 100%;
                height: 2px;
                background: #1d4ed8;
                border-radius: 4px;
            }


.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

    .progress-indicator::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        height: 2px;
        background: #d1d5db;
        z-index: 1;
    }

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 10px;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbe3ec;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #263f6c 0%, #265baf 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(38, 91, 175, 0.3);
}

.progress-step.completed .step-icon {
    background: #38b000;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    text-align: center;
}

.progress-step.active .step-label {
    color: #265baf;
}

.progress-step.completed .step-label {
    color: #38b000;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .form-step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e9ef 100%);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #265baf;
}

    .section-header h5 {
        margin: 0 0 0.5rem 0;
        color: #1e293b;
        font-weight: 600;
    }

    .section-header p {
        margin: 0;
        color: #6b7280;
    }

.section-subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.35rem;
    border-left: 3px solid #38b000;
}

    .section-subheader h6 {
        margin: 0;
        color: #1e293b;
        font-weight: 600;
    }

/* Dynamic Containers */
.dynamic-container {
    min-height: 100px;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.35rem;
    border: 2px dashed #cbd5e1;
    margin-right: 0px !important;
    margin-left: 0px !important;
    /*    display: flex;
        flex-wrap: wrap;
        gap: 20px;*/
}

.dynamic-placeholder {
    width: 100%;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 2rem;
}

.labor-record .row,
.equipment-record .row {
    margin-top: 1rem;
}

/* Record Cards */
.labor-record, .equipment-record {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding-right: 12px;
    padding-left: 12px;
    /*flex: 0 0 calc(50% - 10px);*/ /* Two per row with gap */
    /*background: #f9f9f9;
        padding: 15px;
        border-radius: 6px;
        position: relative;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);*/
}

    .labor-record:hover, .equipment-record:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    .labor-record .remove-btn,
    .consumable-record .remove-btn,
    .equipment-record .remove-btn {
        /*position: absolute;*/
        top: 0.5rem;
        right: 0.5rem;
        background: #ff6b6b;
        color: white;
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

        .labor-record .remove-btn:hover,
        .consumable-record .remove-btn:hover,
        .equipment-record .remove-btn:hover {
            background: #ee5253;
            transform: scale(1.1);
        }

        .labor-record .remove-btn i,
        .consumable-record .remove-btn i,
        .equipment-record .remove-btn i {
            pointer-events: none;
            font-size: 1rem;
        }
    .equipment-record .equ-takeOut {
        /*position: absolute;*/
        top: 0.5rem;
        right: 0.5rem;
        background: #6b80ff;
        color: white;
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

        .equipment-record .equ-takeOut:hover {
            background: #4855a1;
            transform: scale(1.1);
        }
#workPerformed {
    /* make sure it can overflow */
    overflow-y: auto;
    /* enable iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
    /* allow the user to resize it vertically if you like */
    resize: vertical;
}
/* mobile = anything narrower than 768px; tweak as needed */
@media (max-width: 767px) {
    #quill-toolbar .hide-on-mobile {
        display: none !important;
    }
}

        .equipment-record .equ-takeOut i {
            pointer-events: none;
            font-size: 1rem;
        }
.form-control:focus {
    border-color: #265baf;
    box-shadow: 0 0 0 0.2rem rgba(38, 91, 175, 0.25);
}

.input-groupwork .btn {
    border-left: none;
    background: linear-gradient(135deg, #263f6c 0%, #265baf 100%);
    border-color: #265baf;
}

    .input-groupwork .btn:hover {
        background: linear-gradient(135deg, #1f3b61 0%, #204e97 100%);
    }

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.btnprimarywork {
    background: linear-gradient(135deg, #263f6c 0%, #265baf 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(38, 91, 175, 0.3);
}

    .btnprimarywork:hover {
        background: linear-gradient(135deg, #1f3b61 0%, #204e97 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(38, 91, 175, 0.4);
    }

.btn-success-work {
    background: linear-gradient(135deg, #3ddc84 0%, #1fab89 100%);
    border: none;
    color: white;
}

    .btn-success-work:hover {
        background: linear-gradient(135deg, #1fc981 0%, #149e75 100%);
    }

.btn-danger-work {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    border: none;
    color: white;
}

    .btn-danger-work:hover {
        background: linear-gradient(135deg, #e85050 0%, #d03a3a 100%);
    }

.work-card {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border-radius: 0.5rem;
}

.page-header-work {
    background: linear-gradient(135deg, #263f6c 0%, #265baf 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

    .page-header-work h2 {
        color: white;
        margin: 0;
    }

    .page-header-work p {
        color: rgba(255,255,255,0.8);
        margin: 0.5rem 0 0 0;
    }

.input-groupwork .input-group-appendwork .btnWork {
    height: 44px !important;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

@media (max-width: 768px) {
    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
    }

        .progress-indicator::before {
            display: none;
        }

    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }

        .step-actions .btn {
            width: 100%;
        }
}

/* Photo upload styles */
#workRecordPhotoDropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

    #workRecordPhotoDropzone:hover {
        border-color: #007bff;
        background: #f0f8ff;
    }

    #workRecordPhotoDropzone .dz-message {
        margin: 0;
    }

        #workRecordPhotoDropzone .dz-message i {
            color: #ccc;
            margin-bottom: 10px;
        }

        #workRecordPhotoDropzone .dz-message h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: #333;
        }

        #workRecordPhotoDropzone .dz-message p {
            color: #666;
            margin: 0;
        }

.dropzone .dz-preview .dz-image {
    border-radius: 4px;
}

.dropzone .dz-preview .dz-remove {
    color: #dc3545;
    font-weight: bold;
}

    .dropzone .dz-preview .dz-remove:hover {
        color: #c82333;
    }

#uploadMessage {
    margin-top: 10px;
}

    #uploadMessage.alert-success {
        background-color: #d4edda;
        border-color: #c3e6cb;
        color: #155724;
    }

    #uploadMessage.alert-danger {
        background-color: #f8d7da;
        border-color: #f5c6cb;
        color: #721c24;
    }

/* Make tabs scroll horizontally on mobile */
@media (max-width: 768px) {
    .simple-tabs {
        flex-wrap: nowrap; /* Prevent wrapping */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Keep items in one line */
        -webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
    }

        .simple-tabs .nav-item {
            flex: 0 0 auto; /* Prevent shrinking */
        }

        /* Optional: Hide scrollbar for WebKit browsers */
        .simple-tabs::-webkit-scrollbar {
            display: none;
        }
}
.table-hover-row {
    background-color: #f8f9fa !important;
}

#myReqTable tbody tr {
    cursor: pointer;
}

    #myReqTable tbody tr:hover {
        background-color: #e9ecef !important;
    }