:root {
  --font-opensans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-jost: "Jost", sans-serif;
  --font-poppins: "Poppins", sans-serif;
}

:root {
  --main-color: #ae0000;
  --accent-color: #ae0000;
  --accent-color-1: #ae0000;
  --background-color: #ffffff;
  --default-color: #666565;

  --color-green: #16c47f;
  --color-red: #ff7588;
  --color-blue: #5470c6;
  --color-toast: #00b5b8;
  --color-yellow: #ffa87d;

  --bg-green: #16c47f;
  --bg-red: #ff5370;
  --bg-blue: #4099ff;
  --bg-toast: #00b5b8;
  --bg-yellow: #ffb64d;

  --hover-bg-green: #02975b;
  --hover-bg-red: #e23653;
  --hover-bg-blue: #277de0;
  --hover-bg-toast: #009fa2;
  --hover-bg-yellow: #e29b39;
}

.lb-outerContainer {
  width: 80%;
  /* height: auto; */
}

.lb-image {
  width: 100% !important;
  height: auto !important;
  /* Lebar maksimum 80% dari layar */
  /* max-height: 80vh !important; */
  /* Tinggi maksimum 80% dari viewport */
}

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

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

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

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

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


.bg-main {
  background-color: var(--main-color);
}

.bg-green {
  background-color: var(--bg-green);
}

.bg-red {
  background-color: var(--bg-red);
}

.bg-blue {
  background-color: var(--bg-blue);
}

.bg-toast {
  background-color: var(--bg-toast);
}

.bg-yellow {
  background-color: var(--bg-yellow);
}

.btn-green:link,
.btn-green:visited {
  border: 1px solid var(--bg-green);
  background-color: var(--bg-green);
  color: #fff;
}

.btn-green:hover {
  background-color: var(--hover-bg-green);
  color: #fff;
}

.btn-red:link,
.btn-red:visited {
  border: 1px solid var(--bg-red);
  background-color: var(--bg-red);
  color: #fff;
}

.btn-red:hover {
  background-color: var(--hover-bg-red);
  color: #fff;
}

.btn-blue:link,
.btn-blue:visited {
  border: 1px solid var(--bg-blue);
  background-color: var(--bg-blue);
  color: #fff;
}

.btn-blue:hover {
  background-color: var(--hover-bg-blue);
  color: #fff;
}

.btn-toast:link,
.btn-toast:visited {
  border: 1px solid var(--bg-toast);
  background-color: var(--bg-toast);
  color: #fff;
}

.btn-toast:hover {
  background-color: var(--hover-bg-toast);
  color: #fff;
}

.btn-yellow:link,
.btn-yellow:visited {
  border: 1px solid var(--bg-yellow);
  background-color: var(--bg-yellow);
  color: #fff;
}

.btn-yellow:hover {
  background-color: var(--hover-bg-yellow);
  color: #fff;
}

.btn-outline-green:link,
.btn-outline-green:visited {
  border: 1px solid var(--bg-green);
  background-color: #fff;
  color: var(--bg-green);
}

.btn-outline-green:hover {
  background-color: var(--bg-green);
  color: #fff;
}

.btn-outline-green.active {
  background-color: var(--bg-green);
  color: #fff;
}

.btn-outline-red:link,
.btn-outline-red:visited {
  border: 1px solid var(--bg-red);
  background-color: #fff;
  color: var(--bg-red);
}

.btn-outline-red:hover {
  background-color: var(--bg-red);
  color: #fff;
}

.btn-outline-red.active {
  background-color: var(--bg-red);
  color: #fff;
}

.btn-outline-blue:link,
.btn-outline-blue:visited {
  border: 1px solid var(--bg-blue);
  background-color: #fff;
  color: var(--bg-blue);
}

.btn-outline-blue:hover {
  background-color: var(--bg-blue);
  color: #fff;
}

.btn-outline-blue.active {
  background-color: var(--bg-blue);
  color: #fff;
}

.btn-outline-toast:link,
.btn-outline-toast:visited {
  border: 1px solid var(--bg-toast);
  background-color: #fff;
  color: var(--bg-toast);
}

.btn-outline-toast:hover {
  background-color: var(--bg-toast);
  color: #fff;
}

.btn-outline-toast.active {
  background-color: var(--bg-toast);
  color: #fff;
}

.btn-outline-yellow:link,
.btn-outline-yellow:visited {
  border: 1px solid var(--bg-yellow);
  background-color: #fff;
  color: var(--bg-yellow);
}

.btn-outline-yellow:hover {
  background-color: var(--bg-yellow);
  color: #fff;
}

.btn-outline-yellow.active {
  background-color: var(--bg-yellow);
  color: #fff;
}

.btn-outline-custom {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.btn-outline-custom:link,
.btn-outline-custom:visited {
  border: 1px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
}

.btn-outline-custom:hover {
  background-color: var(--main-color);
  color: #fff;
}

.btn-outline-custom.active {
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  color: #fff;
}

.btn-outline-main {
  border: 1px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
}

.btn-outline-main:hover {
  background-color: var(--main-color);
  color: #fff;
}

body {
  background-color: var(--background-color);
  /* background-color: #F4F6F9; */
  font-family: var(--font-poppins);
}

.navbar {
  background-color: var(--background-color);
  font-family: var(--font-poppins);
}

.navbar .navbar-brand {
  font-size: 30px;
  font-weight: 600;
  color: var(--main-color);
}

.navbar .navbar-togle {
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
}

.navbar .nav-link:link,
.navbar .nav-link:visited {
  font-size: 18px;
  font-weight: 500;
  color: var(--main-color);
}

.navbar .nav-link:hover {
  color: #10375c;
}

.navbar .nav-link.active {
  color: var(--main-color);
}

.navbar .dropdown-item:link,
.navbar .dropdown-item:visited {
  color: var(--main-color);
}

.navbar .dropdown-item:hover {
  background-color: var(--main-color);
  color: var(--background-color);
}

.navbar .btn-login:link,
.navbar .btn-login:visited {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 20px;
  border: 1px solid var(--background-color);
  border-radius: 5px;
  color: var(--background-color);
}

.navbar .btn-login:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: var(--background-color);
}

.navbar .btn-registrasi:link,
.navbar .btn-registrasi:visited {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: var(--background-color);
  border: 1px solid var(--background-color);
  color: var(--main-color);
}

.navbar .btn-registrasi:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: var(--background-color);
}

.navbar .btn-login-mobile:link,
.navbar .btn-login-mobile:visited {
  text-align: center;
  text-decoration: none;
  padding: 5px 20px;
  border: 1px solid var(--background-color);
  border-radius: 5px;
  color: var(--background-color);
}

.navbar .btn-login-mobile:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: var(--background-color);
}

.navbar .btn-registrasi-mobile:link,
.navbar .btn-registrasi-mobile:visited {
  text-align: center;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: var(--background-color);
  border: 1px solid var(--background-color);
  color: var(--main-color);
}

.navbar .btn-registrasi-mobile:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: var(--background-color);
}

/* BREADCRUMB */
.section-breadcrumb {
  background-color: var(--main-color);
}

.section-breadcrumb .body {
  --bs-breadcrumb-divider: ">";
}

.section-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: var(--background-color) !important;
  /* Warna divider */
}

.section-breadcrumb .list:link,
.section-breadcrumb .list:visited {
  color: var(--background-color);
  font-weight: 600;
  text-decoration: none;
}

.section-breadcrumb .list-active {
  color: var(--background-color);
  font-weight: 700;
}

.icon-svg {
  filter: invert(22%) sepia(14%) saturate(1042%) hue-rotate(164deg) brightness(102%) contrast(85%);
}

/* TREE VIEW */
.treeview ul {
  list-style: none;
  padding-left: 1.5rem;
}

.tree-toggle {
  cursor: pointer;
  /* padding: 0.5rem 0; */
  /* padding-left: 1.5rem; */
  position: relative;
}

.tree-toggle .tree-icon {
  position: absolute;
  right: 0;
  margin-right: 1.5rem;
  transition: transform 0.3s;
}

.tree-toggle .rotate {
  transform: rotate(90deg);
}

.treeview ul ul {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  padding-left: 1.5rem;
}

.treeview ul ul.expanded {
  max-height: 500px;
}

/* CUSTOM TABS */
.tabs-custom .nav-link {
  color: var(--accent-color-1);
}

.tabs-custom .nav-link.active {
  background-color: var(--accent-color-1);
  color: #ffffff;
}

/* CUSTOM ACCORDION */
.accordion-button:not(.collapsed) {
  color: #000000;
  background-color: #efa6a6;
}

.accordion-button:not(.collapsed)::after {
  color: #ffffff;
}

/* CUSTOM DROPDOWN */
.dropdown-menu-custom {
  width: 500px;
  /* Lebar default */
  max-width: 100%;
  /* Agar tidak melebihi layar */
  min-width: 350px;
  /* Supaya tidak terlalu kecil */
  white-space: normal;
}

.dropdown-menu.custom-dropdown {
  max-height: 800px;
  overflow-y: auto;
}

.dropdown-item-custom {
  white-space: normal;
  word-wrap: break-word;
  /* text-decoration: none;
  color: #272d2d;
  padding: 5px; */
}

/* CUSTOM LIST GROUP */
.list-group-item-custom.active {
  background-color: var(--accent-color-1);
  border: 1px solid var(--accent-color-1);
}

/* CUSTOM SELECT */

/* HERO */
.hero {
  background-color: #ffffff;
  /* background-image: linear-gradient(#ffffff, #5fdcff5e); */
  font-family: var(--font-poppins);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 50px 0;
}

.hero .title {
  font-size: 48px;
  font-weight: 600;
  color: var(--main-color);
}

.hero .description {
  font-size: 20px;
  text-align: justify;
  color: var(--default-color);
}

.hero .tombol-cekstatus:link,
.hero .tombol-cekstatus:visited {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 55px;
  border-radius: 5px;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  color: var(--background-color);
}

.hero .tombol-cekstatus:hover {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  box-shadow: 2px 2px #939393;
  transition: box-shadow 0.1s ease;
}

/* TITLE MASTER */
.title-master {
  color: var(--main-color);
  font-size: 24px;
}

.title-master .bold {
  font-weight: 600;
}

@media (min-width: 576px) {
  .title-master {
    font-size: 24px;
  }
}

@media (min-width: 768px) {
  .title-master {
    font-size: 28px;
  }
}

@media (min-width: 992px) {
  .title-master {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  .title-master {
    font-size: 36px;
  }
}

@media (min-width: 1400px) {
  .title-master {
    font-size: 36px;
  }
}

/* LAYANAN MASYARAKAT */
.section-layanan-masyarakat .title {
  font-size: 22px;
  font-weight: 600;
}

/* .section-layanan-masyarakat img {
  width: 90px;
} */

@media (min-width: 576px) {
  .section-layanan-masyarakat .title {
    font-size: 18px;
  }

  /* .section-layanan-masyarakat img {
    width: 90px;
  } */
}

@media (min-width: 768px) {
  .section-layanan-masyarakat .title {
    font-size: 18px;
  }

  /* .section-layanan-masyarakat img {
    width: 90px;
  } */
}

@media (min-width: 992px) {
  .section-layanan-masyarakat .title {
    font-size: 18px;
  }

  /* .section-layanan-masyarakat img {
    width: 90px;
  } */
}

@media (min-width: 1200px) {
  .section-layanan-masyarakat .title {
    font-size: 20px;
  }

  /* .section-layanan-masyarakat img {
    width: 90px;
  } */
}

@media (min-width: 1400px) {
  .section-layanan-masyarakat .title {
    font-size: 24px;
  }

  /* .section-layanan-masyarakat img {
    width: 100px;
    height: auto;
  } */
}

/* ------CARD CONTENT----- */
.card-content {
  background-color: #ffffff;
  height: 100%;
  border: 1px solid #c3c3c3;
  border-radius: 5px;
}

.card-content .body {
  padding: 7px 10px;
}

.card-content .info {
  font-size: 12px;
  color: var(--default-color);
}

.card-content .link-content:link,
.card-content .link-content:visited {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 700;
}

.card-content .link-content:hover {
  color: #08233c;
}

.card-admin {
  color: #404e67;
  margin-bottom: 1.5rem;
}

.card-admin .icon {
  font-size: 50px;
  line-height: 50px;
}

.card-admin .title {
  font-size: 24px;
  line-height: 28px;
}

.card-admin .number {
  font-size: 28px;
  line-height: 28px;
}

.stat-card {
  padding: 20px;
  transition: transform 0.2s;
  margin-bottom: 1.5rem;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.dropdown-daftar-peta {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.header-detail-map {
  background-image: url("https://t4.ftcdn.net/jpg/04/83/14/01/360_F_483140149_XAtQL6ZbSYYkMLHvSiq3Of9THnFBQmHp.jpg");
  /* height: 60px; */
  padding: 30px 0 5px 10px;
}

.header-detail-map .title-subject {
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  color: #ffffff;
}

.header-detail-map .subtitle-subject {
  color: #fff;
}

/* COMPONENT */
.bg-sistem {
  background-color: var(--main-color);
  color: var(--background-color);
}

.icon-filter-dropdown {
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  color: var(--main-color);
  font-weight: 600;
}

.btn-sistem:link,
.btn-sistem:visited {
  background-color: var(--main-color);
  color: var(--background-color);
}

.btn-sistem:hover {
  background-color: var(--accent-color);
  color: var(--background-color);
}

.select-dropdown {
  /* width: 100%; */
  /* max-width: 1300px; */
  padding: 2px 25px 2px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 10px 10px;
}

.select-dropdown:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.select-dropdown:hover {
  border-color: #007bff;
}

.select-dropdown option {
  padding: 5px 15px;
}

/* SELECT DROPDOWN INSTANSI */

/* DROPDOWN MOBILE */
.dropdown-mobile .button {
  font-size: 18px;
}

.card-layanan-masyarakat:link,
.card-layanan-masyarakat:visited {
  display: block;
  text-decoration: none;
  color: var(--default-color);
  font-weight: 500;
  text-align: left;
}

.card-layanan-masyarakat:hover {
  color: var(--accent-color);
}

.image-wrapper {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  border-radius: 5px;
}

@media (min-width: 576px) {
  .image-wrapper {
    height: 160px;
  }
}

@media (min-width: 768px) {
  .image-wrapper {
    height: 160px;
  }
}

@media (min-width: 992px) {
  .image-wrapper {
    height: 170px;
  }
}

@media (min-width: 1200px) {
  .image-wrapper {
    height: 190px;
  }
}

@media (min-width: 1400px) {
  .image-wrapper {
    height: 170px;
  }
}


.image-wrapper-uks {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background-size: cover;
  background-position: top center;
  border-radius: 5px;
}

@media (min-width: 576px) {
  .image-wrapper-uks {
    height: 360px;
  }
}

@media (min-width: 768px) {
  .image-wrapper-uks {
    height: 360px;
  }
}

@media (min-width: 992px) {
  .image-wrapper-uks {
    height: 270px;
  }
}

@media (min-width: 1200px) {
  .image-wrapper-uks {
    height: 290px;
  }
}

@media (min-width: 1400px) {
  .image-wrapper-uks {
    height: 270px;
  }
}

.button-card-data:link,
.button-card-data:visited {
  display: block;
  text-decoration: none;
  color: var(--default-color);
  font-weight: 700;
  text-align: center;
  border: 1px solid #cecece;
  border-radius: 5px;
}

.button-card-data:hover {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 5px;
}

.bg-asli {
  color: #ffbf00;
  color: #10375c;
}

/* LOADER */
.loader {
  width: 80px;
  height: 80px;
  display: grid;
  /* display: block; */
  margin: auto;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  --c: radial-gradient(farthest-side, #a50000 92%, #0000);
  background: var(--c) 50% 0, var(--c) 50% 100%, var(--c) 100% 50%,
    var(--c) 0 50%;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  animation: s2 1s infinite;
}

.loader::before {
  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear;
}

@keyframes s2 {
  100% {
    transform: rotate(0.5turn);
  }
}

/* TOP MENU */
.section-top-menu {
  background-color: #ffffff;
}

.section-top-menu .container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  white-space: nowrap;
  border-radius: 5px;
}

.section-top-menu .container::-webkit-scrollbar {
  height: 5px;
}

.section-top-menu .container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.section-top-menu .container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* LIST SIDEBAR */

/* HALAMAN LAYANAN */
.card-layanan {
  position: relative;
  /* Wajib agar pseudo-element bisa diposisikan */
  overflow: hidden;
  min-height: 425px;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
  margin-top: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover style seperti sebelumnya */
.card-layanan:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(174, 0, 0, 0.25);
}

/* Efek kilatan kaca saat hover */
.card-layanan:hover::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.35) 40%,
      rgba(255, 255, 255, 0) 60%);
  transform: rotate(100deg);
  animation: glassSwipe 0.75s ease forwards;
  pointer-events: none;
  z-index: 1;
}

/* Animasi kilatan kaca */
@keyframes glassSwipe {
  0% {
    top: 100%;
    left: -100%;
  }

  100% {
    top: -100%;
    left: 100%;
  }
}

.card-title {
  font-weight: 600;
  color: #ae0000;
}

.card-layanan-img {
  height: 200px;
  min-height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-color: inherit;
  position: relative;
}

.card-layanan-img::after {
  position: absolute;
  content: "";
  top: 161px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-top-width: 40px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 545px;
  border-left-width: calc(575px - 7vw);
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: inherit;
  filter: drop-shadow(0 -8px 8px rgba(0, 0, 0, 0.18));
}

.card-layanan-avatar img {
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
  position: absolute;
  top: 100px;
  left: 1.25rem;
  width: 100px;
  height: 100px;
  background-color: #ffffff;
}

.btn-layanan {
  color: #ffffff;
  background-color: #ae0000;
}

.btn-layanan:hover {
  color: #ffd6d6;
  background-color: #960000;
}

/* EFEK DAFTAR APLIKASI */
.glass-glow {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.glass-glow:hover {
  transform: scale(1.02);
}

.glass-glow:hover::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 70%);
  transform: rotate(25deg);
  animation: glassSwipe 0.3s ease forwards;
  pointer-events: none;
}

@keyframes glassSwipe {
  0% {
    top: 100%;
    left: -100%;
  }

  100% {
    top: -100%;
    left: 100%;
  }
}


/* IMG THUMBNAIL CUSTOM */
.img-thumbnail-custom {
  width: 40%;
}

@media (min-width: 576px) {
  .img-thumbnail-custom {
    width: 40%;
  }
}

@media (min-width: 768px) {
  .img-thumbnail-custom {
    width: 40%;
  }
}

@media (min-width: 992px) {
  .img-thumbnail-custom {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .img-thumbnail-custom {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .img-thumbnail-custom {
    width: 100%;
  }
}

/* CUACA */
.table-wrapper-scroll {
  overflow-x: auto;
  width: 100%;
}

/* table {
  border-collapse: collapse;
  min-width: max-content;
}

th,
td {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  border: none !important;
  padding: 10px !important;
}

thead th {
  position: sticky;
  top: 0;
  background-color: #fce8e9 !important;
  color: #000 !important;
  z-index: 2;
}

thead th:first-child {
  left: 0;
  z-index: 3;
}

tbody th {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  text-align: left;
} */

.icon-cuaca {
  width: 30px;
  vertical-align: middle;
  margin-right: 5px;
}

.icon-sub-cuaca {
  font-size: 20px;
  line-height: 22px;
  color: #a50000;
  margin-right: 10px;
  /* width: 20px;
  vertical-align: middle;
  margin-right: 5px; */
}

.link-cuaca {
  text-decoration: none;
  color: #ad0000;
}


/* BREADCRUMB CUACA */
.breadcrumb-cuaca {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-cuaca a,
.breadcrumb-cuaca span {
  color: #ad0000;
  text-decoration: none;
  display: inline-block;
  position: relative;
  margin-right: 8px;
}

.breadcrumb-cuaca a::after,
.breadcrumb-cuaca span::after {
  content: ">";
  color: black;
  margin-left: 8px;
}

.breadcrumb-cuaca span {
  color: black;
  pointer-events: none;
}

.breadcrumb-cuaca :last-child::after {
  content: "";
}


/* CARD CUACA HARI INI */
.sub-judul-cuaca {
  font-size: 20px;
  font-weight: 600;
}

.card-cuaca-hari-ini {
  background-color: #fbe7e8;
}

.card-cuaca-hari-ini .judul {
  font-size: 18px;
  line-height: 32px;
  font-weight: 600;
}

.card-cuaca-hari-ini .cuaca,
.card-cuaca-hari-ini .lokasi {
  font-size: 16px;
  line-height: 32px;
  font-weight: 600;
}

.card-cuaca-hari-ini .suhu {
  font-size: 35px;
  line-height: 70px;
  font-weight: 600;
}

.card-cuaca-hari-ini .keterangan {
  padding: 6px;
  border: 1px solid #969696;
  border-radius: 6px;
  margin-bottom: 10px;
  margin-right: 10px;
  font-size: 16px;
}

@media (min-width: 576px) {

  /* BREADCRUMB */
  .breadcrumb-cuaca {
    font-size: 14px;
  }

  .icon-hari-ini {
    width: 130px;
  }

  .sub-judul-cuaca {
    font-size: 18px;
  }

  .card-cuaca-hari-ini .judul {
    font-size: 20px;
  }

  .card-cuaca-hari-ini .suhu {
    font-size: 40px;
  }

  .card-cuaca-hari-ini .cuaca,
  .card-cuaca-hari-ini .lokasi {
    font-size: 18px;
  }

}

@media (min-width: 768px) {

  /* BREADCRUMB */
  .breadcrumb-cuaca {
    font-size: 16px;
  }

  .icon-hari-ini {
    width: 200px;
  }

  .sub-judul-cuaca {
    font-size: 30px;
  }

  .card-cuaca-hari-ini .judul {
    font-size: 24px;
  }

  .card-cuaca-hari-ini .cuaca,
  .card-cuaca-hari-ini .lokasi {
    font-size: 20px;
  }
}

@media (min-width: 992px) {

  /* BREADCRUMB */
  .breadcrumb-cuaca {
    font-size: 16px;
  }

  .icon-hari-ini {
    width: 250px;
  }

  .sub-judul-cuaca {
    font-size: 30px;
  }

  .card-cuaca-hari-ini .judul {
    font-size: 24px;
  }

  .card-cuaca-hari-ini .cuaca,
  .card-cuaca-hari-ini .lokasi {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {

  /* BREADCRUMB */
  .breadcrumb-cuaca {
    font-size: 16px;
  }

  .icon-hari-ini {
    width: 270px;
  }

  .sub-judul-cuaca {
    font-size: 30px;
  }

  .card-cuaca-hari-ini .judul {
    font-size: 24px;
  }

  .card-cuaca-hari-ini .cuaca,
  .card-cuaca-hari-ini .lokasi {
    font-size: 24px;
  }
}

@media (min-width: 1400px) {

  /* BREADCRUMB */
  .breadcrumb-cuaca {
    font-size: 16px;
  }

  .icon-hari-ini {
    width: 280px;
  }

  .sub-judul-cuaca {
    font-size: 30px;
  }

  .card-cuaca-hari-ini .judul {
    font-size: 24px;
  }

  .card-cuaca-hari-ini .suhu {
    font-size: 56px;
  }

  .card-cuaca-hari-ini .cuaca,
  .card-cuaca-hari-ini .lokasi {
    font-size: 24px;
  }
}

/* BUTTON CUACA */
/* BUTTON TANGGAL CUACA */
.btn-outline-tanggal-cuaca:link,
.btn-outline-tanggal-cuaca:visited {
  border: 1px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
}

.btn-outline-tanggal-cuaca:hover,
.btn-outline-tanggal-cuaca.active {
  background-color: #fbe7e8;
  color: #ad0000;
}

/* UNTUK CAROUSEL CUACA */
/* WEATHER CARD */
.weather-card {
  background: linear-gradient(to bottom, rgb(253, 227, 227), rgb(244, 211, 211));
  border-radius: 16px;
  padding: 20px;
  margin: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  transition: all 0.3s ease;
}

.weather-card:hover {
  transform: scale(1.02);
}

.weather-time {
  font-weight: bold;
  font-size: 1.2rem;
}

.weather-temp {
  font-size: 2rem;
  font-weight: bold;
}

.weather-icon {
  width: 80px !important;
}

.weather-detail {
  font-size: 0.9rem;
  background: #ffffffbb;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
}

.scrolling-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.scrolling-wrapper .row {
  flex-wrap: nowrap;
}

.scrolling-wrapper .col {
  flex: 0 0 auto;
}

/* CAROUSEL */
/* CUSTOM BUTTON NAVIGATION */
.custom-nav-cuaca {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: #000;
  border: none;
  z-index: 9999;
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #969696;
  transition: background 0.3s ease;
}

.custom-nav-cuaca:hover {
  background-color: #ffffff;
}

.custom-nav-cuaca-left {
  left: -20px;
}

.custom-nav-cuaca-right {
  right: -20px;
}

/**tambahan dari rino**/
.floating-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  border-radius: 50px;
  background: var(--main-color);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  transition: all 0.3s;
  z-index: 1000;
  /* padding: 21px; */
  /* padding: 13px 10px 10px 10px; */
  /* font-weight: bold; */
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  background: #ffbb00;
}

.floating-chat-btn i {
  font-size: 30px;
}

/* Modal Chatbot Styles */
.chatbot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chatbot-modal.show {
  opacity: 1;
  visibility: visible;
}

.chatbot-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  height: 80%;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.chatbot-modal.show .chatbot-modal-content {
  transform: scale(1);
}

.chatbot-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--main-color);
  color: white;
  border-radius: 12px 12px 0 0;
}

.chatbot-modal-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.chatbot-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chatbot-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-modal-body {
  flex: 1;
  padding: 0;
  overflow: hidden;
}

.chatbot-modal-body iframe {
  border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
  .chatbot-modal-content {
    width: 95%;
    height: 90%;
    margin: 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}