::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: #005e54;
  border-radius: 20px;
  cursor: pointer;
}

.htmlbody::-webkit-scrollbar {
  display: none !important;
}

#preloader {
  opacity: 0.6;
  cursor: not-allowed;
}

.required-indicator {
  color: red;
  font-weight: bold;
}

.mastercard:hover {
  cursor: pointer;
}

.hover-pointer:hover {
  cursor: pointer;
}

.floatright {
  float: right;
  align-content: end;
  align-items: end;
}

.disabled {
  pointer-events: none;
}

.hidden {
  display: none;
}

/*  */
#preview {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}

.page {
  width: 100%;
  height: 100%;
}

.marvel-device .screen {
  text-align: left;
}

.screen-container {
  height: 100%;
}

/* Status Bar */

.status-bar {
  height: 25px;
  background: #004e45;
  color: #fff;
  font-size: 14px;
  padding: 0 8px;
}

.status-bar:after {
  content: "";
  display: table;
  clear: both;
}

.status-bar div {
  float: right;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 8px;
  font-weight: 600;
}

/* Chat */

.chat {
  height: calc(100% - 69px);
}

.chat-container {
  height: 100%;
}

/* User Bar */

.user-bar {
  height: 55px;
  background: #005e54;
  color: #fff;
  padding: 0 8px;
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.user-bar:after {
  content: "";
  display: table;
  clear: both;
}

.user-bar div {
  float: left;
  transform: translateY(-50%);
  position: relative;
  top: 50%;
}

.user-bar .actions {
  float: right;
  margin: 0 0 0 20px;
}

.user-bar .actions.more {
  margin: 0 12px 0 32px;
}

.user-bar .actions.attachment {
  margin: 0 0 0 30px;
}

.user-bar .actions.attachment i {
  display: block;
  transform: rotate(-45deg);
}

.user-bar .avatar {
  margin: 0 0 0 5px;
  width: 36px;
  height: 36px;
}

.user-bar .avatar img {
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  display: block;
  width: 100%;
}

.user-bar .name {
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  margin: 0 0 0 8px;
  overflow: hidden;
  white-space: nowrap;
  width: 110px;
}

.user-bar .status {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Conversation */

.conversation {
  height: calc(100% - 12px);
  position: relative;
  background: #efe7dd
    url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg")
    repeat;
  z-index: 0;
  margin: 10px;
}

.conversation ::-webkit-scrollbar {
  transition: all 0.5s;
  width: 5px;
  height: 1px;
  z-index: 10;
}

.conversation ::-webkit-scrollbar-track {
  background: transparent;
}

.conversation ::-webkit-scrollbar-thumb {
  background: #b3ada7;
}

.conversation .conversation-container {
  height: calc(100% - 68px);
  box-shadow: inset 0 10px 10px -10px #000000;
  overflow-x: hidden;
  padding: 0 16px;
  margin-bottom: 5px;
}

.conversation .conversation-container:after {
  content: "";
  display: table;
  clear: both;
}

/* Messages */

.message {
  color: #000;
  clear: both;
  line-height: 18px;
  font-size: 15px;
  padding: 8px;
  position: relative;
  margin: 8px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: -1;
}

.message:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.metadata {
  display: inline-block;
  padding: 0 0 0 7px;
  position: relative;
  bottom: -4px;
}

.metadata .time {
  color: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  display: inline-block;
}

.metadata .tick {
  display: inline-block;
  margin-left: 2px;
  position: relative;
  top: 4px;
  height: 16px;
  width: 16px;
}

.metadata .tick svg {
  position: absolute;
  transition: 0.5s ease-in-out;
}

.metadata .tick svg:first-child {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: perspective(800px) rotateY(180deg);
  transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: perspective(800px) rotateY(0deg);
  transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
  -webkit-transform: perspective(800px) rotateY(0);
  transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
  -webkit-transform: perspective(800px) rotateY(-179.9deg);
  transform: perspective(800px) rotateY(-179.9deg);
}

.message:first-child {
  margin: 16px 0 8px;
}

.message.received {
  background: #fff;
  border-radius: 0px 5px 5px 5px;
  float: left;
}

.message.received .metadata {
  padding: 0 0 0 16px;
}

.message.received:after {
  border-width: 0px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -10px;
}

.message.sent {
  background: #e1ffc7;
  border-radius: 5px 0px 5px 5px;
  /* float: right; */
}

.messagebuttons > button {
  width: 85%;
  font-size: medium;
}

.message.sent:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #e1ffc7;
  top: 0;
  right: -10px;
}

/* Compose */

.conversation-compose {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  overflow: hidden;
  height: 50px;
  width: 100%;
  z-index: 2;
}

.conversation-compose div,
.conversation-compose input {
  background: #fff;
  height: 100%;
}

.conversation-compose .emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 5px 0 0 5px;
  flex: 0 0 auto;
  margin-left: 8px;
  width: 48px;
}

.conversation-compose .input-msg {
  border: 0;
  flex: 1 1 auto;
  font-size: 16px;
  margin: 0;
  outline: none;
  min-width: 50px;
}

.conversation-compose .photo {
  flex: 0 0 auto;
  border-radius: 0 0 5px 0;
  text-align: center;
  position: relative;
  width: 48px;
}

.conversation-compose .photo:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  position: absolute;
  width: 0;
  height: 0;
  content: "";
  top: 0;
  right: -10px;
}

.conversation-compose .photo i {
  display: block;
  color: #7d8488;
  font-size: 24px;
  transform: translate(-50%, -50%);
  position: relative;
  top: 50%;
  left: 50%;
}

.conversation-compose .send {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 8px;
  margin-right: 8px;
  padding: 0;
  position: relative;
  outline: none;
}

.conversation-compose .send .circle {
  background: #008a7c;
  border-radius: 50%;
  color: #fff;
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation-compose .send .circle i {
  font-size: 24px;
  margin-left: 5px;
}

/* Small Screens */

@media (max-width: 768px) {
  .marvel-device.nexus5 {
    border-radius: 0;
    flex: none;
    padding: 0;
    max-width: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }

  .marvel-device > .screen .chat {
    visibility: visible;
  }

  .marvel-device {
    visibility: hidden;
  }

  .marvel-device .status-bar {
    display: none;
  }

  .screen-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .conversation {
    height: calc(100vh - 55px);
  }

  .conversation .conversation-container {
    height: calc(100vh - 120px);
  }
}

.border-right {
  border-right: 0.5px solid var(--bs-border-color);
}

#media_perview > img,
#media_perview > iframe {
  width: auto !important;
}

/*  */
/* .awesomplete [hidden] {
    display: none;
}

.awesomplete .visually-hidden {
    position: absolute;
    clip: rect(0, 0, 0, 0);
} */
/* 
.awesomplete {
    display: inline-block;
    position: relative;
} */

/* .awesomplete > input {
    display: block;
} */

.awesomplete > ul {
  position: absolute;
  left: 0;
  z-index: 1;
  min-width: 100%;
  box-sizing: border-box;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
}

.awesomplete > ul:empty {
  display: none;
}

.awesomplete > ul {
  border-radius: 0.3em;
  margin: 0.2em 0 0;
  background: hsla(0, 0%, 100%, 0.9);
  background: linear-gradient(to bottom right, white, hsla(0, 0%, 100%, 0.8));
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0.05em 0.2em 0.6em rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

@supports (transform: scale(0)) {
  .awesomplete > ul {
    transition: 0.3s cubic-bezier(0.4, 0.2, 0.5, 1.4);
    transform-origin: 1.43em -0.43em;
  }

  .awesomplete > ul[hidden],
  .awesomplete > ul:empty {
    opacity: 0;
    transform: scale(0);
    display: block;
    transition-timing-function: ease;
  }
}

/* Pointer */
.awesomplete > ul:before {
  content: "";
  position: absolute;
  top: -0.43em;
  left: 1em;
  width: 0;
  height: 0;
  padding: 0.4em;
  background: white;
  border: inherit;
  border-right: 0;
  border-bottom: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.awesomplete > ul > li {
  position: relative;
  padding: 0.2em 0.5em;
  cursor: pointer;
}

.awesomplete > ul > li:hover {
  background: hsl(200, 40%, 80%);
  color: black;
}

.awesomplete > ul > li[aria-selected="true"] {
  background: hsl(205, 40%, 40%);
  color: white;
}

.awesomplete mark {
  background: hsl(65, 100%, 50%);
}

.awesomplete li:hover mark {
  background: hsl(68, 100%, 41%);
}

.awesomplete li[aria-selected="true"] mark {
  background: hsl(86, 100%, 21%);
  color: inherit;
}

/*# sourceMappingURL=awesomplete.css.map */

.attendance-body {
  border-radius: 10px;
  padding: 20px;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 15px;
}

.info-label {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 5px;
}

.info-value {
  font-size: 18px;
  font-weight: bold;
  color: #343a40;
}

#attendance_photo {
  width: 11rem;
  height: 11rem;
  border-radius: 8px;
  margin-bottom: 15px;
}

#showmap {
  height: 50rem;
  width: 100%;
}

.datatr:hover {
  cursor: grab;
  background-color: var(--bs-table-border-color) !important;
}

.dashboardcard {
  margin-bottom: 5px !important;
}

.data-grid {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.data-cell {
  width: 120px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  color: #000;
  margin: 5px;
}

.no-joiners-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 13rem !important;
  margin: 50px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.no-joiners-container i {
  font-size: 50px;
  margin-bottom: 10px;
}

.no-joiners-text {
  font-size: 16px;
}
.title_icon {
  color: #019355 !important;
}
.text-left {
  text-align: left;
}
#managedata {
  width: max-content !important;
  z-index: 100000000;
}

/* Finiloop Dashboard Styles - Scoped to avoid conflicts */
.finiloop-dashboard * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.finiloop-dashboard {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
  min-height: 100vh;
  color: #4a7c59;
}

.finiloop-header {
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid #4a7c59;
}

.finiloop-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.finiloop-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.finiloop-logo i {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 12px;
}

.finiloop-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.finiloop-select,
.finiloop-date-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.finiloop-select option {
  background: #16a34a;
  color: white;
}

.finiloop-toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.finiloop-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.finiloop-main {
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 2rem;
}

.finiloop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.finiloop-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(74, 124, 89, 0.12);
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-left: 4px solid #4a7c59;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: move;
  position: relative;
}

.finiloop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(74, 124, 89, 0.2);
}

.finiloop-card.hidden {
  display: none;
}

.finiloop-card-header {
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.finiloop-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.finiloop-card-actions {
  display: flex;
  gap: 0.5rem;
}

.finiloop-card-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.finiloop-card-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.finiloop-card-content {
  padding: 1.5rem;
  height: 400px;
}

.finiloop-map-container {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.finiloop-chart-container {
  height: 100%;
}

.finiloop-hrm-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.finiloop-stat-item {
  background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
  padding: 1.8rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-left: 4px solid #4a7c59;
  transition: all 0.3s ease;
}

.finiloop-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 124, 89, 0.15);
}

.finiloop-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #4a7c59;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(74, 124, 89, 0.1);
}

.finiloop-stat-label {
  color: #4a7c59;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
}

.finiloop-activities {
  height: 100%;
  overflow-y: auto;
}

.finiloop-activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
}

.finiloop-activity-item:hover {
  background: rgba(74, 124, 89, 0.08);
  border-left: 4px solid #4a7c59;
  padding-left: 1.5rem;
}

.finiloop-activity-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.25);
}

.finiloop-activity-content {
  flex: 1;
}

.finiloop-activity-title {
  font-weight: 600;
  color: #4a7c59;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.finiloop-activity-time {
  font-size: 0.85rem;
  color: #4a7c59;
  opacity: 0.7;
}

/* Employee List Styles */
.employee-list {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(74, 124, 89, 0.12);
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-left: 4px solid #4a7c59;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.employee-list-header {
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.employee-list-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.employee-list-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.employee-list-content {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.employee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
  border-radius: 12px;
  border: 1px solid rgba(74, 124, 89, 0.1);
  border-left: 3px solid #4a7c59;
  transition: all 0.3s ease;
}

.employee-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(74, 124, 89, 0.15);
  border-left-width: 4px;
}

.employee-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.25);
}

.employee-info {
  flex: 1;
}

.employee-name {
  font-weight: 600;
  color: #4a7c59;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.employee-status {
  font-size: 0.85rem;
  color: #4a7c59;
  opacity: 0.7;
}

.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-present {
  background: linear-gradient(135deg, #d1f2d1 0%, #c8e6c8 100%);
  color: #4a7c59;
  border: 1px solid rgba(74, 124, 89, 0.3);
}

.status-leave {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.status-absent {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.finiloop-category-sidebar {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
  height: fit-content;
}

.finiloop-category-title {
  font-weight: 700;
  color: #4a7c59;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.finiloop-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.finiloop-category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 124, 89, 0.1);
}

.finiloop-category-item:hover {
  background: rgba(74, 124, 89, 0.08);
  border-color: #4a7c59;
}

.finiloop-category-item.active {
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  border-color: #4a7c59;
}

.finiloop-category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.finiloop-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.finiloop-fullscreen-content {
  background: white;
  border-radius: 16px;
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.finiloop-fullscreen-header {
  background: linear-gradient(135deg, #4a7c59 0%, #3d6b4a 100%);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.finiloop-fullscreen-body {
  flex: 1;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.finiloop-fullscreen-chart {
  height: 100%;
}

.finiloop-fullscreen-table {
  background: #f8fffe;
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
}

.finiloop-data-table {
  width: 100%;
  border-collapse: collapse;
}

.finiloop-data-table th,
.finiloop-data-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.finiloop-data-table th {
  background: rgba(74, 124, 89, 0.1);
  font-weight: 600;
  color: #4a7c59;
}

.finiloop-dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

@media (max-width: 768px) {
  .finiloop-grid {
    grid-template-columns: 1fr;
  }

  .finiloop-filters {
    flex-direction: column;
    gap: 0.5rem;
  }

  .finiloop-fullscreen-body {
    grid-template-columns: 1fr;
  }

  .finiloop-hrm-stats {
    grid-template-columns: 1fr;
  }
}

#timeRangeButtons button {
  margin-right: 8px;
  padding: 4px 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid #4a7c59;
  background-color: white;
  color: #4a7c59;
  cursor: pointer;
  transition: all 0.2s ease;
}

#timeRangeButtons button:hover,
#timeRangeButtons button.active {
  background-color: #4a7c59;
  color: white;
}

/* Tab Navigation */
.finiloop-tabs {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.finiloop-tab-nav {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.finiloop-tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.finiloop-tab-btn.active {
  color: #16a34a;
  border-bottom-color: #16a34a;
}

.finiloop-tab-btn:hover {
  color: #16a34a;
  transform: translateY(-2px);
}

/* Main Content */
.finiloop-tab-content {
  display: none;
}

.finiloop-tab-content.active {
  display: block;
}

/* Stats Grid */
.finiloop-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.finiloop-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.finiloop-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.finiloop-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.finiloop-stat-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

.metric-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  height: 100%;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.metric-title {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  line-height: 1.3;
}

.chart-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  height: 400px;
}

.chart-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.chart-container {
  height: 300px;
}

.source-segregation-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e3e6f0;
  height: 100%;
}

.date-filter-container {
  padding: 20px;
  max-width: 400px;
  margin: 50px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.date-inputs {
  margin-top: 10px;
  display: none;
}

/* Finiloop Dashboard Dark Mode Styles */
[data-layout-mode="dark"] .finiloop-dashboard * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[data-layout-mode="dark"] .finiloop-dashboard {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  min-height: 100vh;
  color: #e2e8f0;
}

[data-layout-mode="dark"] .finiloop-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid #475569;
}

[data-layout-mode="dark"] .finiloop-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

[data-layout-mode="dark"] .finiloop-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

[data-layout-mode="dark"] .finiloop-logo i {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 12px;
}

[data-layout-mode="dark"] .finiloop-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
}

[data-layout-mode="dark"] .finiloop-select,
[data-layout-mode="dark"] .finiloop-date-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

[data-layout-mode="dark"] .finiloop-select option {
  background: #1e293b;
  color: white;
}

[data-layout-mode="dark"] .finiloop-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .finiloop-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

[data-layout-mode="dark"] .finiloop-main {
  margin: 0 auto;
  padding: 2rem;
}

[data-layout-mode="dark"] .finiloop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

[data-layout-mode="dark"] .finiloop-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-left: 4px solid #64748b;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: move;
  position: relative;
}

[data-layout-mode="dark"] .finiloop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-left-color: #94a3b8;
}

[data-layout-mode="dark"] .finiloop-card.hidden {
  display: none;
}

[data-layout-mode="dark"] .finiloop-card-header {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

[data-layout-mode="dark"] .finiloop-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-card-actions {
  display: flex;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-card-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .finiloop-card-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

[data-layout-mode="dark"] .finiloop-card-content {
  padding: 1.5rem;
  height: 400px;
  background: #1e293b;
}

[data-layout-mode="dark"] .finiloop-map-container {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

[data-layout-mode="dark"] .finiloop-chart-container {
  height: 100%;
}

[data-layout-mode="dark"] .finiloop-hrm-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

[data-layout-mode="dark"] .finiloop-stat-item {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 1.8rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-left: 4px solid #64748b;
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .finiloop-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] .finiloop-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] .finiloop-stat-label {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
}

[data-layout-mode="dark"] .finiloop-activities {
  height: 100%;
  overflow-y: auto;
}

[data-layout-mode="dark"] .finiloop-activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .finiloop-activity-item:hover {
  background: rgba(71, 85, 105, 0.3);
  border-left: 4px solid #64748b;
  padding-left: 1.5rem;
}

[data-layout-mode="dark"] .finiloop-activity-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] .finiloop-activity-content {
  flex: 1;
}

[data-layout-mode="dark"] .finiloop-activity-title {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

[data-layout-mode="dark"] .finiloop-activity-time {
  font-size: 0.85rem;
  color: #94a3b8;
  opacity: 0.8;
}

/* Employee List Dark Mode Styles */
[data-layout-mode="dark"] .employee-list {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-left: 4px solid #64748b;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

[data-layout-mode="dark"] .employee-list-header {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

[data-layout-mode="dark"] .employee-list-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .employee-list-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

[data-layout-mode="dark"] .employee-list-content {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  background: #1e293b;
}

[data-layout-mode="dark"] .employee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-left: 3px solid #64748b;
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .employee-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-left-width: 4px;
  border-left-color: #94a3b8;
}

[data-layout-mode="dark"] .employee-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] .employee-info {
  flex: 1;
}

[data-layout-mode="dark"] .employee-name {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

[data-layout-mode="dark"] .employee-status {
  font-size: 0.85rem;
  color: #94a3b8;
  opacity: 0.8;
}

[data-layout-mode="dark"] .status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-layout-mode="dark"] .status-present {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

[data-layout-mode="dark"] .status-leave {
  background: linear-gradient(135deg, #92400e 0%, #a16207 100%);
  color: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

[data-layout-mode="dark"] .status-absent {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
  color: #fee2e2;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

[data-layout-mode="dark"] .finiloop-category-sidebar {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  height: fit-content;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .finiloop-category-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(71, 85, 105, 0.3);
  color: #cbd5e1;
}

[data-layout-mode="dark"] .finiloop-category-item:hover {
  background: rgba(71, 85, 105, 0.3);
  border-color: #64748b;
}

[data-layout-mode="dark"] .finiloop-category-item.active {
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  color: white;
  border-color: #64748b;
}

[data-layout-mode="dark"] .finiloop-category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

[data-layout-mode="dark"] .finiloop-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

[data-layout-mode="dark"] .finiloop-fullscreen-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 16px;
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .finiloop-fullscreen-header {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

[data-layout-mode="dark"] .finiloop-fullscreen-body {
  flex: 1;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  background: #1e293b;
}

[data-layout-mode="dark"] .finiloop-fullscreen-chart {
  height: 100%;
}

[data-layout-mode="dark"] .finiloop-fullscreen-table {
  background: #0f172a;
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .finiloop-data-table {
  width: 100%;
  border-collapse: collapse;
}

[data-layout-mode="dark"] .finiloop-data-table th,
[data-layout-mode="dark"] .finiloop-data-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  color: #e2e8f0;
}

[data-layout-mode="dark"] .finiloop-data-table th {
  background: rgba(71, 85, 105, 0.3);
  font-weight: 600;
  color: #f1f5f9;
}

[data-layout-mode="dark"] .finiloop-dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

[data-layout-mode="dark"] #timeRangeButtons button {
  margin-right: 8px;
  padding: 4px 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid #64748b;
  background-color: #1e293b;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-layout-mode="dark"] #timeRangeButtons button:hover,
[data-layout-mode="dark"] #timeRangeButtons button.active {
  background-color: #64748b;
  color: white;
}

/* Tab Navigation Dark Mode */
[data-layout-mode="dark"] .finiloop-tabs {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  padding: 0 2rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .finiloop-tab-nav {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

[data-layout-mode="dark"] .finiloop-tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-tab-btn.active {
  color: #94a3b8;
  border-bottom-color: #64748b;
}

[data-layout-mode="dark"] .finiloop-tab-btn:hover {
  color: #cbd5e1;
  transform: translateY(-2px);
}

/* Main Content Dark Mode */
[data-layout-mode="dark"] .finiloop-tab-content {
  display: none;
}

[data-layout-mode="dark"] .finiloop-tab-content.active {
  display: block;
}

/* Stats Grid Dark Mode */
[data-layout-mode="dark"] .finiloop-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

[data-layout-mode="dark"] .finiloop-stat-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(71, 85, 105, 0.3);
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .finiloop-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

[data-layout-mode="dark"] .finiloop-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

[data-layout-mode="dark"] .finiloop-stat-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
}

[data-layout-mode="dark"] .metric-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  height: 100%;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .metric-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e2e8f0;
  margin: 10px 0;
}

[data-layout-mode="dark"] .metric-title {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.3;
}

[data-layout-mode="dark"] .chart-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  height: 400px;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .chart-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

[data-layout-mode="dark"] .chart-container {
  height: 300px;
}

[data-layout-mode="dark"] .source-segregation-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(71, 85, 105, 0.3);
  height: 100%;
}

[data-layout-mode="dark"] .date-filter-container {
  padding: 20px;
  max-width: 400px;
  margin: 50px auto;
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #e2e8f0;
}

[data-layout-mode="dark"] .date-inputs {
  margin-top: 10px;
  display: none;
}

@media (max-width: 768px) {
  [data-layout-mode="dark"] .finiloop-grid {
    grid-template-columns: 1fr;
  }

  [data-layout-mode="dark"] .finiloop-filters {
    flex-direction: column;
    gap: 0.5rem;
  }

  [data-layout-mode="dark"] .finiloop-fullscreen-body {
    grid-template-columns: 1fr;
  }

  [data-layout-mode="dark"] .finiloop-hrm-stats {
    grid-template-columns: 1fr;
  }
}

.cursor-pointer {
  cursor: pointer !important;
}
