/* Touch-friendly overrides for POS / tablet use.
   Applied to every device, every screen size.
   !important is used because this file loads before Metronic's bundle and
   must win specificity battles against it. */

/* Sidebar links: bigger tap target */
.menu .menu-item > .menu-link,
.menu .menu-item > .menu-link .menu-title {
    font-size: 1rem !important;
    line-height: 1.4 !important;
}
.menu .menu-item > .menu-link {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    min-height: 52px !important;
}
.menu .menu-sub .menu-item > .menu-link {
    min-height: 48px !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

/* Header / topbar buttons */
.header .btn,
.toolbar .btn,
.app-toolbar .btn {
    min-height: 48px !important;
    padding: 0.7rem 1.1rem !important;
}

/* Primary action buttons */
.btn.btn-sm {
    min-height: 42px !important;
    padding: 0.6rem 1.1rem !important;
    font-size: 0.95rem !important;
}
.btn {
    min-height: 46px;
    padding: 0.7rem 1.2rem;
}
.btn-icon.btn-sm {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
}
.btn-icon {
    width: 46px;
    height: 46px;
    min-height: 46px;
}

/* Form controls: bigger inputs for finger typing */
.form-control,
.form-select {
    min-height: 46px !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    font-size: 1rem !important;
}
.form-control.form-control-sm,
.form-select.form-select-sm {
    min-height: 42px !important;
    font-size: 0.95rem !important;
}

/* Bigger checkbox / radio targets */
.form-check .form-check-input {
    width: 1.4rem !important;
    height: 1.4rem !important;
}
.form-check {
    min-height: 34px;
    padding-left: 2rem;
}

/* DataTables rows */
table.dataTable tbody td,
table.dataTable thead th {
    padding: 0.95rem 0.85rem !important;
}
table.dataTable tbody tr {
    min-height: 60px;
}

/* Row action icons: always visible on touch (no hover to reveal) */
.list-icons {
    opacity: 1 !important;
}
.list-icons .btn-icon {
    width: 44px !important;
    height: 44px !important;
}

/* Modal: bigger close target + footer buttons */
.modal .btn-close,
.modal [data-bs-dismiss="modal"].btn {
    min-width: 46px !important;
    min-height: 46px !important;
}
.modal-footer .btn {
    min-height: 46px !important;
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
}

/* Search input in toolbar */
.action-search {
    min-height: 46px !important;
    font-size: 1rem !important;
}

/* SweetAlert buttons (used by delete confirms) */
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
    min-height: 46px !important;
    font-size: 1rem !important;
    padding: 0.7rem 1.6rem !important;
}

/* Dropdowns / menus: bigger items */
.menu .menu-item .menu-link .menu-icon {
    font-size: 1.3rem !important;
}
.dropdown-menu .dropdown-item {
    min-height: 46px !important;
    padding: 0.8rem 1.1rem !important;
    font-size: 1rem !important;
}
