/**  =====================
     Google Font
==========================  **/
@import url("../resources/fonts/feather/css/feather.css");
@import url("../plugins/jquery-scrollbar/css/jquery.scrollbar.min.css");
@import url("../resources/fonts/datta/datta-icon.css");

/**  =====================
      Custom css start
==========================  **/
body {
  font-family: "Overpass";
  font-size: 14px;
  font-weight: 400;
  background: var(--neutral-050);
  position: relative;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

*:focus {
  outline: none;
}

a:hover {
  outline: none;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 40px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  padding-bottom: 40px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
  font-weight: 500;
}

h4 {
  font-size: 20px;
  font-weight: 500;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

p {
  font-size: 14px;
}

strong {
  font-weight: 400;
}

ul {
  list-style-type: none;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

#modal-report {
  z-index: 50;
}

#modal_worker_img img {
  max-width: 300px;
  max-height: 300px;
}

#modal_complaint_cancel:disabled:hover {
  border: none;
  transition: none;
}

* {
  box-sizing: border-box;
}

/* p {
    line-height: 2;
} */

a {
  color: inherit;
  text-decoration: none;
}

/* end css reseter */

/* sectionn navbar */
.wrapper,
.spinner-box {
  flex-direction: column;
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
}

/* Required Asterisk */
.required label:after {
  color: #e32;
  content: " *";
  display: inline;
}

.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--tory-blue-700);
  height: max-content;
  color: var(--white);
  z-index: 1;
  overflow: hidden;
}

.navbar h2,
.navbar h3,
.navbar h4 {
  color: var(--white);
}

.main-title-box {
  display: flex;
  justify-content: center;
  width: 24%;
}

.sw-title {
  user-select: none;
}

.main-title-box:has(.dropdown-box.active) .main-title img {
  transform: rotate(180deg);
}

.main-title {
  display: flex;
  gap: 10px;
  /* cursor: pointer; */
  justify-content: center;
}

.logo-title {
  display: flex;
  justify-content: center;
  background-color: var(--tory-blue-200);
  padding: 20px;
  padding-block: 13px;
  padding-right: 24px;
  width: 317px;
}

.logo-title:first-child {
  align-items: center;
}

.logo-title:first-child img {
  height: min-content;
}

.side-title {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.side-title:last-child {
  justify-content: flex-end;
}

.side-title:last-child .logo-title {
  padding: 26px 20px;
  width: 300px;
  justify-content: space-between;
  align-items: center;
}

.profile-wrap {
  display: flex;
  gap: 8px;
  cursor: pointer;
  align-items: center;
  color: var(--tory-blue-700);
}

.profile-wrap > img {
  width: 44px;
}

.profile-wrap div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
}

.language {
  display: none;
  font-weight: 700;
}

.time-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
}

.logout-wrap {
  display: flex;
  gap: 10px;
}

.logout-wrap a {
  display: flex;
  cursor: pointer;
}

.title-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.title-box img {
  display: flex;
}

.menu-button {
  cursor: pointer;
}

.date-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.date-box h4 {
  line-height: 24px;
}

.main-title h2,
.date-box h2 {
  font-weight: 600;
}

.main-title h2 {
  /* width: 15vw; */
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  user-select: none;
}

.time-box {
  display: flex;
  justify-content: flex-start;
  width: 18%;
}

.dropdown-box {
  visibility: hidden;
  position: absolute;
  top: 7%;
  width: 19.5%;
  opacity: 0;
  transition: all 0.25s ease;
  height: 0;
  transform: translateY(20px);
  /* display: none; */
  flex-direction: column;
}

.dropdown-menu {
  display: none;
  background: white;
  border-radius: 8px;
  gap: 10px;
  width: 100%;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  /* transition: all .25s ease; */
}

.dropdown-menu a {
  color: var(--primary-600);
  font-size: 20px;
  font-weight: 500;
}

.dropdown-box.active,
.dropdown-box.active .dropdown-menu {
  display: flex;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  border-radius: 10px;
}

.navbar-item:last-of-type > .dropdown-box {
  width: 5%;
}

.dropdown-item {
  color: var(--green1);
  padding: 8px 10px;
  gap: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-item img {
  filter: invert(38%) sepia(4%) saturate(399%) hue-rotate(161deg)
    brightness(93%) contrast(87%);
}

.dropdown-item.secondary-menu {
  justify-content: flex-start;
}

.dropdown-item.secondary-menu img {
  filter: none;
}

/* .dropdown-item li {
    cursor: pointer;
} */

.dropdown-item:hover li,
.dropdown-item.active li {
  font-weight: 700;
  padding-right: 0;
}

.dropdown-item.active {
  background: var(--primary-600);
  color: var(--white);
}

.dropdown-item.active img {
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(322deg)
    brightness(102%) contrast(101%);
}

.dropdown-menu a:first-of-type {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-of-type {
  border-radius: 0 0 8px 8px;
}

/* page wrapper */
.page-wrapper {
  display: grid;
  /* grid-template-columns: 4.8% 1fr 20%; */
  grid-template-columns: 1fr 20%;
  height: 100%;
  overflow: hidden;
}

.empty-list {
  margin: auto;
}

.empty-event {
  margin: auto;
}

.no-data {
  color: #aaabae;
  font-size: 24px;
}

#btn-refresh {
  color: black;
  transition: 0.2s all;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

#btn-refresh:active {
  opacity: 0.5;
}

#map {
  position: relative;
}

#map_info {
  position: absolute;
  display: inline-block;
  height: auto;
  width: auto;
  z-index: 100;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  left: 50%;
  transform: translateX(3%);
  visibility: hidden;
  pointer-events: none;
}



