* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  position: relative;
}

:root {
  --blue-1: #2e315a;
  --blue-2: #565ca9;
  --blue-3: #abadd4;
  --blue-4: #dddeee;
  --blue-5: #F5F5FA;
  --grey-1: #333333;
  --grey-2: #666666;
  --grey-3: #999999;

  --black: #1d1d1d;
  --white: #ffffff;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 20;
  color: var(--grey-2);
}

.menu-label:hover .material-symbols-outlined {
  color: var(--white);
}

.material-symbols-outlined:hover {
  color: var(--blue-2);
}

.login-card {
  border-radius: 16px;
  border: 1px solid var(--grey-3);
  background-color: var(--white);
}

.login-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  color: var(--black);
}

.login-label {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: var(--black);
}

.login-input {
  width: 296px;
  height: 38px;
  border: 1px solid var(--grey-3);
  border-radius: 8px;
}

.password-login-container {
  position: relative;
  width: 296px;
}

.forgot-password {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--blue-1);
}

.login-button {
  height: 38px;
  background-color: var(--blue-1);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
}

.login-button:hover {
  background-color: var(--grey-1);
}

.footer {
  background-color: var(--blue-4);
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
}

.footer-text {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--grey-2);
  line-height: 56px;
  margin-top: 20px;
}

.warning-message {
  width: calc(100% - 274px);
  background-color: #fff9d4; /* Warna merah muda lembut untuk warning */
  color: #d0b400; /* Warna teks merah gelap */
  padding: 3px;
  text-align: center;
  font-size: 14px;
  display: none; /* Hidden secara default */
  position: fixed;
  top: 70px; /* Posisi di bawah navbar */
  z-index: 999; /* Supaya di atas konten lain */
  left: 274px;
}

.warning-message.visible {
  display: block; /* Tampilkan jika ada pesan */
}

.navbar {
  width: 100%;
  background-color: var(--white);
  color: var(--white);
  padding: 15px 0px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.navbar-right {
  display: flex;
  align-items: center;
  padding-right: 40px;
}

.profile {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-name {
  font-size: 14px;
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.profile-role {
  font-size: 12px;
  color: var(--grey-3);
}

.navbar a {
  color: var(--blue-1);
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.navbar a:hover {
  color: #dddddd;
}

.navbar i {
  margin-left: 5px;
}

.dropdown-navbar {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(15px);
  width: 184px;
  height: 100px;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown-navbar a {
  margin-left: 5px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  width: 174px;
  height: 38px;
  text-decoration: none;
  color: var(--black);
}

.dropdown-navbar a:hover {
  background-color: var(--blue-2);
  border-radius: 5px;
  color: var(--white);
}

.dropdown-navbar a svg {
  margin-right: 8px;
}

.dropdown-navbar a + a {
  margin-top: 8px;
}

.dropdown-navbar a p {
  margin: 0;
}

.navbar-item:focus-within .dropdown-navbar {
  display: block;
}

.print-item {
  display: flex;
  padding: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 13px;
  border-radius: 8px;
  border: none;
  height: 38px;
  align-items: center;
  justify-content: center; 
  font-weight: 500;
  color: var(--black);
  background-color: var(--white);
}

.print-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
}

.print-item:focus-within .dropdown-navbar {
  display: block;
}

.profile-content {
  padding: 40px;
  flex-grow: 1;
  background-color: var(--blue-4);
  height: calc(100vh - 60px);
  margin-top: 60px;
  overflow-y: auto;
}

.container-profile {
  background-color: var(--white);
  width: 100%;
  border-radius: 16px;
  margin: 24px 0px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.profile-details {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  gap: 60px;
  flex-wrap: wrap;
}

.profile-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-img-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  font-size: 16px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.profile-img-wrapper .overlay {
  border-radius: 50%;
}

.update-ttd:hover .overlay,
.profile-img-wrapper:hover .overlay {
  opacity: 1;
}

.profile-img-wrapper .file-input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.info-profile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0.75;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.profile-row p {
  width: auto;
  margin: 0;
  flex: 1;
}

.profile-row .control-formulir {
  flex: 1;
  max-width: 100%;
}

.profile-row input {
  margin: 0;
}

@media (max-width: 890px) {
  .profile-details {
    flex-direction: column;
    align-items: center;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }

  .profile-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
  }

  .profile-row p {
    flex: initial;
  }

  .profile-row p:first-child {
    width: 280px;
    font-weight: bold;
  }

  .profile-row p:last-child {
    width: auto;
  }
}

@media (max-width: 655px) {
  .profile-row p:first-child {
    width: 180px;
  }
}

@media (max-width: 470px) {
  .profile-row p:first-child {
    width: 120px;
  }
}

@media (max-width: 420px) {
  .profile-content {
    padding: 20px;
  }

  .container-profile {
    padding: 24px;
  }

  .profile-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.modal-body-logout h3 {
  margin: 0 !important;
}

.flash-data {
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  display: inline-block;
  max-width: 100%;
}

.flash-data.error {
  background-color: var(--grey-2);
  color: var(--white);
  border: 1px solid var(--grey-1);
}

.flash-data.success {
  background-color: var(--blue-2);
  color: var(--white);
  border: 1px solid var(--blue-1);
}

.password-container {
  position: relative;
  width: 248px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
  color: var(--grey-3);
}

@media (max-width: 390px) {
  body.ubah-password .control-formulir {
    width: 200px;
    max-width: none;
  }

  body.ubah-password .password-container {
    width: 200px;
  }
}

.upload-ttd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
}

.upload-ttd .icon {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  background-color: var(--blue-4);
  border: 1px solid var(--blue-1);
}

.upload-ttd #ttd-preview {
  display: none;
  justify-content: center;
  width: 250px;
}

.menu-label {
  font-weight: regular;
  color: var(--grey-1);
  font-size: 14px;
  text-decoration: none;
}

.menu-label:hover {
  font-weight: bolder;
  color: var(--white);
}

.sidebar {
  width: 274px;
  background-color: var(--white);
  padding: 15px;
  color: var(--black);
  height: 100%;
  position: fixed;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  top: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.sidebar.hidden {
  transform: translateX(-100%);
}

.sidebar h3 {
  font-size: 16px;
  color: var(--blue-1);
  text-align: center;
  margin-top: 25px;
  margin-bottom: 30px;
}

.sidebar-content {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 10px;
}

.sidebar-content::-webkit-scrollbar {
  display: none;
  /*width: 2px;
  background-color: var(--grey-3);
  border-radius: 3px;*/
}

.logout {
  bottom: 15px;
  position: fixed;
  width: 234px;
}

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

.sidebar ul li {
  margin: 0;
}

.sidebar .logout a,
.sidebar ul li a,
.has-submenu > label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 1px 0;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.logout a:hover,
.sidebar ul li a:hover,
.has-submenu > label:hover {
  color: var(--white);
  background-color: var(--blue-2);
}

.has-submenu > label.active,
.sidebar ul li.active a {
  font-weight: bolder;
  border-radius: 5px;
  color: var(--white);
  background-color: var(--blue-2);
}

.has-submenu > label.active .material-symbols-outlined,
.sidebar ul li.active .menu-label .material-symbols-outlined {
  color: var(--white);
  background-color: var(--blue-2);
}

.sidebar ul li.actives a {
  font-weight: bolder;
  border-radius: 5px;
  color: var(--blue-2);
  background-color: var(--white);
}

.sidebar ul li.actives .menu-label .material-symbols-outlined {
  color: var(--blue-2);
  background-color: var(--white);
}

.has-submenu .submenu li .menu-label .material-symbols-outlined:hover,
.has-submenu .submenu li a:hover .material-symbols-outlined {
  color: var(--blue-2);
}

.has-submenu .submenu li a:hover {
  color: var(--blue-2);
  background-color: var(--white);
}

.sidebar ul li a .icon,
.has-submenu > label .icon {
  margin-right: 10px;
  fill: currentColor;
}

.submenu {
  display: none;
}

.submenu li {
  padding-left: 30px;
}

.toggle-checkbox {
  display: none;
}

.toggle-checkbox:checked + label + .submenu {
  display: block;
}

.toggle-checkbox:checked + label .rotate-icon {
  transform: rotate(180deg);
  transition: transform 0s ease;
}

.burger-menu {
  font-size: 24px;
  padding: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1002;
  color: #2e315a;
}

.burger-menu.hidden {
  display: none;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%); /* Move sidebar off-screen */
  }
  .sidebar.active {
    transform: translateX(0); /* Slide in sidebar */
  }
  .burger-menu {
    display: block; /* Show burger menu button */
  }
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .burger-menu {
    display: none;
  }
}

.content {
  margin-left: 274px; /* Menggeser konten ke kanan */
  padding: 40px;
  flex-grow: 1;
  background-color: var(--blue-4);
  height: calc(100vh); /* Tinggi konten penuh mengurangi tinggi navbar */
  overflow-y: auto;
  transition: margin-left 0.3s ease;
}

.content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .content {
    margin-left: 0;
  }
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.table th {
  padding: 10px;
  border: 1px solid #dbdbdb;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  background-color: #f0f0f0;
  cursor: pointer;
}

.table td {
  padding: 10px;
  border: 1px solid #dbdbdb;
  text-align: left;
  font-size: 14px;
  background-color: var(--white);
}

.table td a {
  text-decoration: none;
}

.container {
  min-width: 80%;
}

.form-content {
  flex-grow: 1;
}

.container-filter-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.button-container,
.profile-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  max-height: 40px;
}

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

.button-rekap-all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.data-td-sebaris {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.data-aksi-sebaris {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 67px;
}

.data-aksi-kr-sebaris {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 94px;
}

.button {
  padding: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 13px;
  border-radius: 8px;
  border: none;
  height: 38px;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
}

.button-add {
  color: var(--white);
  background-color: var(--blue-1);
}

.button-add:hover {
  background-color: var(--grey-1);
}

.button-edit {
  color: var(--white);
  background-color: var(--blue-1);
}

.button-edit:hover {
  background-color: var(--grey-1);
}

.button-filter {
  color: var(--white);
  background-color: var(--blue-1);
}

.button-filter:hover {
  background-color: var(--grey-1);
}

.button-cancel {
  color: var(--white);
  background-color: var(--grey-2);
}

.button-cancel:hover {
  background-color: var(--grey-1);
}

h1 {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue-2);
}

h2 {
  font-size: 20px;
  font-weight: 600;
}

h3 {
  font-size: 16px;
  font-weight: normal;
}

p {
  font-size: 14px;
  font-weight: normal;
  color: var(--black);
}

p button {
  background: none;
  border: none;
  color: var(--blue-2);
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

p button:hover {
  color: var(--blue-1);
  text-decoration: underline;
}

.filter-container {
  display: flex;
  justify-content: start;
  gap: 0.5rem;
}

.control-filter {
  display: block;
  width: 100%;
  max-width: 248px;
  padding: 0.4375rem 0.875rem;
  font-size: 14px;
  line-height: 1.53;
  color: var(--grey-3);
  background-color: var(--white);
  background-clip: padding-box;
  border: 2px solid var(--grey-3);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-size: 14px;
}

.container-form {
  background-color: var(--white);
  height: 90%;
  border-radius: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 32px;
  display: flex;
  gap: 20px;
}

@media (max-width: 1000px) {
  .container-form {
    flex-direction: column;
    height: auto; /* Allow height to adjust based on content */
    gap: 0px;
    padding: 26px;
    width: max-content;
  }

  .form-column {
    width: 100%; /* Make each column full width */
  }
}

.form-label {
  font-weight: normal;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-column {
  flex: 1;
}

.form-row {
  display: flex;
  justify-content: start;
  gap: 2rem;
  margin-bottom: 8px;
}

.form-row .form-label {
  flex: 1;
}

textarea.form-control {
  width: 248px;
  resize: none;
  border-radius: 8px;
  border: 2px solid var(--grey-3);
}

input[type="date"] {
  min-height: 30px;
  resize: none;
  border-radius: 8px;
  border: 2px solid var(--grey-3);
  width: 248px;
  padding: 4px;
}

input[type="month"] {
  min-height: 40px;
  resize: none;
  border-radius: 8px;
  border: 2px solid var(--grey-3);
  width: 248px;
  padding: 4px;
}

input[type="number"] {
  min-height: 40px;
  resize: none;
  border-radius: 8px;
  border: 2px solid var(--grey-3);
  width: 40px;
  padding: 4px;
}

.text-danger {
  color: red;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 25px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: scaleUp 0.3s ease-in-out;
}

.modal-header {
  font-size: 48px;
  color: var(--grey-1);
}

.modal-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.modal-footer .button {
  width: 100px;
}

.history-header {
  font-size: 20px;
  color: var(--black);
  text-align: left;
  font-weight: 500;
  margin-bottom: 1rem;
}

@keyframes scaleUp {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.label-formulir {
  font-size: 14px;
  display: block;
}

.control-formulir {
  display: block;
  width: 100%;
  max-width: 248px;
  padding: 0.4375rem 0.875rem;
  font-size: 14px;
  line-height: 1.53;
  color: var(--grey-3);
  background-color: var(--white);
  background-clip: padding-box;
  border: 2px solid var(--grey-3);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
}

.custom-file-container {
  position: relative;
  display: inline-block;
  width: 248px;
  border: 2px solid var(--grey-3);
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.custom-pict-container {
  width: 150px;
  height: 150px;
  background-color: #ddd;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  color: #666;
  font-size: 14px;
  position: relative;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.custom-pict-container span {
  font-size: 14px;
  color: var(--grey-3);
  display: inline-block;
  align-items: center;
  pointer-events: none;
}

.custom-pict-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  pointer-events: auto;
  width: 150px;
  height: 150px;
}

.input-icon-container {
  position: relative;
  width: 248px;
}

.placeholder {
  font-size: 14px;
  color: var(--grey-3);
  display: inline-block;
  width: 100%;
  pointer-events: none;
}

input::placeholder {
  color: var(--grey-3);
  font-size: 14px;
}

input::-webkit-input-placeholder {
  color: var(--grey-3);
  font-size: 14px;
}

#previewImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.file-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  background: var(--white);
}

.form-text {
  font-size: 12px;
  color: var(--black);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .flatpickr-input {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
  }
}

.flatpickr-calendar {
  z-index: 9999 !important;
}

.custom-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  pointer-events: auto;
  width: 230px;
}

.flatpickr-input input[type="date"],
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  pointer-events: none;
}

input[type="file"] {
  opacity: 0;
  position: absolute;
}

.footbar {
  width: calc(100% - 220px); /* Desktop: penuh dengan memperhitungkan sidebar */
  background-color: var(--grey-2);
  height: 32px;
  line-height: 32px;
  text-align: left;
  position: fixed;
  bottom: 0;
  left: 220px; /* Offset kiri untuk desktop */
  z-index: 1000;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.25);
  padding-left: 70px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.footbar p {
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
}
@media (max-width: 1024px) and (min-width: 753px) {
  /* Tablet: Menghilangkan jarak jika sidebar hilang */
  .footbar {
    width: 100%;
    left: 0; /* Hilangkan offset untuk penuh layar */
    padding-left: 20px; /* Sesuaikan padding agar tampak simetris */
  }
}

@media (max-width: 768px) {
  /* Handphone: Sama dengan tablet, namun padding lebih kecil */
  .footbar {
    width: 100%;
    left: 0;
    padding-left: 10px;
  }
}

.act-title {
  text-align: left;
  font-weight: bold;
}

.card-reset {
  width: 381px;
  height: auto;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0.2, 0.2);
  padding: 20px;
  margin: 100px auto; /* Posisikan di tengah layar */
  text-align: center;
  font-family: "Poppins", sans-serif;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-reset h3 {
  font-size: 14px;
  color: var(--blue-1);
  margin-bottom: 20px;
}

.input-reset {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--grey-3);
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 14px;
}

.button-reset-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.button-reset-cancel,
.button-reset-send {
  width: 323px;
  height: 38px;
  border: none;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.button-reset-cancel {
  background-color: var(--grey-2);
  color: var(--white);
}

.button-reset-send {
  background-color: var(--blue-1);
  color: var(--white);
}

/* Gaya untuk status disetujui */
.status-disetujui {
  background-color: #deedc8; /* Sesuaikan warna teks untuk kontras */
  padding: 5px 10px;
  border-radius: 15px;
  text-transform: capitalize;
}

/* Gaya untuk status menunggu */
.status-menunggu {
  background-color: #f8f4d3; /* Sesuaikan warna teks untuk kontras */
  padding: 5px 10px;
  border-radius: 15px;
  text-transform: capitalize;
}

/* Gaya untuk status ditolak */
.status-ditolak {
  background-color: #ede7fb; /* Sesuaikan warna teks untuk kontras */
  padding: 5px 10px;
  border-radius: 15px;
  text-transform: capitalize;
}

.izin-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.izin-modal-content {
  background-color: var(--white);
  margin: auto;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: scaleUp 0.3s ease-in-out;
}

/* Gaya untuk teks dengan data dari DB */
.izin-modal-content p {
  margin-bottom: 10px; /* Jarak antar paragraf */
}

/* Teks data dari DB rata kiri */
.izin-data {
  text-align: left;
}

/* Tombol Close Modal */
.izin-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.izin-hidden {
  display: none;
}

.izin-radio-label {
  display: block; /* Menyusun radio button secara vertikal */
  margin-bottom: 10px; /* Jarak antar radio button */
}

.tanggapanapprove {
  display: flex;
  flex-direction: column; /* Mengatur elemen dalam kolom */
}

#izinAlasanText {
  width: 323px;
  resize: none;
  border-radius: 8px;
  padding: 10px;
}

.izin-modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.izin-btn {
  width: 155px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.izin-batal {
  background-color: var(--grey-1);
  color: var(--white);
  border: none;
}

.izin-ya {
  background-color: var(--blue-1);
  color: var(--white);
  border: none;
}

.izin-info-row {
  display: flex;
  align-items: center; /* Agar semua konten di tengah secara vertikal */
  gap: 8px; /* Jarak antara elemen */
  margin-bottom: 5px; /* Jarak antar baris */
}
.izin-info-row p {
  font-size: 14px;
}
.izin-label {
  min-width: 100px; /* Lebar tetap untuk label agar rata */
  text-align: left; /* Rata kiri untuk label */
}

.izin-info-row p:nth-child(2) {
  text-align: center; /* Titik dua rata tengah */
  /* Lebar titik dua untuk memastikan posisinya */
}

.izin-info-row p:nth-child(3) {
  flex: 1; /* Agar konten setelah titik dua menyesuaikan */
  text-align: left;
}

.label-setuju {
  font-size: 14px;
  display: flex;
  align-items: center; /* Posisikan teks agar sejajar dengan radio button */
  margin-bottom: 10px; /* Beri jarak antar pilihan */
  cursor: pointer; /* Menambahkan kursor pointer untuk indikasi klik */
}
.label-setuju input[type="radio"] {
  margin-right: 8px; /* Jarak antara radio button dan teks */
}

/* Container untuk greeting card */
.greeting-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 24px;
  border-radius: 16px;
  min-height: 210px;
  margin-bottom: 21px;
}

.greeting-content h1 {
  font-size: 24px;
  color: var(--blue-1);
}

.greeting-content p {
  width: 80%;
}

.profile-illustration {
  width: 250px;
  height: auto;
  margin-top: -50px;
  transform: scaleX(-1);
}

/* Split container untuk dua kolom */
.split-container-home {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dua kolom dengan lebar yang sama */
  gap: 21px; /* Jarak antara kolom */
}

.rekap-absensi h3,
.recent-activity h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue-1);
}

.rekap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: rgba(221, 222, 238, 0.5);
  border-radius: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
  flex-direction: column;
  width: 30%; 
  box-sizing: border-box;
}

.rekap-item.full-width {
  width: 100%;
}

@media (max-width: 768px) {
  .rekap-item {
    width: 45%; 
  }
  .rekap-item.full-width {
    width: 100%; 
  }
}

@media (max-width: 480px) {
  .rekap-item {
    width: 100%;
  }
}

.rekap-title {
  color: var(--blue-1);
  font-size: 16px;
  font-weight: bold;
  align-items: center;
}

.rekap-absensi {
  background-color: var(--white);
  padding: 24px;
  border-radius: 16px;
}

.rekap-summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rekap-value {
  margin-top: 5px;
}

/* Styling untuk Recent Activity Section */
.recent-activity {
  background-color: var(--white);
  padding: 24px;
  border-radius: 16px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: rgba(221, 222, 238, 0.5);
  border-radius: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.activity-item table th {
  font-size: 14px;
  font-weight: 600;
}

.activity-item table td {
  font-size: 14px;
}

/* unauthorized */

.container-unauthorized {
  background-color: var(--blue-4);
  width: 100%;
  padding: 1.625rem;
  margin-right: auto;
  margin-left: auto;
}

.unauthorized-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - calc(1.625rem * 2));
  text-align: center;
}

.img-unauthorized {
  max-width: 100%;
  height: auto;
  margin-top: 1.625rem;
}

.text-unauthorized {
  margin-bottom: 1.625rem;
}

/* Notification icon badge */
.notification-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--blue-2);
  color: white;
  border-radius: 50%;
  padding: 1px 5px 0px;
  font-size: 10px;
}

.notification-dropdown {
  display: none; 
  position: absolute;
  top: 100%;
  right: 10px;
  transform: translateY(15px);
  width: 250px;
  background-color: var(--white);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
}

.notification-title {
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.notification-item {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
  cursor: pointer;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item p {
  margin: 0;
  font-weight: normal;
  font-size: 14px;
}

.notification-time {
  display: block;
  font-size: 10px;
  color: #888;
}

.view-all a {
  display: block;
  text-align: center;
  padding: 10px;
  color: var(--blue-2);
  text-decoration: none;
  font-size: 12px;
}

.view-all a:hover {
  font-weight: bold;
  color: var(--blue-2);
}

.notification-section {
  margin-bottom: 20px;
}

.notification-date {
  font-weight: bold;
  margin-bottom: 10px;
}

.notification-message {
  background-color: var(--white);
  color: var(--blue-1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-decoration: none;
}

.notification-message h2 {
  text-align: left;
  margin: 0;
  font-size: 15px;
}

.notification-message h3 {
  text-align: left;
  margin: 0;
}

.container-notification {
  background-color: var(--white);
  border-radius: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.select-no-border {
  border: none;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none; /* Menghilangkan tampilan default di beberapa browser */
}

.select-tanggal-libur {
  padding-left: 10px;
  padding-right: 10px;
}
.unread {
  background-color: var(--blue-5) !important;
}

.history-message {
  background-color: var(--blue-5);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-decoration: none;
}

.history-message h2 {
  text-align: left;
  margin: 0;
  font-size: 15px;
}

.history-message h3 {
  text-align: left;
  margin: 0;
}
