* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  margin: 0;
  background-color: #F8F8FF;
}

header {
  padding: 0px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 5px;
}

.logo img {
  height: auto;
  max-width: 100%;
  max-height: 45px; /* Set maximum height for the logo */
}

main {
  flex: 1;
  padding: 20px;
  /* text-align: center; */
  color: #ffffff;
}

.card-home-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 5px;
}

.card-home {
  /* background-color: #ffffff;
  border: 1px solid #ffffff; */
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  height: 100px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.card-home span {
  font-weight: 500;
  font-size: 10px;
  color: #000000;
}

.card-container {
  margin-top: 15px;
}

.card {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card h3 {
  font-weight: 600;
  color: #000000;
}

/* Pop-up styling */
.popup-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px 15px 0 0;
  padding: 20px;
  max-width: 95%;
  margin: 0 auto;
  max-height: 75vh; /* Set maximum height for scrolling */
  overflow-y: auto; /* Enable vertical scrolling */
  transform: translateY(100%); /* Mulai di bawah layar */
  transition: transform 0.3s ease;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 999; /* Di atas overlay */
}

/* Kelas untuk menampilkan pop-up */
.popup-container.show {
  transform: translateY(0); /* Pindahkan ke posisi normal (tampil) */
}

.popup-content {
  text-align: center;
}

.title-section h2 {
  text-align: center;
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.title-section p {
  text-align: left;
  margin: 20px 0 10px 0px;
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.input-group {
  position: relative;
}

.input-field {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-sizing: border-box;
}

.btn-cek {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #0cb299;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.btn-close {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #dc143c;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.btn-ulang {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #0cb299;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.back-arrow {
  font-size: 24px;
  display: flex;
  align-items: center; /* Menjaga ikon dan teks sejajar */
  text-decoration: none; /* Menghilangkan garis bawah */
  color: #000000; /* Warna teks/ikon */
  font-weight: bold;
}

.back-arrow i {
  margin-right: 5px; /* Memberikan jarak antara ikon dan teks (jika ada teks) */
}

.tg {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.tg td {
  border-color: white;
  border-style: solid;
  border-width: 1px;
  overflow: hidden;
  padding: 5px 5px;
  word-break: normal;
}

.td-title {
  width: 170px;
  font-size: 15px;
  color: #000000;
}
.td-title-pasien {
  width: 80px;
  font-size: 15px;
  color: #000000;
}
.td-value {
  width: 300px;
  font-size: 15px;
  font-weight: bold;
  color: #000000;
}

.border-kiri {
  border-left: 6px #000 solid;
  margin-right: 5px;
  margin-left: -10px;
}

.border-kanan {
  border-right: 6px #0cb299 solid;
  margin-left: 5px;
}

.border-salam {
  border-left: 6px #0cb299 solid;
  margin-right: 5px;
}

.title-salam {
  color: #000;
  font-weight: bold;
}

.data-pendaftaran-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.title-data-pendaftaran {
  color: #000000;
  font-weight: bold;
}

.data-pendaftaran {
  color: #000000;
}

.card-antrian-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.card-antrian {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  height: 100px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.card-antrian span {
  font-weight: 600;
  color: #000000;
}

.card-antrian i {
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  margin-bottom: 10px;
}

.table-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.custom-table {
  border-color: white;
  border-style: solid;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.custom-thead {
  background-color: #0cb299;
  color: white;
}

.custom-th,
.custom-td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

@media (max-width: 600px) {
  .custom-table {
    width: 100%;
  }
}

.breadcrumbs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.breadcrumbs-melayang {
  display: none; /* Sembunyikan secara default */
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 40px); /* Mengurangi margin */
  background-color: #0cb299;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 20px; /* Agar tidak menyentuh tepi atas */
  left: 20px; /* Agar tidak menyentuh tepi kiri */
  z-index: 1000;
  transition: transform 0.3s, opacity 0.3s; /* Tambahkan transisi untuk opacity */
  padding: 10px;
  border-radius: 10px;
  opacity: 0; /* Mulai dengan opacity 0 */
  transform: translateY(-20px); /* Pindahkan sedikit ke atas untuk efek */
}

.breadcrumbs-melayang.show {
  display: flex; /* Tampilkan saat show */
  opacity: 1; /* Tampilkan dengan opacity 1 */
  transform: translateY(0); /* Kembalikan ke posisi normal */
}

.breadcrumbs .title {
  color: #000000;
  font-weight: bold;
}

.breadcrumbs-melayang .title {
  color: #ffffff; /* Warna putih saat melayang */
}

.breadcrumbs-melayang .back-arrow {
  font-size: 24px;
  display: flex;
  align-items: center; /* Menjaga ikon dan teks sejajar */
  text-decoration: none; /* Menghilangkan garis bawah */
  color: #fff; /* Warna teks/ikon */
  font-weight: bold;
}

.breadcrumbs-melayang .border-kanan {
  border-right: 6px #fff solid;
  margin-left: 5px;
}

.breadcrumbs-melayang .back-arrow i {
  margin-right: 5px; /* Memberikan jarak antara ikon dan teks (jika ada teks) */
}

.card-tab {
  /* background-color: #FFFFFF; */
  /* border: 1px solid #FFFFFF; */
  /* border-radius: 10px; */
  padding: 10px;
  text-align: left;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  margin-bottom: 20px;
}

.card-tab h3 {
  font-weight: 600;
  color: #000000;
}

.searchbar{
  width: 100%;
  height: 44px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 10px;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid #e9eef6;

  /* shadow halus seperti di foto */
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04);
}

/* icon kiri */
.searchbar__icon{
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  flex: 0 0 auto;
}

.searchbar__icon svg{
  width: 18px;
  height: 18px;
  fill: #a6b2c3; /* abu muda */
}

/* input tengah */
.searchbar input{
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;

  font-size: 14px;
  color: #0f172a;
}

.searchbar input::placeholder{
  color: #9aa8bb; /* placeholder abu-biru */
}

/* tombol filter kanan */
.searchbar__filter{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;

  border: 0;
  border-radius: 999px;
  cursor: pointer;

  background: #e9f6ff;      /* biru muda chip */
  color: #2f89ff;           /* biru teks */
  font-weight: 600;
  font-size: 13px;

  flex: 0 0 auto;
}

.searchbar__filter svg{
  width: 16px;
  height: 16px;
  fill: #2f89ff;
}

/* efek klik halus */
.searchbar__filter:active{
  transform: scale(0.98);
}

/* biar enak di HP kecil */
@media (max-width: 480px){
  .searchbar{ height: 42px; padding: 7px 9px; }
  .searchbar__filter{ height: 30px; padding: 0 10px; font-size: 12px; }
}


/* Styling untuk card dokter */
.doctor-card {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Styling untuk ikon user */
.doctor-icon {
  font-size: 22px;
  color: #007bff;
  margin-right: 15px;
}

/* Styling untuk nama dokter */
.doctor-name p {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.step-container {
  text-align: center;
  margin-top: 35px;
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 25px;
  height: 25px;
  line-height: 22px;
  border-radius: 25%;
  background-color: #f0f0f0;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  border: 1px solid #ddd;
  margin: 0 auto;
  transition: background-color 0.3s, color 0.3s;
}

.step-text {
  margin-top: 10px;
  font-size: 12px;
  color: #777;
}

.separator {
  width: 100px;
  height: 2px;
  background-color: #ddd;
  margin-top: 12px;
}

.step.active .step-number {
  background-color: #5bc0de; /* Warna aktif */
}

.step.completed .step-number {
  background-color: #28a745; /* Warna selesai */
}

.step-number {
  color: white;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 10px;
}

.step-form {
  display: none;
  width: 100%;
  margin-bottom: 20px;
}

.step-form.active {
  display: block;
}

label {
  font-weight: bold;
  margin-bottom: 8px;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.controls {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #5bc0de;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

button:disabled {
  background-color: #ccc;
}

.title-form {
  color: #000;
  font-size: 12px;
}

.label-form {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

input[type="date"]::before {
  content: attr(placeholder);
  color: grey;
}
input[type="date"]:focus::before {
  content: "";
}

.input-container {
  display: flex;
  align-items: flex-start; /* Untuk meratakan item secara vertikal */
  margin-bottom: 10px; /* Jarak bawah antar input */
}

.btn-action {
  margin-left: 20px;
  background-color: #0cb299; /* Warna latar button */
  color: white; /* Warna teks button */
  border: none; /* Menghapus border */
  border-radius: 50px; /* Sudut melengkung */
  cursor: pointer; /* Menunjukkan bahwa button bisa diklik */
  text-wrap: nowrap;
}

.btn-action:hover {
  background-color: #0cb299; /* Warna latar saat hover */
}

#search {
    margin-top: 15px;
    /* background-color: #ffffff; */
    border: #ffffff;
    /* padding: 15px; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.no-data-message {
  color: red; /* Atau warna lain sesuai preferensi */
  font-weight: bold;
  text-align: center;
  margin: 20px 0; /* Atur margin sesuai kebutuhan */
}

.footer {
  text-align: center;
  font-size: 12px;
  padding: 20px;
  font-weight: 600;
}

/* Carousel Section */
.carousel-wrapper {
  margin: 5px auto;
  width: 90%;
}

.owl-carousel .item img {
  width: 100%;
  border-radius: 5px;
}

.iframe-surat-kontrol {
  margin: 30px 10px;
}

.iframe-rujuk-balik {
  margin: 30px 10px;
}

.floating-buttons {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Jarak antar tombol */
  z-index: 900; /* Pastikan di atas konten lain */
}

.btn-floating {
  background-color: #0cb299; /* Warna latar belakang */
  color: white; /* Warna teks */
  border: none;
  width: 100%; /* Lebar tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Bayangan tombol */
  cursor: pointer; /* Menunjukkan pointer saat hover */
}

.btn-floating i {
  font-size: 20px; /* Ukuran ikon */
}

.btn-floating-logout {
  background-color: #dc143c; /* Warna latar belakang */
  color: white; /* Warna teks */
  border: none;
  width: 100%; /* Lebar tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Bayangan tombol */
  cursor: pointer; /* Menunjukkan pointer saat hover */
}

.btn-floating-logout i {
  font-size: 15px; /* Ukuran ikon */
  margin-right: 10px;
}

.card-user {
  background-image: url("webp/bg-user.webp");
    
  background-size: cover;
  background-repeat: no-repeat;

  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

.card-user-details {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: -40px 15px 0px 15px;
}

.info {
  display: flex;
  align-items: center;
  width: 100%;
}

.photo {
  flex: 0 0 50px; /* Fixed width for photo */
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: #e0e0e0; /* Placeholder color */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.details {
  flex: 1;
}

.details h3 {
  margin: 0;
  font-size: 12px;
  color: #000000;
}

.details p {
  margin: 5px 0;
  font-size: 14px;
  color: #000000;
}

.icon-card {
  border-radius: 10px;
  margin-bottom: 5px;
}

.tg {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 36px !important;
  user-select: none;
  -webkit-user-select: none;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 65% !important;
  width: 0;
}

.btn-lihat {
  background: #0cb299;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: bold;
}

.contoh1 {
  font-size: 16px;
}

.contoh2 {
  font-size: 20px;
  line-height: 20px;
}

.contoh3 {
  font-size: 16px;
  line-height: 1.5em;
}

.contoh4 {
  font-size: 16px;
  line-height: 2;
}

.t1,
.t2 {
  border-collapse: collapse;
}

.t1 > tbody > tr > td {
  border: 1px solid red;
}

.t2 > tbody > tr > td {
  border: 1px solid blue;
}

.t3 td {
  white-space: nowrap;
}

/* #search {
  border: 2px solid #689bd7 !important;
} */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Untuk perangkat iOS */
}

.form-group {
  margin: 10px;
}

/* Chat box styles */
.chat-box {
  padding-top: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 60vh;
}

.chat-message-bot {
  display: flex;
  margin-bottom: 10px;
  align-items: flex-start;
}

.chat-message-user {
  display: flex;
  margin-bottom: 10px;
  align-items: flex-start;
  justify-content: flex-end;
}

.chat-message-bot .user-icon {
  font-size: 30px;
  margin-right: 10px;
}

.chat-message-user .user-icon {
  font-size: 30px;
  margin-right: 10px;
}

.chat-message-bot .bubble {
  padding: 10px;
  border-radius: 15px;
  max-width: 75%;
  word-wrap: break-word;
}

.chat-message-user .bubble {
  padding: 10px;
  border-radius: 15px;
  max-width: 75%;
  word-wrap: break-word;
}

.chat-message-bot .bubble {
  background-color: #0cb299;
  align-self: flex-start;
}

.chat-message-user .bubble {
  background-color: #4caf50;
  color: white;
  align-self: flex-end;
}

/* Styling for chat input form */
.chat-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 0;
}

#chat-input {
  width: calc(100% - 90px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

#chat-input:focus {
  border-color: #4caf50;
}

.card-baru {
  position: relative; /* Needed for positioning the badge */
  display: inline-block;
  text-align: center;
  padding: 10px;
  /* background-color: #ffffff;
  border: 1px solid #ffffff; */
  border-radius: 10px;
  text-align: center;
  height: 100px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-baru span {
  font-weight: 500;
  font-size: 10px;
  color: #000000;
}

.badge {
  position: absolute;
  top: -5px; /* Adjust as needed */
  right: -5px; /* Adjust as needed */
  background-color: #ff4747;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 12px; /* Makes it round */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: pulse 1.5s infinite; /* Add pulsing effect */
}

/* Pulsing animation */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.typing-tanya {
  display: block;
  width: 60px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.typing {
  display: block;
  width: 60px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.circle {
  display: block;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background-color: #8d8d8d;
  margin: 3px;
}
.circle.scaling {
  animation: typing 1000ms ease-in-out infinite;
  animation-delay: 3600ms;
}
.circle.bouncing {
  animation: bounce 1000ms ease-in-out infinite;
  animation-delay: 3600ms;
}

.circle:nth-child(1) {
  animation-delay: 0ms;
}

.circle:nth-child(2) {
  animation-delay: 333ms;
}

.circle:nth-child(3) {
  animation-delay: 666ms;
}

@keyframes typing {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  33% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.btn-floating-login {
  background-color: #00a758; /* Warna latar belakang */
  color: white; /* Warna teks */
  border: none;
  width: 100%; /* Lebar tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Bayangan tombol */
  cursor: pointer; /* Menunjukkan pointer saat hover */
}

.btn-floating-login i {
  font-size: 15px; /* Ukuran ikon */
  margin-right: 10px;
}

.mk-simple-alert-box {
  padding: 10px 15px;
  margin: 20px 20px 0px;
  border-left: 5px solid;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.mk-simple-alert-box-info {
  background-color: #bfdcef;
  color: #000;
  border-color: #31708f;
}

.container-alert {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-footer {
  margin: 15px 20px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
/* CARD UTAMA */
.card-ticker {
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;

  background: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* GARIS AKSEN KIRI */
.card-line {
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  border-radius: 4px;
  background: #f3a6a6;
}

/* AVATAR DR */
.card-avatar {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;

  background: #5bb6d9;
  color: #fff;
  font-weight: 600;
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* KONTEN TENGAH */
.card-content {
  flex: 1;
  line-height: 1.3;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.card-subtitle {
  font-size: 12px;
  color: #666;
}

.card-date {
  font-size: 12px;
  color: #888;
}

/* STATUS KANAN */
.card-status {
  background: #f36c6c;
  color: #fff;

  font-size: 11px;
  font-weight: 600;

  padding: 4px 10px;
  border-radius: 10px;
}


.btn-darurat {
  display: flex;
  padding: 7px 0px;
  font-size: 16px;
  background-color: #ffffff;
  color: red;
  border: 2px solid red;
  border-radius: 50px;
  cursor: pointer;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.container-pengumuman {
  margin-top: 20px;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}
.title-pengumuman {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  width: 70%;
}
.date-pengumuman {
  font-size: 12px;
  color: #000;
}
hr {
  border: 0;
  height: 1px;
  background: #ccc;
}

.row-pengumuman {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: pointer;
}

/* Kontainer gambar */
.slide-container {
  display: flex;
  gap: 10px; /* Jarak antar gambar */
  overflow-x: auto; /* Aktifkan scroll horizontal di mobile */
  margin: 0px 20px;
  scroll-snap-type: x mandatory; /* Snap scrolling untuk mobile */
  border-radius: 10px;
  /* Sembunyikan scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer */
}

.slide-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, dan Edge */
}

/* Item gambar */
.slide-item {
  flex: 0 0 80%; /* Mobile: Lebar setiap gambar 80% dari layar */
  scroll-snap-align: center; /* Snap ke tengah */
}

.slide-item img {
  width: 100%;
  height: 80px;
  border-radius: 10px;
}

.article-container {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: auto;
}

.article-content {
  padding: 10px;
}

.article-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.article-body {
  font-size: 12px;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.title-slide-container {
  display: flex; /* Menggunakan flexbox untuk tata letak horizontal */
  justify-content: space-between; /* Memisahkan elemen ke kiri dan kanan */
  align-items: center; /* Menyelaraskan elemen secara vertikal */
  padding: 0px 20px 10px 20px;
}

.title-salam-container {
  display: flex; /* Menggunakan flexbox untuk tata letak horizontal */
  justify-content: space-between; /* Memisahkan elemen ke kiri dan kanan */
  align-items: center; /* Menyelaraskan elemen secara vertikal */
  margin: 0px 5px 0px 0px;
}

.swal2-popup.custom-modal {
  width: 100% !important;
  max-width: 95vw !important;
  padding: 0 !important;
  background-color: #000 !important;
}

.zoom-container {
  overflow: hidden;
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-img {
  transition: transform 0.25s ease;
  max-width: 100%;
  max-height: 100%;
  cursor: grab;
  display: block;
  margin: auto;
}

@media print {
  #hasilLaborat {
    width: 100%;
    font-size: 12px;
  }
}
