    .container-fluid,
    .row,
    .col-lg-4,
    .card,
    .card-body,
    .list-group,
    .list-group-flush {
        overflow: visible !important;
        position: static !important;
    }

    .card:has(.perangkat-item) {
        overflow: visible !important;
        z-index: 1;
    }

    .perangkat-item {
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 1rem !important;
        z-index: 2;
    }

    .perangkat-popup {
        position: absolute !important;
        width: 280px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 15px;
        z-index: 99999 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border: 1px solid rgba(0, 0, 0, 0.1);
        transform: translateY(-10px) scale(0.95);
        pointer-events: none;
        display: block;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }

    .perangkat-item:hover .perangkat-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
        pointer-events: auto;
    }

    .perangkat-popup::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-top-color: white;
        filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
    }

    .perangkat-popup::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 9px solid transparent;
        border-top-color: rgba(0, 0, 0, 0.1);
    }

    .perangkat-item:hover {
        background-color: #f8f9fa !important;
    }

    .perangkat-photo {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 10px;
        border: 3px solid #e0e0e0;
    }

    .perangkat-social {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .perangkat-social a {
        color: #0d6efd;
        font-size: 18px;
        transition: all 0.2s;
    }

    .perangkat-social a:hover {
        color: #0a58ca;
        transform: scale(1.1);
    }

    .bg-light-primary {
        background-color: rgba(13, 110, 253, 0.1);
    }
    
    .prodes-up{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        z-index: -1; 
        background-color: rgba(215, 219, 221 , 0.4);
    }
    
    .prodes-up-dua{
        padding-top: 2%;
    }
    
    .t-dec{
        text-decoration:none;
    }
    
    .tab-w{
        width: 30%;
    }
    
    .tab-wL{
        width: 27%;
    }
    
    .tab-wMl{
        width: 15%;
    }
    
    .prodes-fr{
        border:0;
    }
    
    .prodes-img{
        max-height: 150px;
    }

    .table-responsive {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .table-bordered {
        margin-bottom: 0;
    }

    .table-bordered th,
    .table-bordered td {
        padding: 0.75rem;
        vertical-align: middle;
    }

    .bg-light {
        background-color: #f8f9fa !important;
    }

    .table-hover tbody tr:hover {
        background-color: rgba(13, 110, 253, 0.05);
    }

    .accordion-body {
        padding: 0;
    }

    .accordion-button {
        font-weight: 600;
        padding: 1rem 1.5rem;
    }

    .accordion-button:not(.collapsed) {
        background-color: rgba(13, 110, 253, 0.1);
        color: #0d6efd;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(13, 110, 253, 0.25);
    }

    .map-container {
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .map-container:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .card {
        border-radius: 0.5rem;
        overflow: visible !important;
    }

    .list-group-item {
        transition: all 0.2s ease;
    }

    .list-group-item:hover {
        background-color: #f8f9fa;
    }

    @media (max-width: 767.98px) {
        .perangkat-popup {
            width: 250px;
            font-size: 0.9rem;
        }

        .accordion-button {
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
        }

        .table-bordered th,
        .table-bordered td {
            padding: 0.5rem;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 991.98px) {
        .order-lg-1 {
            order: 2;
        }

        .order-lg-2 {
            order: 1;
        }
    }

    /* Floating Action Button Styles */
    .fab-container {
        position: fixed;
        bottom: -60px;
        right: 30px;
        z-index: 999;
        transition: all 0.3s ease-in-out;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #4e73df;
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .fab-btn:hover {
        background-color: #3a5ccc;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-3px) scale(1.05);
    }

    .fab-btn:active {
        transform: scale(0.95);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .fab-show {
        bottom: 30px;
        animation: fadeInUp 0.3s ease-out;
    }

    .fab-hide {
        bottom: -60px;
        animation: fadeOutDown 0.3s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOutDown {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(20px);
        }
    }
    
    .text-justify-indent p {
    text-indent: 2em;
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.6;
}

.map-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 10px;
    width: 500px;       
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.map-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.map-tooltip iframe {
    border-radius: 4px;
    width: 100% !important;  
    height: 320px;          
}

.map-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #ddd;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -7px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: white;
}

.map-hover-trigger:hover,
.route-hover-trigger:hover {
    color: #0d6efd !important;
}

.tab-pad{
    padding:5px !important;
    margin:5px !important;
}

.tab-f{
    font-size:0.9rem !important;
}

.tbl-kades {
  table-layout: fixed; 
  width: 100% !important;
}

.table-responsive .tbl-kades {
    min-width: 800px !important;
}

.tbl-kades th:nth-child(1),
.tbl-kades td:nth-child(1) {
  width:5% !important;
}

.tbl-kades th:nth-child(2),
.tbl-kades td:nth-child(2) {
  width:24% !important;
}

.tbl-kades th:nth-child(3),
.tbl-kades td:nth-child(3) {
  width:19% !important;
}

.tbl-kades th:nth-child(4),
.tbl-kades td:nth-child(4) {
  width:19% !important;
}

.tbl-kades th:nth-child(5),
.tbl-kades td:nth-child(5) {
  width:15% !important;
}

.tbl-kades th:nth-child(6),
.tbl-kades td:nth-child(6) {
  width:17% !important;
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
     .map-tooltip {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;   
        max-width: 90% !important;
        height: auto !important;
        z-index: 9999 !important;
    }

    .map-tooltip::before,
    .map-tooltip::after {
        display: none !important;
    }
    
    #fab-container {
      position: fixed !important;
      bottom: 200px !important;
      right: 10px !important;
      z-index: 999999 !important;
      pointer-events: none !important;
    }
}
    
 .pro-up{
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important; 
    z-index: -1 !important; 
    background-color: rgba(215, 219, 221 , 0.4) !important;
 }   

 .pro-up-pad{
    padding-top: 2% !important;
 }

 .t-dec{
    text-decoration:none !important;
 }

 .fs-i{
    font-style: italic !important;
 }

 .pro-w{
    width: 30% !important;
 }

 .pro-wm{
    width: 27% !important;
 }

 .pro-wm-m{
    width: 25% !important;
 }

 .pro-wm-mt{
    width: 15% !important;
 }

 .pro-wb{
    width: 45% !important;
 }

 .pro-min{
    width: 5% !important;
 }

 .pro-wmh{
    max-height: 150px !important;
 }

 .pro-cp{
    cursor: pointer !important;
 }

 .pro-br{
    border:0 !important;
 }

 .facility-card {
    margin: 10px !important;
}

.fac-fs {
    font-size:0.8rem !important;
}

.perangkat-popup {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(-10px) scale(0.95) !important;
    pointer-events: none !important;
    transition: all 0.25s ease !important;
}

.perangkat-popup.visible {
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.map-tooltip.hidden {
    display: none !important;
}

.map-tooltip.mobile {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    height: 70% !important;
    max-height: 500px !important;
    display: block !important;
}


.text-justify-indent {
    color: #2c3e50;
}

.text-justify-indent p {
    line-height: 1.2;
    text-align: justify;
    margin-bottom: 10px;
    text-indent: 32px;
    font-size: 16px;
    word-spacing: 1px;
    letter-spacing: 0.3px;
}

.text-justify-indent p:first-child {
    text-indent: 0;
    font-weight: 500;
}

.text-justify-indent p:last-child {
    margin-bottom: 0;
}

.text-justify-indent p strong,
.text-justify-indent p b {
    font-weight: 700;
    color: #1a252f;
}

.text-justify-indent p em,
.text-justify-indent p i {
    font-style: italic;
    color: #34495e;
}

@media (max-width: 992px) {
    .text-justify-indent p {
        font-size: 15px;
        line-height: 1.1;
        text-indent: 25px;
    }
}

@media (max-width: 768px) {
    .text-justify-indent p {
        font-size: 14px;
        line-height: 1;
        text-indent: 20px;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .text-justify-indent p {
        text-align: left; 
        text-indent: 15px;
    }
}

.wdt {
    width:100% !important;
}

#kepalaDesaTable {
    font-size: 14px;
}

#kepalaDesaTable th {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 12px 8px;
}

#kepalaDesaTable td {
    padding: 10px 8px;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px 10px;
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px;
    margin: 0 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #0d6efd !important;
    background: white;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e9ecef !important;
    border-color: #adb5bd;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd;
}

@media screen and (max-width: 767px) {
    #kepalaDesaTable {
        font-size: 12px;
    }
    
    #kepalaDesaTable th,
    #kepalaDesaTable td {
        padding: 8px 4px;
    }
    
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
        margin-top: 15px;
    }
    
    .dataTables_wrapper .row {
        margin: 0;
    }
    
    .dataTables_wrapper .col-sm-6 {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    #kepalaDesaTable {
        font-size: 11px;
    }
    
    #kepalaDesaTable th,
    #kepalaDesaTable td {
        padding: 6px 3px;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 4px 8px;
        font-size: 12px;
    }
}

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 60px;
    margin-left: -100px;
    margin-top: -30px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dataTables_scrollBody::-webkit-scrollbar {
    height: 8px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px; 
}
.dataTables_wrapper .dataTables_paginate {
    margin-top: 5px;
}


.dtww{
    width:7% !important;
}

.dtdt{
    width:15% !important;
}

#fab-container {
  position: fixed !important;
  bottom: 130px !important;
  right: 10px !important;
  z-index: 999999 !important;
  pointer-events: none !important;
}

#backToTop {
  pointer-events: auto !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(0, 123, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.8) !important; 

  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  border: 1px solid rgba(255, 255, 255, 0.2) !important;

  box-shadow:
    0 4px 12px rgba(0, 123, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;

  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px) scale(0.8) !important;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    background-color 0.3s ease !important;
}

#backToTop.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

#backToTop:hover {
  background: rgba(0, 123, 255, 0.5) !important;
  color: rgba(255, 255, 255, 1) !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow:
    0 8px 24px rgba(0, 123, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

@keyframes pulse-debug {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

#backToTop-debug.first-show {
  animation: pulse-debug 0.5s ease-in-out !important;
}

html,
body {
  height: auto !important;
  overflow: auto !important;
}
