::-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: #5cb338 !important;
}
.text-left {
  text-align: left;
}
#managedata {
  width: max-content !important;
  z-index: 100000000;
}
.welcome-container {
  display: flex;
  align-items: center;
  background: var(--bs-body-bg);
  margin: 0;
  padding: 1rem;
  transition: all 0.3s ease;
}

.brand-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  /* background: linear-gradient(135deg, var(--bs-primary), var(--bs-success)); */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(76, 129, 76, 0.4);
  animation: pulseGlow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.brand-logo i {
  font-size: 3rem;
  color: var(--bs-custom-white);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 8px 25px rgba(76, 129, 76, 0.4);
  }

  100% {
    box-shadow: 0 12px 35px rgba(76, 129, 76, 0.6);
  }
}

.welcome-card {
  background: var(--bs-custom-white);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--bs-border-color);
  padding: 2rem 1.5rem;
  text-align: center;
  animation: slideUp 0.8s ease-out;
  color: var(--bs-body-color);
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .welcome-card {
  background: var(--bs-custom-white);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(76, 129, 76, 0.2);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  font-size: 1.1rem;
  color: var(--bs-menu-item-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.welcome-description {
  font-size: 0.9rem;
  color: var(--bs-body-color);
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.theme-toggle-btn {
  background: var(--bs-primary);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 129, 76, 0.3);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(76, 129, 76, 0.4);
}

.theme-toggle-btn i {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: absolute;
}

.light-icon {
  opacity: 0;
  transform: rotate(180deg);
}

[data-layout-mode="dark"] .light-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-layout-mode="dark"] .dark-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

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

.shortcut-card {
  background: var(--bs-topnav-bg);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-layout-mode="dark"] .shortcut-card {
  background: var(--bs-custom-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.shortcut-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 129, 76, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.shortcut-card:hover::before {
  left: 100%;
}

.shortcut-card:hover {
  border-color: var(--bs-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 129, 76, 0.2);
}

[data-layout-mode="dark"] .shortcut-card:hover {
  box-shadow: 0 8px 25px rgba(76, 129, 76, 0.3);
}

.shortcut-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--bs-footer-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.shortcut-card:hover .shortcut-icon {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-success));
  transform: scale(1.05);
}

.shortcut-icon i {
  font-size: 1.5rem;
  color: var(--bs-primary);
  transition: all 0.3s ease;
}

.shortcut-card:hover .shortcut-icon i {
  color: white;
}

.shortcut-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-body-color);
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

[data-layout-mode="dark"] .shortcut-title {
  color: var(--bs-heading-color);
}

.shortcut-description {
  font-size: 0.8rem;
  color: var(--bs-menu-item-color);
  margin-bottom: 0.8rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.shortcut-arrow {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 25px;
  height: 25px;
  background: var(--bs-footer-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.shortcut-card:hover .shortcut-arrow {
  opacity: 1;
  background: var(--bs-primary);
}

.shortcut-arrow i {
  font-size: 0.7rem;
  color: var(--bs-primary);
  transition: all 0.3s ease;
}

.shortcut-card:hover .shortcut-arrow i {
  color: white;
}

.welcome-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bs-hr-border-color);
  transition: border-color 0.3s ease;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--bs-footer-bg);
  transition: all 0.3s ease;
}

.stat-item i {
  font-size: 1.2rem;
  color: var(--bs-primary);
  transition: color 0.3s ease;
}

.stat-content h6 {
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: var(--bs-body-color);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

[data-layout-mode="dark"] .stat-content h6 {
  color: var(--bs-heading-color);
}

.stat-content small {
  color: var(--bs-footer-color);
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .welcome-container {
    padding: 0.5rem;
  }

  .welcome-title {
    font-size: 2rem;
  }

  .welcome-card {
    padding: 1.5rem 1rem;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
  }

  .brand-logo i {
    font-size: 2.5rem;
  }

  .shortcut-card {
    padding: 1.2rem 0.8rem;
  }

  .theme-toggle-container {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .welcome-container {
    padding: 0.25rem;
  }

  .welcome-card {
    border-radius: 10px;
    padding: 1rem 0.8rem;
  }

  .stat-item {
    padding: 0.6rem;
  }
}

/* Smooth transitions for theme switching */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}
