/* Import Material Icons */
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: url("../icons/material-icons.woff2") format('woff2');
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-size: 20px;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.material-icons-outlined {
  vertical-align: middle;
  line-height: 1px;
}

body {
  font-family: 'Montserrat', sans-serif;
}

ul {
  list-style: none;
}

.bold {
  font-weight: bold;
}

label {
  font-weight: normal !important;
}

.large-icon {
  font-size: 50px;
}

.btn-modal {
  color: #fff;
  border-radius: 0;
  border-color: #e3e2e2;
  background: transparent;
}

.btn-modal:hover {
  color: #fff;
  border-color: transparent;
  background: #167f8f;
}

.btn-action {
  border-color: #167f8f;
}

.btn-action:hover {
  color: #167f8f;
  background: #fafafa;
  border-radius: 0;
}

th {
  color: #17a2b8;
  font-weight: normal;
}


.hover-column {
  background-color: #fafafa;
}

th:hover {
  background-color: #fafafa;
}

.table-stripped {
  background: #e4e4e4 !important;
}

/* DataTables active page count */
.page-item .page-link {
  color: #17a2b8;
}

.page-item.active .page-link {
  border: none;
  background: #17a2b8;
}

/* More icon hover in the table */
.material-icons-outlined {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.more-vert-hover:hover {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fafafa;
  position: absolute;
}

/* Siedbar */
.main-sidebar {
  background: #25475e;
}

.nav-item .active {
  background: #416e8c !important;
}

/* Scroll bar */
::-webkit-scrollbar {
  width: 8px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #356281;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #537891;
  transition: opacity 0.5s;
}


.dropdown-toggle::after {
  display: none;
}


/* Action Dropdown */
.dropdown-menu.bg-info {
  background: #17a2b8;
  color: white;
}

/* Set hover effect for dropdown items */
.dropdown-menu.bg-info .dropdown-item:hover {
  background: #138496;
  color: white;
}

/* Set active or focused state for dropdown items */
.dropdown-menu.bg-info .dropdown-item:focus,
.dropdown-menu.bg-info .dropdown-item:active {
  background-color: #117a8b;
  color: white;
}


#qrcode {
  margin: 5px auto;
  display: block;
  width: 100px;
}

.user-profile {
  text-align: center;
  padding-left: 10px;
}

.text-grey {
  color: #949494;
}


/* Receipt / Invoice */
#section {
  padding: 20px;
  border: 1px solid lightgray;
  border-radius: 5px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.receipt-heading {
  padding: 5px 0px;
  background: #dbdbdb;
}

.invoice-bg {
  padding: 5px;
  background: #e6e6e6;
}

.unpaid-bg {
  color: #fff;
  padding: 8px 20px;
  border: 2px solid #b30000;
  background: red;
}

.paid-bg {
  color: #fff;
  padding: 8px 20px;
  border: 4px solid #008ae6;
  background: #1aa3ff;
}

.text-bold {
  font-weight: bold;
}

.text-italic {
  font-style: italic;
}

/* Hide photo preview by default */
#imgPreview {
  display: none;
}

/* Hide the default text on the input field*/
input[type="file"] {
  color: transparent;
}

@media print {

  /* Hide headers and footers */
  @page {
    size: auto;
    /* Use the default paper size */
    margin: 5mm;
    /* Set all margins to zero */
  }

  body {
    overflow: hidden;
  }

  /* Hide unnecessary elements */
  .wrapper {
    display: none;
  }

  /* Define specific styles for printed content */
  #section {
    padding: 20px;
    border: 1px solid lightgray;
    border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    page-break-inside: avoid;
    /* Avoid breaking section across pages */
  }

  .unpaid-bg,
  .paid-bg {
    display: inline-block;
    /* Ensure these elements stay inline */
  }

  .img {
    width: 100%;
  }
}


/* Calendar */
.calendar-container {
  text-align: center;
}

.month-calendar {
  border-collapse: collapse;
  margin: 0 auto;
}

.month-calendar th,
.month-calendar td {
  width: 200px;
  height: 60px;
  border: 1px solid #ccc;
}

.month-calendar caption {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.navigation-buttons {
  margin-bottom: 10px;
}

.month-calendar th {
  color: #ffffff;
  background-color: #17a2b8;
}

/* Highlight current date on calendar */
.current-date {
  background-color: #e6f2ff;
}

.month-calendar td:hover {
  color: #ffffff;
  cursor: pointer;
  background: #80d4ff;
}

/* Live camera */
#my_camera {
  width: 120px;
  height: 120px;
  border: 1px solid #cce6ff;
  background: #f0f0f5;
}


.view-photo {
  cursor: pointer;
}

.view-photo:hover {
  color: #167f8f;
}









.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select select {
  display: none;
  /* Hide the original select element */
}

.custom-select input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.custom-select select {
  position: relative;
  z-index: 0;
  background-color: transparent;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

/* Login form icons */
.email-container {
  position: relative;
}

.email-container input {
  padding-left: 40px;
}

.email-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.password-container {
  position: relative;
}

.password-container input {
  padding-left: 40px;
  padding-right: 40px;
}

.lock-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.password-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  color: skyblue;
  transform: translateY(-50%);
  cursor: pointer;
}


/* Table Action Icon */
.action-icon {
  opacity: 0;
  color: #17a2b8;
  transition: opacity 0.3s ease;
}

tr:hover .action-icon {
  opacity: 1;
  color: #17a2b8;
}

/* Table Action Icon and Text */
.hidden-link {
  opacity: 0;
  color: #17a2b8;
  transition: opacity 0.3s ease;
}

tr:hover .hidden-link {
  opacity: 1;
  color: #17a2b8;
}


/* Show or Hide button */
.show-hide-content {
  color: #167f8f;
  font-weight: bold;
  cursor: pointer;
}



/* Filter Option */
.options-container {
  width: 100%;
  display: none;
  z-index: 1000;
  overflow-y: auto;
  max-height: 200px;
  background: #eeebeb;
  box-sizing: border-box;
}

.option-item {
  cursor: pointer;
  padding: 10px;
}

.option-item:hover {
  background: #f0f0f0;
}