/* 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;
}

.icon-lg {
  font-size: 2rem;
}

body {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none !important;
}

.custom-hr {
  border: 0;
  height: 2px;
  background: #17a2b8 !important;
}

ul {
  list-style: none;
}

label {
  font-weight: normal !important;
}

.large-icon {
  font-size: 50px;
}

.text-large {
  font-size: 2rem;
}

.btn-modal {
  color: #fff;
  border-color: #e3e2e2;
  border-radius: 0;
  background: transparent;
}

.btn-modal:hover {
  color: #fff;
  border-color: transparent;
  background: #117a8b;
}

.btn-action {
  border-color: #117a8b;
}

.btn-action:hover {
  color: #117a8b;
  background: #fafafa;
  border-radius: 0;
}

.btn-view-more {
  color: #117a8b;
  border: 1px solid #117a8b;
  background: transparent;
}

.btn-view-more:hover {
  color: #ffffff;
  background: #117a8b;
}

.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;
}


.clickable-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.clickable-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.clickable-card:hover {
  background: #e6f2ff;
}

/* Siedbar */
.main-sidebar {
  background: #25475e;
}

.nav-item .active {
  background: #416e8c !important;
}


/* Scroll bar */
::-webkit-scrollbar {
  width: 12px;
  /* for vertical */
  height: 8px;
  /* for horizontal */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #356281;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #537891;
  transition: opacity 0.5s;
}

/* Scrollbar track background */
::-webkit-scrollbar-track {
  background: #e6f2ff;
}


.dropdown-toggle::after {
  display: none;
}


/* Action Dropdown */
.dropdown-menu.bg-info {
  background-color: #17a2b8;
  color: white;
}

/* Set hover effect for dropdown items */
.dropdown-menu.bg-info .dropdown-item:hover {
  background-color: #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;
}




/* Show or Hide button */
.show-hide-content {
  color: #117a8b;
  font-weight: bold;
  cursor: pointer;
}




#qrcode {
  margin: 5px auto;
  display: block;
  width: 100px;
}

/* WhatsApp Icon */
.whatsapp-icon {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}

.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;
  }

  .unpaid-bg,
  .paid-bg {
    display: inline-block;
  }

  .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;
}



.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;
}


.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select select {
  display: none;
}

.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;
}


/* Table Action Icon */
.action-icon {
  color: #17a2b8;
}

/* Table Action Icon and Text */
.hidden-link {
  color: #17a2b8;
}

.t {
  position: relative;
  width: 100px;
}

/* Filter form on select option */
.options-container {
  display: none;
  z-index: 1000;
  background: #e9e8e8;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px;
}

.options-item {
  cursor: pointer;
}

.options-item:hover {
  background: #ffffff;
}


/* Table more action hover effect */
.more-vert-hover {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  transition: all 0.5s ease;
  color: #17a2b8;
  background: #fafafa;
}

.more-vert-hover:hover {
  background: #17a2b8;
  color: #ffffff;
}


.btn-print-receipt {
  color: #ffffff;
  border-radius: 0;
  border-color: #ffffff;
  background: transparent;
}

.btn-print-receipt:hover {
  color: #ffffff;
  background: #117a8b;
}


/* Live chat */
#live-chat {
  bottom: 60px;
  right: 30px;
  color: #ffffff;
  cursor: pointer;
  position: fixed;
  width: 40px;
  height: 40px;
  font-size: 26px;
  border-radius: 5px;
  background: #17a2b8;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 40px;
  text-align: center;
}

.material-icons {
  font-size: 24px;
}

#live-chat-box {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  background: #fafafa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

#chat-header {
  background: #17a2b8;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#chat-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
}

#chat-messages {
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
}

#chat-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #cccccc;
}

#message-input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 2px;
}

.input-field:focus {
  width: 100%;
  border-color: 1px solid #17a2b8;
}

#chat-input button {
  background: #17a2b8;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
}

#chat-messages {
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
}

#chat-messages div {
  margin-bottom: 10px;
}

.user-message {
  text-align: right;
}

.bot-message {
  text-align: left;
  color: #555;
}

.card-title {
  font-size: 1.5rem;
  align-items: center;
}