.hand {
    cursor: pointer!important;
}

body:not(.modal-open) .layout-content-navbar .layout-navbar {
  z-index: 1000!important;
}

/* .form-switch .form-check-input:checked {
  width: 20px;
  height: 33px;
}

.form-switch .form-check-input {
  width: 20px;
  height: 33px;
} */



.switch {
  position: relative !important;
  display: inline-block !important;
  width: 60px !important;
  height: 34px !important;
}
.switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
.slider {
  position: absolute !important;
  cursor: pointer;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #ccc !important;
  -webkit-transition: .4s !important;
  transition: .4s !important;
}
.slider:before {
  position: absolute !important;
  content: "" !important;
  height: 26px !important;
  width: 26px !important;
  left: 4px !important;
  bottom: 4px !important;
  background-color: white !important;
  -webkit-transition: .4s !important;
  transition: .4s !important;
}
input:checked + .slider {
  background-color: #06ba0f !important;
}
  input:focus + .slider {
  box-shadow: 0 0 1px #06ba0f !important;
}
  input:checked + .slider:before {
  -webkit-transform: translateX(26px) !important;
  -ms-transform: translateX(26px) !important;
  transform: translateX(26px) !important;
}
.slider.round {
  border-radius: 34px !important;
}
  .slider.round:before {
  border-radius: 50% !important;
}

 .dotted-border {
      border: 2px dotted #0d6efd!important;
      border-radius: 0.375rem!important;
      padding: 0.5rem!important;
      width: 100%!important;
      min-height: 120px!important;
      outline: none!important;
      transition: border-color 0.3s ease!important;
  }

  /* Round push button */
  .round-checkbox {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .round-checkbox input[type="checkbox"] {
    display: none;
  }

  .round-checkbox label {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #d1d1d1);
    border-radius: 50%;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
  }

  .round-checkbox input[type="checkbox"]:checked + label {
    background: linear-gradient(145deg, #d1d1d1, #ffffff);
    box-shadow: inset 6px 6px 12px #c5c5c5, inset -6px -6px 12px #ffffff;
  }

  .round-checkbox label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease-in-out;
  }

  .round-checkbox input[type="checkbox"]:checked + label::after {
    transform: translate(-50%, -50%) scale(1);
  }

 @media only screen and (max-width:991.98px) {

    #incomeTable thead {
        display: none;
    }

    #incomeTable,
    #incomeTable tbody,
    #incomeTable tr,
    #incomeTable td {
        display: block;
        width: 100%;
    }

    #incomeTable tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: .75rem;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    }

    #incomeTable td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .75rem 1rem;
        border: none;
        border-bottom: 1px solid #f1f1f1;
        text-align: right;
    }

    #incomeTable td:last-child {
        border-bottom: none;
    }

    #incomeTable td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #6c757d;
        text-align: left;
        margin-right: 1rem;
    }

    #incomeTable td:first-child {
        justify-content: center;
        background: #f8f9fa;
    }

    #incomeTable td:first-child::before {
        display: none;
    }

    #incomeTable .btn {
        width: 100%;
    }

    #incomeTable .d-flex.flex-column {
        width: 100%;
    }

    /* Role Table */
    #roleTable thead {
        display: none;
    }

    #roleTable,
    #roleTable tbody,
    #roleTable tr,
    #roleTable td {
        display: block;
        width: 100%;
    }

    #roleTable tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: .75rem;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    }

    #roleTable td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .75rem 1rem;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    #roleTable td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #6c757d;
        text-align: left;
        margin-right: 1rem;
    }

    #roleTable td:last-child {
        border-bottom: none;
    }

    #roleTable .btn {
        width: 100%;
    }

    #roleTable .d-flex {
        width: 100%;
    }
       

        /* Leave Table */
        #leaveTable tbody,
        #leaveTable tr,
        #leaveTable td {
            display: block;
            padding-left: .5rem;
        }
        #leaveTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #leaveTable td {
            position: relative;
            padding-left: 30%;
            border: none;
            white-space: nowrap!important;
        }
        #leaveTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #leaveTable tr {
            border-bottom: 1px solid #ccc;
        }

        /* Request Table */
        #requestTable tbody,
        #requestTable tr,
        #requestTable td {
            display: block;
            padding-left: .5rem;
        }
        #requestTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #requestTable td {
            position: relative;
            padding-left: 30%;
            border: none;
            white-space: nowrap!important;
        }
        #requestTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #requestTable tr {
            border-bottom: 1px solid #ccc;
        }

      /* Employee Table */
        #employeeTable tbody,
        #employeeTable tr,
        #employeeTable td {
            display: block;
            padding-left: .5rem;
        }
        #employeeTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #employeeTable td {
            position: relative;
            padding-left: 25%;
            border: none;
            white-space: nowrap!important;
        }
        #employeeTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #employeeTable tr {
            border-bottom: 1px solid #ccc;
        }

        /* Leave Table */
        #leaveTable tbody,
        #leaveTable tr,
        #leaveTable td {
            display: block;
            padding-left: .5rem;
        }
        #leaveTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #leaveTable td {
            position: relative;
            padding-left: 30%;
            border: none;
            white-space: nowrap!important;
        }
        #leaveTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #leaveTable tr {
            border-bottom: 1px solid #ccc;
        }

        /* Payslip Table */
        #payslipTable tbody,
        #payslipTable tr,
        #payslipTable td {
            display: block;
            padding-left: .5rem;
        }
        #payslipTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #payslipTable td {
            position: relative;
            padding-left: 25%;
            border: none;
            white-space: nowrap!important;
        }
        #payslipTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #payslipTable tr {
            border-bottom: 1px solid #ccc;
        }

        /* Convert User Table */
        #convertTable tbody,
        #convertTable tr,
        #convertTable td {
            display: block;
            padding-left: .5rem;
        }
        #convertTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #convertTable td {
            position: relative;
            padding-left: 25%;
            border: none;
            white-space: nowrap!important;
        }
        #convertTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #convertTable tr {
            border-bottom: 1px solid #ccc;
        }

        /* Advance payment Table */
        #advanceTable tbody,
        #advanceTable tr,
        #advanceTable td {
            display: block;
            padding-left: .5rem;
        }
        #advanceTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #advanceTable td {
            position: relative;
            padding-left: 30%;
            border: none;
            white-space: nowrap!important;
        }
        #advanceTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 10px;
            font-weight: bold;
        }
        #advanceTable tr {
            border-bottom: 1px solid #ccc;
        }


        /* Message Table */
        #msgTable tbody,
        #msgTable tr,
        #msgTable td {
            display: block;
            padding-left: .2rem;
        }
        #msgTable thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        #msgTable td {
            position: relative;
            padding-left: 30%;
            border: none;
            white-space: nowrap!important;
        }
        #msgTable td:before {
            content: attr(data-title);
            position: absolute;
            left: 25px;
            font-weight: bold;
        }
        #msgTable tr {
            border-bottom: 1px solid #ccc;
        }


  }

