@import "data-table.css";

:root {
  --color-primary: #03ff36;
  --color-primary-rgb: rgb(3, 255, 54);
  --color-secondary: #1760a9;
  --background-color: #f5f5f5;
  --color-success: #609e3f;
  --color-warning: #ffbc33;
  --color-danger: #ff0000;
  --color-gray: #989898;
  --border-radius: 30px;
  --scrollbar-thin-track: transparent;
  --scrollbar-thin-thumb: rgba(0, 0, 0, 0.6);
  --bs-body-color: #000;

  --color-greentitle: #00c628;
  --color-redtitle: #ff0000;
  --color-violet: #8A69D5;
  --color-lightblue: #009dff;

  --bg-inactive-groupbtn: #FFFFFF;
  --color-inactive-groupbtn: #444444;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  border-color: var(--scrollbar-thin-track);
  background-color: var(--scrollbar-thin-track);
  border: 2px solid var(--scrollbar-thin-track);
}

::-webkit-scrollbar-thumb {
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 4px;
  background-color: var(--scrollbar-thin-thumb);
  min-height: 40px;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Rg.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Rg.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Rg.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Rg.ttf") format("truetype");
  font-weight: lighter;
  font-style: italic;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Bd.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Custom Font";
  src: url("ObjektivMk2_Bd.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Custom Font XBD";
  src: url("ObjektivMk2_XBd.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Custom Font XBD";
  src: url("ObjektivMk2_XBd.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

html,
body {
  height: 100%;
  font-family: "Custom Font";
}

body {
  background-color: var(--background-color);
  padding-top: 170px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Custom Font XBD";
  margin-bottom: 0;
}

.main {
  padding: 10px 40px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

label.required::after {
  content: "*";
  color: var(--color-danger);
  margin-left: 3px;
}

.cursor {
  cursor: pointer;
}

.top-logo {
  width: 206px;
}

.avatar {
  vertical-align: middle;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-toggler {
  font-size: 1rem;
}

.has-search .form-control {
  padding-left: 2.375rem;
  /* border-radius: 0.25rem !important; */
}

.search-icon-margin {
  margin-left: 20px;
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 4;
  display: block;
  width: 2.375em;
  height: 2.375em;
  line-height: 2.375em;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}

.nav-tabs .nav-link.active {
  font-weight: 700;
}

.btn-close {
  font-size: 1.6em;
}

.dropdown-toggle::after {
  content: url("data:image/svg+xml,<svg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'><path id='Path_80' d='M1.73,2c-.98,.99-.98,2.58,0,3.56l12.48,12.44c.95,.95,2.48,.98,3.47,.08L30.22,5.6c1.01-.96,1.05-2.55,.09-3.55s-2.55-1.05-3.55-.09c-.03,.03-.06,.06-.09,.09L15.86,12.68,5.29,1.99c-.98-.98-2.58-.98-3.56,0h0Z'/></svg>");
  border: none;
  width: 0.75em;
  vertical-align: middle;
}

.active-status {
  border-radius: 21px;
  min-width: 90px;
  max-width: 180px;
  height: 35px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #c0ffba;
  font-weight: bold;
  color: #28843a;
  font-size: 1rem;

  padding: 10px;
}

.inactive-status {
  border-radius: 21px;
  min-width: 90px;
  max-width: 180px;
  height: 35px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #fecdcd;
  font-weight: bold;
  color: #f00000;
  font-size: 1rem;
  padding: 10px;
}

.yellow-status {
  border-radius: 21px;
  width: 90px;
  height: 35px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #f7ffba;
  font-weight: bold;
  color: #5f5415;
  font-size: 1rem;
}

.custom-card-lost {
  padding: 4px 5px;
  border-radius: 19px;
  background-color: #c9c9c9;
  height: 100%;
}

.gray-status {
  border-radius: 21px;
  width: 90px;
  height: 35px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #c9c9c9;
  font-weight: bold;
  color: #7c7c7c;
  font-size: 1rem;
}

.cursor {
  cursor: pointer;
}

.no-radius {
  border-radius: 0px !important;
}

.gray-box {
  background-color: #fafafa;
}

.gray-text {
  color: var(--color-gray);
}

.green-title {
  color: var(--color-greentitle);
}

.red-title {
  color: var(--color-redtitle);
}

.violet-title {
  color: var(--color-violet);
}

.lightblue-title {
  color: var(--color-lightblue);
}

.card-tdpk {
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
}


/* Page action button */
.page-action-btn {
  border-radius: 1px;
  padding: 19px 35px;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
}

.page-action-searchbox {
  padding: 19px 35px;
}

.dashboard-subtitle {
  font-size: 26px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
}

.dashboard-item-box {
  border-radius: 14px;
  padding: 24px;
  margin: 0 0 20px;
}


/* TDPK Jobs */
.dashboard-maintitle,
.job-direction {
  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
}

.job-item-box {
  border-radius: 14px;
  padding-top: 24px;
  padding-bottom: 24px;
  margin: 0 0 20px;
}

.job-item-box:hover {
  outline: 1px solid #c1c1c1;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.job-item-box .title {
  font-size: 1.1rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.job-item-box .value {
  font-size: 2rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
}

.row-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}

.row-buttons>button {
  white-space: nowrap;
}


/* Booking Lists Page */

.tdpk-group-btn .btn.active {
  background-color: var(--color-primary);
  color: var(--bs-body-color);
}

.tdpk-group-btn .btn {
  background-color: var(--bg-inactive-groupbtn);
  color: var(--color-inactive-groupbtn);
}


/* Booking Detail Page*/
.confirm-event {
  border-left: solid 10px var(--color-primary);
}

.cancel-event {
  border-left: solid 10px var(--color-danger);
}

.booking-time {
  color: var(--color-violet)
}

.booking-info-box {
  border-radius: 14px;
  padding: 30px 30px 55px 55px;
  margin: 0 0 20px;
}

.booking-info-box .title {
  font-size: 22px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  margin-bottom: 30px;
}

.detail-title {
  font-weight: bold;
  min-width: 20%;
}

a.elements-links {
  text-decoration: none;
}

.elements {
  background-color: #fafafa;
  padding-top: 24px;
  padding-bottom: 24px;
  margin: 0 0 20px;
  border-radius: 14px;
  transition-duration: 1s;
}

/* .elements:hover {
  outline: 1px solid #c1c1c1;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  transition-duration: 1s;
} */

.elements.up {
  background-color: #ebfff2;
}

.elements.down {
  background-color: #fff4f4;
}

.elements {
  background-color: #fafafa;
  border-radius: 14px;
  padding: 22px 32px 23px 31px;
  border-radius: 14px;
}

.elements .title {
  font-size: 18px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #000;
}

.elements .value {
  font-size: 28px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #000;
}

.elements .directions {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.elements .directions.up {
  background-color: #5ded8f;
}

.elements .directions.down {
  background-color: #f53c56;
}

.elements .directions.equa {
  background-color: var(--color-gray);
}

.elements .directions-values {
  font-size: 16px;
  color: var(--color-gray);
}

.elements .directions-values .up {
  color: #5ded8f;
}

.elements .directions-values .down {
  color: #f53c56;
}

.elements .directions-values .equa {
  color: var(--color-gray);
}

.elements-cent {
  background-color: #fafafa;
  border-radius: 14px;
  padding: 22px 32px 23px 31px;
  border-radius: 14px;
  text-align: center;
}

.commevent-top-sect .title {
  font-size: 18px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.custom-label-btn {
  background-color: #ccc;
  padding: 0px 10px;
  border-radius: .25rem;
}