
/* Hide child table last column and Gear icon */
.form-grid .grid-heading-row .col.grid-static-col:last-child {
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Start Hide ------------------ */
.footer-powered{display: none!important;} /* Hide Powered Footer */

.page-head button[data-label="Customize"] {display: none;} /* Hide Customize button */

li.dropdown.dropdown.dropdown-help.dropdown-mobile {display: none!important;} /* Hide Help Button */

/* Start Add Multiple -------- */
.grid-buttons .grid-add-multiple-rows.btn {display: none !important;}
/* End Add Multiple --------- */

/* Start Hide List-view Sidebar -------- */
.no-breadcrumbs[data-route^="List/"] .col-lg-2.layout-side-section {display: none !important;}
/* End Hide List-view Sidebar -------- */


.new-custom-btn {white-space: normal !important; margin-right: 4px; max-width: 120px;} /* New Custom Button*/

 /* .page-head .menu-btn-group {display: none;} */ /* Hide 3 dot Button */

 /* Show Doctype Lable with + icon in Add button for Mobile */
@media (max-width: 767.98px) {
    body[data-route^="List/"] .standard-actions button.primary-action span.hidden-xs {display: inline !important;}
    body[data-route^="List/"] .standard-actions > span.page-icon-group.hidden-xs.hidden-sm {display: inline !important;}
}

/* Status label in new line for Mobile */
@media (max-width: 767px) {
    body[data-route^="Form/Visit/"] .page-title .title-text {padding-right: 75px;}
    body[data-route^="Form/Visit/"] .page-title .title-area > div > .flex {flex-wrap: wrap;}
    body[data-route^="Form/Visit/"] .page-title .title-area .indicator-pill {margin-top: 5px; display: block;}
    
    
    body[data-route^="Workspaces/"] .standard-actions button.btn-secondary,
    button[data-label="Check%20Out"],
    button[data-label="Check%20In"] {white-space: nowrap}
    body[data-route^="Workspaces/"] .page-head .menu-btn-group {display: none;}
}

@media only screen and (max-width: 480px) {
    .grid-row-check.pull-left.left-minus {
        margin-left: -6px !important;
    }
}

.no-ellipse{
    text-overflow: inherit !important;
    white-space: normal;
    overflow-wrap: anywhere;
}
/* Like Button Hide-- */
.frappe-list input.list-check-all {margin-right: 22px !important;}
.frappe-list .list-row-like, .list-liked-by-me {display: none;}
/* End List View Table CSS ------------------ */

.widget .widget-head{
    flex-wrap: wrap;
}
.widget.dashboard-widget-box .widget-control {
    position: relative !important;
  }
/*   Table CSS ------------------ */
 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .grid-static-col,
 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .row-index,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .grid-static-col,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .row-index {height: auto;}

 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .static-area.ellipsis,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .static-area.ellipsis {white-space: normal;}
/* End Table CSS -------------- */

/* Hide the per-file "Private" checkbox in the file uploader modal (keeps "Optimize" visible) */
.file-uploader .file-preview .config-area label.frappe-checkbox:last-child {
    display: none !important;
}

/* Hide the "Set all private" / "Set all public" secondary button in the file uploader modal */
.modal-dialog:has(.file-uploader) .modal-footer .btn-secondary {
    display: none !important;
}