body {
  font-size: 14px;
  font-weight: 400;
  background: var(--neutral-100);
  position: relative;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow-x: 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: 700;
  padding-bottom: 20px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 125%;
}

h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
}

.h3-bold {
  font-weight: 700;
}

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

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

p {
  font-size: 14px;
}

strong {
  font-weight: 400;
}

.body-1 {
  font-size: 14px;
  font-weight: 500;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

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

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

/* end css reseter */

/* sectionn navbar */
.wrapper {
  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;
  flex-direction: column;
  background: var(--white-abs);
  overflow: hidden;
  height: 100vh;
  border-right: 1px solid var(--neutral-300);
  padding: 20px;
  color: var(--primary-500);
  width: 15.469%;
  gap: 20px;
}

.box-title-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.box-selection {
  display: flex;
  justify-content: center;
}

.box-selection img {
  width: 100%;
}

.box-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.user-wrap > img {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-500);
  border-radius: 32px;
}

.user-wrap {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.user-wrap div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#user-name {
  color: var(--black);
}

#user-position {
  font-size: 12px;
  color: var(--neutral-600);
}

.title-languange-logout {
  align-items: center;
  display: flex;
  gap: 8px;
}

.languange {
  background: var(--primary-500);
  border-radius: 2px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
}

#logout {
  display: flex;
}

.title-languange-logout img {
  cursor: pointer;
}

.line-dropdown {
  border: 1px solid var(--primary-100);
}

.box-content-time {
  text-align: center;
  font-size: 1rem;
}

._rowDate {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
._rowDateDay {
  display: flex;
}

.title-timer {
  font-weight: 500;
  font-size: 36px;
}

/* section box toggle dropdown */
.box-selection-toggle {
  height: 520px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.box-selection-toggle::-webkit-scrollbar {
  width: 3px;
}

.box-selection-toggle::-webkit-scrollbar-thumb {
  width: 4px;
  background: #9cc8dc;
  border-radius: 20px;
}

.box-toggle-dropdown,
a {
  padding: 0 0.2vw 0 0;
  /* color: #135A78; */
}

.box-toggle-dropdown:has(a.active) span,
.box-toggle-dropdown:hover span {
  font-weight: 600;
}

.user-profile,
.name-img-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-around;
  margin: 10px 0;
}

.title-system-management {
  font-weight: 400;
  font-size: 16px;
  align-items: center;
  display: flex;
  cursor: pointer;
  padding: 12px 0;
  gap: 10px;
}

.menu-dropdown {
  margin-left: auto;
  filter: invert(24%) sepia(72%) saturate(791%) hue-rotate(159deg)
    brightness(98%) contrast(88%);
}

.title-system-management.active .menu-dropdown {
  transform: rotate(-180deg);
}

.title-system-management.active + .content-system-management {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid var(--primary-100);
}

.menu-icon.active {
  display: none;
}

.nav-item {
  list-style: none;
  font-weight: 400;
  font-size: 16px;
  color: #135a78;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.pcoded-micon {
  display: flex;
}

.position-button {
  width: 100%;
  margin: 20px 0 0 0;
}

.content-system-management {
  padding-left: 20px;
  display: none;
}

.content-system-management a:last-child .list-system-management {
  border-bottom: none;
}

.list-system-management {
  font-size: 16px;
  font-weight: normal;
  list-style: none;
  padding: 10px;
  border-bottom: 1px solid var(--primary-100);
}

.list-system-management:hover {
  font-weight: bold;
}

.active .list-system-management {
  background-color: #9cc8dc;
  border-radius: 8px;
  font-weight: bold;
}

.content-operational-management {
  padding: 5px 0 0 10px;
  display: none;
}

.box-img-logo-big {
  justify-content: center;
  display: flex;
  margin-top: 90px;
}

/* section right content */
#article-content-right {
  flex: 1;
  padding: 44px 40px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  background: var(--neutral-050);
}

.ck .ck-powered-by {
  display: none;
}

.ol-attribution.ol-unselectable.ol-control.ol-uncollapsible {
  display: none;
}

/* -- MODAL -- */
.modal-background {
  display: flex;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 100;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
  color: var(--green1);
}

.modal-background.modal-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
}

.modal-box {
  display: none;
  background: var(--neutral-050);
  padding: 36px;
  border-radius: 4px;
  width: 40%;
  gap: 20px;
}

#modal-program .modal-box {
  width: 35.7%;
}

.modal-open .modal-box {
  display: flex;
}

.modal-title {
  justify-content: space-between;
}

.modal-title h3 {
  font-weight: 600;
}
._modalTitleRow {
  justify-content: space-between;
}
._modalTitleRow h3 {
  font-weight: 600;
}

.modal-close {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.modal-filter {
  justify-content: flex-end;
  gap: 12px;
}

.modal-table {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--neutral-300, #c5c6c9);
}

#modal-program .modal-table {
  height: 600px;
  overflow: auto;
}

#modal-program .modal-table::-webkit-scrollbar {
  width: 8px;
}

#modal-program .modal-table::-webkit-scrollbar-thumb {
  background: var(--neutral-300);
}

.toggle-container {
  font-size: 16px;
}

.flex:has(.input-group) {
  gap: 16px;
  width: 100%;
}

.flex .input-group {
  width: 100%;
}

.label-v:has(.icon-eye-toggle) {
  position: relative;
}

.icon-eye-toggle {
  position: absolute;
  height: 0;
  right: 3%;
  top: 55%;
  cursor: pointer;
}

.modal-background .icon-eye-toggle {
  top: 55%;
}

.icon-eye-toggle-findPass {
  position: absolute;
  height: 0;
  right: 1%;
  top: 25%;
  cursor: pointer;
}

label {
  color: var(--black);
}

.radio-wrap,
.radio-item {
  display: flex;
  gap: 4px;
  align-items: center;
}

.radio-wrap {
  gap: 16px;
}

.radio-item:not(:has(:disabled)) label {
  cursor: pointer;
}

.radio-item input[type="radio"],
.radio-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-500);
}

.container-button {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.title-date {
  display: inline-block;
}

.detail-panel {
  padding: 20px;
  border-radius: 8px;
  background-color: var(--white-abs);
}

.title-panel-form {
  gap: 8px;
  align-items: flex-start;
}

.detail-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 20px;
  align-items: center;
  border-top: 1px solid #d0d0d0;
}

.detail-log {
  font-size: 14px;
  width: 65%;
  float: left;
  flex-wrap: wrap;
  row-gap: 4px;
  display: flex;
  gap: 16px;
}

.log-item {
  align-items: center;
}

.detail-log .log-name {
  color: var(--neutral-500);
  padding: 0 10px 0 0;
}

.detail-control {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  gap: 12px;
  margin-left: auto !important;
}

.detail-control .control-btn {
  height: 36px;
  width: 95px;
  background: var(--primary-500);
  font-size: 14px;
  padding: 9px 12px;
}

.detail-control .control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--neutral-500);
  background: var(--neutral-200);
}

@media only screen and (min-width: 1370px) and (max-width: 1605px) {
  .navbar {
    min-height: 100vh;
    height: auto;
  }

  /* .box-title-header {
        height: 180px;
    } */

  .box-time {
    padding: 0 10px;
  }

  .box-content {
    font-size: 0.9rem;
  }

  .box-toggle-dropdown {
    padding: 5px;
  }

  .box-content-time {
    font-size: 0.7rem;
  }

  .title-timer {
    font-size: 1.5rem;
  }

  .box-selection-toggle {
    height: 50px;
    min-height: 42vh;
  }

  .list-system-management {
    /* line-height: 1.36; */
    font-weight: normal;
  }

  .box-system-management {
    padding-bottom: 0px;
  }

  .box-img-logo-big {
    justify-content: center;
    display: flex;
  }
}

.header-title h3 {
  font-weight: 700;
  font-size: 30px;
  padding-bottom: 10px;
}

#system-profile-modal input[type="text"],
#system-profile-modal input[type="password"],
#system-profile-modal select {
  width: 100%;
}
