    /* Ensure the container takes full height and width */
     /* Mengatur font default menggunakan rem */
    html {
        font-size:12px; /* 1rem = 16px */
    }

    body {
        font-family: Arial, sans-serif;
        font-size: 12px; /* Ukuran font standar, 1rem = 16px */
        line-height: 1.6;
        color: #333;
          
    }

     .container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: auto;
    }

    .pc-sidebar .pc-caption {
        color: var(--pc-sidebar-caption-color);
        display: block;
        padding: 24px 24px 12px !important;
        text-transform: capitalize;
        position: relative;
        line-height: 1.66;
        font-size: 12px;
        font-weight: 500;
    }

    .pc-sidebar .pc-link {
        display: block;
        padding: 10px 24px;
        color: var(--pc-sidebar-color);
        position: relative;
        font-size: 12px !important;
        font-weight: 400;
    }
    .calendar-container {
        flex-grow: 1; /* Allow the calendar to take up remaining space */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    #calendar {
    width: 100%; /* Ensure calendar fills width */
    height: 100%; /* Ensure calendar fills height */
    max-width: 100%; /* Ensure it doesn't exceed container's width */
    min-height: 400px; /* Set a minimum height for the calendar */
}

/* Adjust the datepicker popup to not overflow */
#calendar .datepicker {
    z-index: 9999 !important; /* Ensure it shows above other elements */
}

/* Adjust the calendar table for better visibility and responsiveness */
#calendar .datepicker .table {
    width: 100%; /* Ensure the calendar table is responsive */
}

#calendar .datepicker-inline {
    width: 100%;
    height: 100%;
}

/* Adjust table cells in the calendar */
#calendar .datepicker table td, #calendar .datepicker table th {
    text-align: center !important;
    width: 75px !important;
    height: 75px !important;
    border-radius: 4px !important;
    border: 1px seashell solid !important;
    font-size: 20px !important;
}
/* Make header bold and adjust font size */
#calendar  .datepicker  .table  th {
    font-size: 20px !important;
    font-weight: bold;
}
/* Border luar kalender */
#calendar {
    border: 1px solid blanchedalmond !important
    ;  /* Ganti dengan warna yang diinginkan */
    border-radius: 1px;  /* Opsional, untuk membuat sudut melengkung */
    padding: 0; /* Hapus padding jika tidak diinginkan di dalam border */
}

/* Jika ingin border lebih halus di sekitar setiap tanggal (opsional) */
table th {
  background-color: whitesmoke;
}
.pc-container{
  /*  background-color:#fefdfd !important;*/
  /*background-image: url("/static/images/pict-gw.png");
  background-repeat: no-repeat;
  background-size: contain;     /* atau cover sesuai kebutuhan
  background-position: center center; */

}
.ui-datepicker td.bg-danger {
    background-color: #dc3545 !important; /* Red background for holidays */
    color: white !important; /* White text for holidays */
}
/* Pastikan kelas today tidak menimpa kelas bg-danger */
.ui-datepicker .ui-datepicker-today {
    background-color: transparent !important; /* Reset background untuk today */
    color: inherit !important; /* Reset warna teks untuk today */
}
/* Pastikan ikon Font Awesome tampil */
i.fas, i.fa {
    font-size: 18px;  /* Sesuaikan ukuran ikon */
    color: #ffffff;   /* Warna ikon */
}
/* CSS untuk memastikan background icon muncul */
.icon-holiday {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/svgs/solid/calendar-times.svg'); /* Ganti dengan URL ikon yang Anda inginkan */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px; /* Sesuaikan ukuran */
    color: transparent; /* Sembunyikan teks karena ikon sudah ada sebagai background */
}

.icon-weekend {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/svgs/solid/calendar-check.svg'); /* Ganti dengan URL ikon yang Anda inginkan */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px; /* Sesuaikan ukuran */
    color: transparent; /* Sembunyikan teks karena ikon sudah ada sebagai background */
}
    .action-column {
        text-align: center;
    }
   .custom-modal-a .modal-dialog {
    max-width: 100%; /* Adjust this value as per your need */
    width:1000px !important;
   }
    .modal-body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
        padding-right: 0 !important; /* Avoid extra padding that could cause issues */
    }
    #addModal {
    z-index: 1050 !important; /* or any value above the default for modal */
    }
   
    .select2-container--open {
     z-index: 9999 !important; /* Make sure the dropdown stays on top */
    }

    .select2-container {
        position: relative; /* Ensure the container has a proper position */
        z-index: 1050 !important; /* Nilai lebih rendah dari modal Bootstrap */
    }
    .select2-container--default .select2-dropdown {
        position: absolute !important;  /* Memastikan posisi dropdown absolute */
        top: 100% !important;           /* Agar dropdown muncul tepat di bawah elemen input */
        left: 0 !important;             /* Pastikan dropdown di kiri input */
        z-index: 9999;                 /* Pastikan dropdown muncul di atas elemen lain */
    }
    .section-title{
        font-size:14px !important;
        font-weight: bold !important;
        color:orangered ;
    }
    
    /* Balloon Popup styles */
    .balloon-popup {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 40%;
        height: 400px;
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        padding: 10px;
        display: none;
        overflow-y: auto;
    }

    .balloon-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f0f0f0;
        padding: 5px;
        border-radius: 8px;
    }

    .balloon-title {
        font-size: 25px;
        font-weight: bold;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }

    .balloon-body .row {
    display: flex;
    margin-bottom: 10px;
}

.balloon-body .col {
    flex: 1;
    padding: 5px;
}

.balloon-body .col p {
    margin: 0;
}

.card-title {
    margin-top: 20px;
    font-weight: bold;
}

strong {
    font-weight: bold;
}


button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

        
    /* Optional: Add hover effect on rows */
    .dataTable tbody tr:hover {
        cursor: pointer;
        background-color: #f1f1f1;
    }
    /* Styling untuk ikon */
.fas.fa-info-circle {
    font-size: 24px; /* Ukuran ikon */
    color: #242627;  /* Warna ikon, bisa diganti sesuai kebutuhan */
    background-color: transparent; /* Menghapus latar belakang putih */
    padding: 10px;  /* Menambahkan sedikit padding agar ikon tidak terlalu rapat */
    border-radius: 50%; /* Membuat ikon menjadi berbentuk bulat */
    transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi untuk interaksi */
}

.fas.fa-info-circle:hover {
    color: white;  /* Warna ikon saat hover */
    background-color: #02060a; /* Latar belakang biru saat hover */
}
#balloon p{
    margin-left:1em;
}
/* Red border for invalid inputs */
.input-error {
    border: 1px solid red;
}

    /* Red text for error messages */
.error-message {
    color: red;
    font-size: 12px;
}

/*Login*/
.captcha-img {
    width: 200px;  /* Atur lebar gambar CAPTCHA sesuai kebutuhan */
    height: 80px;  /* Atur tinggi gambar CAPTCHA */
    margin-bottom: 10px;  /* Ruang antara    gambar CAPTCHA dan input */
}
#regenerateCaptcha {
    display: inline-flex;
    align-items: center;
    margin-left: 10px; /* Ruang antara input dan tombol */
    background-color: orangered ; /* Mengubah latar belakang tombol ke biru */
    color: white; /* Warna ikon putih */
    border: 1px solid orangered ; /* Garis border berwarna biru yang sama */
}

#regenerateCaptcha i {
    color: white; /* Pastikan warna ikon putih agar kontras dengan latar belakang */
}

#regenerateCaptcha:hover {
    background-color: #0056b3; /* Warna latar belakang tombol berubah saat hover */
    border-color: #0056b3;
}


  #ModalShowFile .modal-fullscreen {
        max-width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
  #ModalShowFile  .modal-dialog {
        margin: 0;
        height: 100%;
        max-height: 100%;
        transition: all 0.3s ease;
    }
    #ModalShowFile .modal-content {
        height: 100%;
        border-radius: 0;
    }
    #ModalShowFile .modal-body {
        height: calc(100% - 56px); /* Adjust for header */
        overflow-y: auto;
    }

    /* Custom maximize/restore button */
    #ModalShowFile .maximize-btn, #ModalShowFile.restore-btn {
        cursor: pointer;
    }

    /* Maximize button style fix for white background */
    #ModalShowFile .maximize-btn {
        background-color: transparent; /* Transparent background */
        border: 1px solid #ccc; /* Optional: Adds a light border around the button */
        color: #333; /* Sets the color of the icon */
        padding: 5px; /* Optional: Adds padding around the icon for better clickability */
        border-radius: 50%; /* Optional: Makes the button circular */
    }



    /* Tooltip styling (optional) */
    #ModalShowFile .maximize-btn:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
    border-color: #aaa; /* Darker border color on hover */
    }
    /* Ensure the modal is centered */
    .modal-dialog {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto; /* Ensures the modal is horizontally and vertically centered */
    }
    #ModalShowFile i.fas, i.fa {
        font-size: 18px;
        color: black !important
    }

/* Make sure the modal is absolutely centered on the screen */
    .modal.fade .modal-dialog {
        position: fixed !important; /* Ensure it is fixed relative to the viewport */
        top: 50%; /* Vertically center */
        left: 50%; /* Horizontally center */
        transform: translate(-50%, -50%); /* Corrects the position to center it exactly */
        margin: 0; /* Ensure no extra margins */
        z-index: 1050; /* Make sure it appears above other elements */
    }

        /* Ensure modal body has a fixed height with auto scroll */
    #addModal .modal-body {
        max-height: 500px; /* Set your desired height */
        overflow-y: auto; /* Enable vertical scrolling when content overflows */
    }

    /* Optional: Adjust modal header if needed to ensure consistent layout */
    #addModal .modal-header {
        padding: 1rem;
    }

    /* Optional: Ensure that the modal dialog and modal-content adjust properly */
    #addModal .modal-dialog {
        max-width: 800px; /* Adjust the width of the modal */
        margin: 1.75rem auto; /* Center the modal */
    }

    /* Ensure that the Save button stays at the bottom */
    #addModal .modal-footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

.pc-footer {
    position: fixed !important;
    z-index: 995;
    bottom: 0;  
    left: 0;   
    width: 100%; 
    padding: 15px 0;
    margin-left: 0; 
    margin-top: 0;  
    color: black !important;
}

/* Indent tasks based on their level */
.task {
  padding-left: 10px;  /* Default indentation */
}

.task[data-level="1"] {
  padding-left: 20px;  /* Level 1 will have larger indentation */
}

.task[data-level="2"] {
  padding-left: 40px;  /* Level 2 will be more indented */
}

.task[data-level="3"] {
  padding-left: 60px;  /* Level 3 will have even more indentation */
}

#PlanningActivities td, #PlanningActivities th {
            white-space: pre;      /* Preserve spaces as they are */
            text-align: left;      /* Align text to the left */
        }
 
.form-group label {
    font-size: 10px !important;
    font-weight: 500;
}


/* Ensure select2 takes full width and behaves correctly */
#ParentID .select2 {
    display: block;
    width: 100% !important;
}

/* Adjust the select2 dropdown box appearance */
#ParentID .select2-container {
    width: 100% !important;
}

#ParentID .select2-selection__rendered {
    display: block;
}

/* Style to prevent select2 from aligning horizontally */
#ParentID .select2-container .select2-selection {
    width: 100% !important;
}

.select2-container--open {
  z-index: 9999 !important;
}
/* Hilangkan padding pada modal container jika ada */
#ModalRAB .modal {
  padding: 0;
}

/* Atur modal-dialog agar fixed, menutupi seluruh viewport, dan tanpa margin */
#ModalRAB .modal-dialog {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index:1050;
}
/* Buat modal-content memenuhi container modal-dialog */
#ModalRAB .modal-content {
  height: 100%;
  border-radius: 0;
}
#tblDetailRAB{
    position: relative !important;
    overflow: visible; /* pastikan tidak memotong dropdown */
}
/* Agar bagian detail scrollable */
.table-wrapper {
   /* Tinggi maksimal untuk scroll vertikal */
    overflow-y: auto;
    overflow-x: auto; /* Agar bisa geser ke kanan/kiri */
    border: 1px solid #ddd;
    padding: 1px;
    width:90vw
}
.container-filter-rab{
    margin:0 auto;
    width:100%;
    padding:1em;
} 

#tblWIP table,#tblWReal table {
    width: 100%;
    border-collapse: collapse;
}
#tblWIP th, td,#tblWReal th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}
#tblWIP th,#tblWReal th {
    background-color: #f2f2f2;
}
#tblWIP .vertical-center,#tblWReal .vertical-center {
    vertical-align: middle;
}

#detailsContainer .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 2px; 
    padding-left: 2px; 
}
#ModalWIP .modal,#ModalWReal .modal {
  padding: 2px;
}

/* Atur modal-dialog agar fixed, menutupi seluruh viewport, dan tanpa margin */
#ModalWIP .modal-dialog,#ModalWReal .modal-dialog {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 auto !important;
  width: 100vw !important;
  height: 90vh !important;
  z-index: 9999999;
}
#ModalReason .modal-dialog {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 50vw;
  max-width: 90%; /* Hindari modal terlalu besar di layar kecil */
  height: auto;
  z-index: 9999999;
}
.modal-wreal {
  width: 800px; /* atau misalnya 60%, max-width, dll */
  max-width: 90vw; /* untuk responsif */
}
#ModalReason .modal-dialog {
  max-width: none !important; 
}
#frmModalUser .modal-dialog, #editProfileModal .modal-dialog, #ModalProcurementRecordings .modal-dialog,#ModalMonitorUser .modal-dialog {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 auto !important;
  width: 80vw !important;
  height: 100vh !important;
  z-index: 99999;
}

#frmModalUser .select2-container,#editProfileModal .select2-container, #ModalProcurementRecordings .select2-container {
    z-index: 99999 !important; /* Pastikan di atas modal */
}
#ModalRABBrowse .modal-dialog{
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 auto !important;
  width: 70vw !important;
  height: 100vh !important;
  z-index: 9999999;
}
#ModalRABBrowse .modal-dialog {
  max-width: none !important; 
}
/* Buat modal-content memenuhi container modal-dialog */
.modal-content {
  height: 100%;
  border-radius: 10px 10px 10px 10px !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3) !important; /* Efek bayangan */
  overflow: hidden; /* Mencegah konten keluar dari border */
}
textarea {
  resize: none;
}
/* Spinner Container */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Latar belakang semi transparan */
    z-index: 9999;
}

.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 1s infinite;
    background-color: #fff;
    box-shadow: 30px 0 0 orangered  ;
    margin-bottom: 10px;
}

.loader:after {
    animation: ball2 1s infinite;
    background-color: #ff3d00;
    box-shadow: 30px 0 0 #fff;
}

#chartContainerRB0 .select2-container{
  z-index: 2 !important;      
}
@keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
}

@keyframes ball1 {
    0% {
      box-shadow: 30px 0 0 #ff3d00;
    }
    50% {
      box-shadow: 0 0 0 #ff3d00;
      margin-bottom: 0;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #ff3d00;
      margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
      box-shadow: 30px 0 0 #fff;
    }
    50% {
      box-shadow: 0 0 0 #fff;
      margin-top: -20px;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #fff;
      margin-top: 0;
    }
}

 
/*#tblDetailRAB .select2-container {
    z-index:10050 !important; 
}

#tblDetailRAB .select2-container--open {
    z-index: 10050 !important; 
}*/
/* Pastikan dropdown Select2 berada di atas elemen lain */
[id^="ParentID_"] + .select2-container {
    z-index: 99999 !important;
}

/* Pastikan dropdown Select2 tidak tertutup scrollbar */
[id^="ParentID_"] .select2-dropdown {
    z-index: 999999 !important;
    position: absolute !important;
}

/* Jika dalam modal, pastikan tetap terlihat */
.modal [id^="ParentID_"] + .select2-container {
    z-index: 1050 !important; /* Sesuaikan dengan z-index modal */
}
#ModalProcurementRecordings .row{
    padding: 1em;
}  
.error-select2 .select2-selection--single {
    border: 1px solid red !important;
    background-color: #ffe6e6 !important;
}
#balloon p{
    font-size:10px;
    font-family: Arial, Helvetica, sans-serif;
}
.balloon-title{
    font-size:20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* X, Y, blur, color */
    color: orange;
    text-align: center;
}
.container-balloon{
  width:"100%";
}
.dt-left{
    text-align: left !important;
}
.dt-top{
    vertical-align: top !important;
}
        .container-c{
           margin-left:1em !important;
           width:100% !important;
           padding:1em !important;
        }
        #tblrekapPokjaPemilihan .merge-header {
            text-align: center;
            font-weight: bolder;
            color: orangered ;
        }
        .merge-header {
            color: orangered ;
        }
        /* Table styling */
        #tblrekapPokjaPemilihan table {
            width: 130%;
            border-collapse: collapse;
            text-align: center;
        }

        #tblrekapPokjaPemilihan th, td {
            padding: 10px;
            text-align: center; /* Center text */
            vertical-align: middle; /* Center vertically */
            border: 1px solid #dee2e6;
        }

        #tblrekapPokjaPemilihan th {
            background-color: #f8f9fa;
            font-weight: bold;
        }

        #tblrekapPokjaPemilihan tbody tr:hover {
            background-color: #f1f1f1;
        }
        #containerRPP .row{
          margin-left:0.2em;  
        }
        

.dt-center {
    text-align: center !important;
    vertical-align: middle !important;
}
@media screen and (max-width: 400px) {
  body {
   
  }
  .modal-rab{
        width:100%;
        padding:1em;
   }
  .v3{
  padding-left:0;
  }
}

#containerRPP .select2-container--open,#daftarRAB .select2-container--open {
     z-index: 900 !important; /* Make sure the dropdown stays on top */
}
#containerRPP .select2-container,#daftarRAB .select2-container {
        position: relative; /* Ensure the container has a proper position */
        z-index: 900 !important; /* Nilai lebih rendah dari modal Bootstrap */
}

/* Print style */
@media print {
/* Sembunyikan elemen yang tidak diperlukan saat cetak */
    .metodePengadaan, .tahunAnggaran, .header-wrapper, .btn-print, .btn-export, .dataTables_length, .dataTables_paginate,.btn-group  {
        display: none !important;
    }
  
   
    /* Pastikan container tetap terlihat */
    .container {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Sesuaikan tampilan tabel agar tetap rapi dalam satu halaman */
    

    .table th, .table td {
        border: 1px solid #ddd;
        padding: 4px; /* Kurangi padding agar lebih banyak muat */
        text-align: left;
        word-wrap: break-word;
        width: 100% !important;
        border-collapse: collapse;
        table-layout: fixed; /* Mencegah tabel meluas */
        font-size: 10px; /* Perkecil font agar lebih banyak muat */
    }

    /* Header tabel tetap di bagian atas */
    .table thead {
        display: table-header-group;
    }

    .table tbody {
        display: table-row-group;
    }

    /* Hindari pemisahan baris dalam tabel */
    .table tr {
        page-break-inside: avoid;
    }

    /* Atur margin cetak agar tabel tidak terpotong */
    @page {
        size: legal landscape;
        margin: 10mm;
    }    
    #tblrekapPokjaPemilihan {
    margin-left: auto;
    margin-right: auto;
    }
}


.chart-title {
  text-align: left !important;
  font-size: 15px;
  font-weight: bold;
  width: 100%;
  margin: 0; /* gunakan margin 0 atau sesuaikan jika perlu */
  word-break: break-word;
  white-space: normal;
  color: orangered;
}
.tab_search {
    border: 1px solid #ccc;       /* Border tipis abu-abu */
    background-color: white;      /* Latar belakang putih */
    color: black;                 /* Warna teks hitam */
    padding: 10px;                /* Spasi dalam */
    border-radius: 4px;           /* Sedikit membulat di pojok */
    font-size: 14px;              /* Ukuran teks default */
}
nav{
    z-index:9000 !important;
}
.navbar-nav {
    margin-left: 120px; /* Sesuaikan dengan kebutuhan */
}
     
.modal {
  position: fixed; /* atau absolute, tergantung konteks */
  z-index: 9000; /* pastikan lebih tinggi dari sidebar */
}
 
.rounded-10 {
  border-radius: 25px !important;
}
.bg-monalisa {
  position: relative;
  width: 90%;       /* sesuai strukturmu */
  margin: 0 auto 2em;
  min-height: 200px; /* atur sesuai kebutuhan */
  overflow: hidden;
}

.bg-monalisa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/static/images/bg-app.jpg') center/cover no-repeat;
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1; /* atau bisa dibiarkan default */
}
.btn-primary {
  background-color: orangered ;
  border-color: orangered ;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active, 
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: orangered ;
  border-color: orangered ;
}
.content-layout80{
  
  width: 100%;
  margin: 0 auto;
  margin-top: 0em;

  padding:0.1em;
  /*border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #e8f4ff;*/

   
 
}
.btn-warning {
    background-color: orangered  !important;
    border-color: orangered  !important;
    color: white !important;
}

.btn-warning:hover {
    background-color: orangered  !important;
    border-color: orangered  !important;
    color: white !important;
}
table.dataTable {
    table-layout: fixed;
}
table.dataTable thead th {
    background-color: orangered  !important;
    color: white !important;
}
/* Gaya untuk tombol dengan rounded dan background hijau */
.rounded-button {
    background-color: orangered ; /* Warna latar belakang hijau */
    color: white; /* Teks berwarna putih */
    /*padding: 0.5em 1em; /* Menambahkan padding untuk membuat tombol lebih besar */
    border: 1px solid #ccc; /* Border abu-abu */
    border-radius: 25px; /* Sudut membulat */
    text-align: center; /* Memastikan teks di tengah */
    padding:1em;
}

.rounded-button a {
    color: white; /* Pastikan teks dalam link juga berwarna putih */
    text-decoration: none; /* Menghilangkan garis bawah pada link */
}

.rounded-button:hover {
    background-color: orangered ; /* Mengubah warna saat hover */
    border-color: orangered ; /* Menyesuaikan border saat hover */
}

#balloon {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    display: none;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
}
 .header-center {
  text-align: center;
  margin-bottom: 20px; /* opsional, untuk spasi ke bawah */
}
 
 .accordion-button {
    background-color: orangered  !important;
    color: white !important;
}
.transparent-card2 {
  background-color: rgba(255, 255, 255, 0.8);  /* transparan */
  backdrop-filter: blur(12px);                /* blur latar belakang */
  -webkit-backdrop-filter: blur(12px);        /* untuk Safari */
  border-radius: 2rem;                        /* sudut melengkung */
  border: 1px solid rgba(255, 255, 255, 0.2);  /* border transparan */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);   /* shadow halus */
}
 
.input-flat-white {
  /*/rgba(255, 255, 255, 0.5); */
  background-color: rgba(255, 236, 208, 0.5); /* krem muda transparan */
  /*backdrop-filter: blur(0px);*/
  -webkit-backdrop-filter: blur(12px);
  /*border-radius: 2rem;*/                               /* sudut melengkung besar */
  border: none;
  border-bottom: 3px solid rgba(0, 0, 0, 0.7);       /* garis bawah tebal dengan warna hitam semi transparan */
  padding: 8px 12px;
  color: #000;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);         /* shadow halus seperti transparent-card2 */
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input-flat-white:focus {
  border-bottom-color: rgba(0, 0, 0, 1);             /* garis bawah lebih pekat saat fokus */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.info-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-left: 5px solid orangered;
  transition: all 0.3s ease;
  width: 150px;
  height: 150px;

  /* Tambahan untuk center middle */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
}
.info-box:hover {
  background-color: rgba(255, 255, 255, 1);
}
.number_chart{
  font-size: 16px;
  color: black;
}
.text-orange{
  color: orangered ;
}

    .info-header {
        margin-bottom: 30px;
        font-size: 14px;
    }
    .info-header div {
        margin-bottom: 4px;
    }
    .hide-on-print {
        display: none !important;
    }
    @media print {
        .btn-group,
        .tahunAnggaran,
        .metodePengadaan,
        .sumberDana,
        .userID {
            display: none !important;
        }
        table {
            width: 100%;
        }
    }
#exportArea,
.container-c,
.header-center {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Custom CSS */
.modal.top-most {
  z-index: 999999; /* Lebih tinggi dari default Bootstrap (1050) */
}
.modal-backdrop.top-most-backdrop {
  z-index: 999999; /* Sedikit di bawah modal-nya */
}
</style>

<style>
  body {
    font-family: Arial, sans-serif;
  }
  .container {
    width: 1100px;
    margin: 20px auto;
    position: relative;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255,255,255,0.95);
    table-layout: fixed;
  }
  th, td {
    border: 1px solid #ccc;
    padding: 6px 5px;
    text-align: center;
    vertical-align: middle;
    width: 70px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
  }
  td.activity {
    text-align: left;
    font-weight: bold;
    background-color: #f9f9f9;
    width: 150px;
  }
  tr.total td {
    font-weight: bold;
    background-color: #ddd;
  }
  #canvasWrapper {
    position: absolute;
    top: 130px;
    left: 150px;
    background: transparent;
    cursor: move;
    user-select: none;
    border: 1px dashed transparent;
  }
  #canvasWrapper.dragging {
    border-color: #00f;
  }
  #chartCanvas {
    display: block;
    background: transparent;
    user-select: none;
  }
  #resizeHandle {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #333;
    right: 0;
    bottom: 0;
    cursor: se-resize;
    user-select: none;
  }
   .tooltip {
  position: absolute;
  background-color: rgba(0,0,0,0.75);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
  visibility: hidden;
  z-index: 1000;  /* naikkan ini */
  white-space: nowrap;
  transition: opacity 0.15s ease-in-out;
}
  #exportBtn {
    margin: 20px auto;
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
  }
  .floating-mode {
  position: fixed !important;
  z-index: 9999;
  width: 700px;
  height: 300px;
}
#chartImageContainer, 
#chartImageContainer * {
  float: none !important;
  clear: both !important;
  display: block !important;
  overflow: visible !important;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
#chartImageContainer {
  break-before: page !important;
}
 #listRABHeader thead th:first-child.sorting,
  #listRABHeader thead th:first-child.sorting_asc,
  #listRABHeader thead th:first-child.sorting_desc {
    background-image: none !important;
}

#listRABHeader th,
#listRABHeader td,
#tblWIP th,
#tblWIP td,
#tblWReal th,
#tblWReal td
{
  white-space: normal !important;
  word-wrap: break-word;
  word-break: break-word;
  vertical-align: top;
}
 
.table-responsive-custom {
    width: 100%;
    overflow-x: auto;
}

#tblWIP th, #tblWIP td {
    white-space: nowrap;  /* Hindari teks melipat */
    vertical-align: middle;
}

#tblWIP th {
    text-align: center;
}

#tblWIP .week-col {
    min-width: 150px;  /* Ubah sesuai kebutuhan */
}

#tblWIP .action-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}
.canvas-container {
      position: relative;
      width: 100%;
      max-width: 1000px;
      margin: auto;
  }
#myChart {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
   
    cursor: move;
  }

  #tblWReal {
    z-index: 1;
    position: relative;
    background: white;
  }
  .load-picture {
      margin-left: 20px; /* Jarak dari sisi kiri, bisa diatur */
      width: 400px;       /* Atur lebar sesuai kebutuhan */
      height: auto !important;       /* Biarkan tinggi menyesuaikan */
    }
  .select2-container.select2-readonly .select2-selection {
  background-color: #e9ecef; /* abu-abu */
  color: #6c757d;            /* teks grey */
  cursor: not-allowed;
  pointer-events: none;
}
  .wrap-text {
  white-space: normal !important;     /* Izinkan teks membungkus baris */
  word-break: break-word !important;  /* Pecah kata jika panjang */
}
.text-align-right {
  text-align: right;
}
.pc-h-item > .pc-head-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    min-width: 175px; /* Atur sesuai kebutuhan */
    white-space: nowrap; /* Mencegah teks turun ke bawah */
  }

  /* Tambahkan jarak antara icon dan teks */
  .pc-h-item > .pc-head-link i {
    margin-right: 8px;
  }

  /* Dropdown item juga ikut dirapikan */
  .dropdown-menu .dropdown-item {
    white-space: nowrap;
    min-width: 175px;
  }

  .topbar-logo img {
  max-height: 50px;
  object-fit: contain;
}
.pc-header .header-wrapper {
  padding-left: 1rem; /* Bisa diatur sesuai keinginan */
  padding-right: 1rem;
}
.navbar {
    background-color: #f8f9fa !important;
  }

  .navbar .nav-link,
  .navbar .dropdown-item {
    color:black !important;
  }

  .navbar .nav-link:hover,
  .navbar .dropdown-item:hover {
    background-color:  orangered ;
    color: white !important;
  }

  .navbar .navbar-brand img {
    margin-right: 8px;
  }
.navbar-nav i {
    color: #343a40 !important; /* atau #000 jika ingin hitam pekat */
  }
  .dropdown-menu {
    background-color: #fff; /* putih agar kontras */
  }

  .dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
  }

  /* Optional: Profil user */
  .navbar .dropdown-toggle img {
    border-radius: 50%;
    margin-right: 6px;
  }

  /* Supaya scroll bisa muncul saat tabel lebih lebar */
    .table-scroll-container {
        overflow-x: auto;
        width: 100%;
    }

    /* Tabel dengan min-width agar bisa di-scroll */
  .table-schedule {
    border-collapse: collapse;
    table-layout: fixed; /* ⛔️ ini penting agar width dihormati */
    width: 100%;
    min-width: 2000px; /* atau lebih jika kamu punya banyak minggu */
  }
    /* Supaya kolom tidak membungkus teks dan lebih rapi */
    .table-schedule th,
  .table-schedule td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .minggu-header {
    width:100px !important ;
  }

  .fixed-col-1 { width: 50px; }
  .fixed-col-2 { width: 200px; }
  .fixed-col-3 { width: 75px; }
  .fixed-col-4 { width: 75px; }

    .header-middle {
      vertical-align: middle !important;
      text-align: center !important;
      background-color: #000 !important;
      color: white !important;
    }
     .header-middle-black {
      vertical-align: middle !important;
      text-align: center !important;
      background-color: #000 !important;
      color: white !important;
    }
    .header-left {
      vertical-align: middle !important;
      text-align: left !important;
      background-color: #000 !important;
      color: white !important;
    }
    .header-right {
      vertical-align: middle !important;
      text-align: right !important;
      background-color: orangered !important;
      color: white !important;
    }
    .header-middle-orange {
      vertical-align: middle !important;
      text-align: center !important;
      background-color: orangered !important;
      color: white !important;
    }
table.dataTable th, table.dataTable td {
  white-space: nowrap; /* Jangan bungkus teks */
}
.text-wrap {
  white-space: normal !important;
  word-break: break-word;
}
#exportArea {
  max-width: 100%;
}
.auth-main .auth-wrapper.v3 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* bisa juga flex-start / flex-end tergantung posisi yang diinginkan */
    height: 100vh; /* agar tinggi penuh layar, kalau tidak diatur dia hanya setinggi konten */
}
.v3{
  padding-left:20em;
}
.textarea-no-border {
  border: none;
  background-color: white;
  resize: none;           /* Opsional: hilangkan resize handle */
  outline: none;          /* Opsional: hilangkan garis fokus saat klik */
}
.custom-file {
  color: black; /* warna teks info file, bisa putih jika background-nya gelap */
  background-color: white; /* latar belakang tempat info file tampil */
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 4px;
}

/* Styling tombol "Choose File" */
.custom-file::-webkit-file-upload-button {
  background-color: orangered;
  color: white;
  border: none;
  padding: 6px 12px;
  margin-right: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Hover effect (optional) */
.custom-file:hover::-webkit-file-upload-button {
  background-color: darkorange;
}
#ModalTendersBrowse .modal-dialog {
  max-width: 70% !important;
  width: 70% !important;
}
#listRABHeader_wrapper .dataTables_length {
  float: right !important;
  width: auto;
}
#listRABHeaderWIP_wrapper .dataTables_length {
  float: right !important;
  width: auto;
}
 #listRABHeaderWIP {
  table-layout: fixed !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

#listRABHeaderWIP th, 
#listRABHeaderWIP td {
  white-space: normal !important; 
  word-break: break-word !important;
  vertical-align: middle !important;
  text-align: left;
}

 .container-custom {
      background: #f5f5f5;
      border-radius: 20px;
      padding: 25px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      margin-top: 30px;
    }

    .judul {
      color: #ff6a00;
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 15px;
    }

    .tabelKonstruksi  {
      width: 100%;
      border-collapse: separate;
      border-spacing: 8px 8px;
      table-layout: fixed; /* Lebar kolom bisa diatur */	
    }

    .tabelKonstruksi thead th {
      text-align: center;
      vertical-align: middle !important;
      color: #fff;
      font-weight: 600;
      border: none;
      padding: 10px 8px;
      font-size: 14px;
      border-radius: 12px;
    }

    .tabelKonstruksi thead tr:first-child th.orange {
      background-color: #ff6a00;
    }

    .tabelKonstruksi thead tr:first-child th.dark {
      background-color: #2b2b2b;
    }

    .tabelKonstruksi thead tr:nth-child(2) th.subdark {
      background-color: #3b3b3b;
      color: #fff;
      font-weight: 500;
      font-size: 13px;
    }

    .tabelKonstruksi tbody td {
      background: #ffffff;
      text-align: center;
      vertical-align: middle !important;
      padding: 10px;
      font-size: 14px;
      font-weight: 500;
      color: #000;
      border-radius: 12px;
      box-shadow: 0 0 2px rgba(0,0,0,0.08);
      white-space: normal;
      word-wrap: break-word;
      word-break: break-word;
    }

    /* Kolom 1–3: middle-center + wrap text */
  .tabelKonstruksi  tbody td:nth-child(1),
    tbody td:nth-child(2),
    tbody td:nth-child(3) {
      text-align: center;
      vertical-align: middle !important;
      white-space: normal;
      word-wrap: break-word;
      word-break: break-word;
      font-weight: 700;
    }

    /* Kolom ke-2 (Kode Tender) diperkecil lebarnya */
.tabelKonstruksi th:nth-child(2),
.tabelKonstruksi td:nth-child(2) {
  width: 50px;        /* ubah sesuai kebutuhan */
  max-width: 50px;
  white-space: nowrap; /* biar tidak turun ke bawah */
  overflow: hidden;
  text-overflow: ellipsis; /* tambahkan ... jika teks kepanjangan */
}
.tabelKonstruksi th:nth-child(4),
.tabelKonstruksi td:nth-child(4),
.tabelKonstruksi th:nth-child(5),
.tabelKonstruksi td:nth-child(5) {
  width: 100px;             /* ukuran sedang supaya tanggal tidak terpotong */
  max-width: 120px;
  min-width: 75px;         /* tetap terbaca di layar kecil */
  text-align: center;
  vertical-align: middle;
  white-space: ;      /* cegah teks turun ke bawah */
  overflow: hidden;
  text-overflow: ellipsis;  /* tampilkan "..." jika terlalu panjang */
}
.tabelKonstruksi th:nth-child(8),
.#tabelKonstruksi td:nth-child(8) {
  width: 25px;             /* ukuran sedang supaya tanggal tidak terpotong */
  max-width: 25px;
  min-width: 25px;         /* tetap terbaca di layar kecil */
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;      /* cegah teks turun ke bawah */
  overflow: hidden;
  text-overflow: ellipsis;  /* tampilkan "..." jika terlalu panjang */
}

 .tabelKonstruksi   thead th:nth-child(1),
    thead th:nth-child(2),
    thead th:nth-child(3) {
      text-align: center;
      vertical-align: middle !important;
    }

.badge-deviasi {
  background-color: #ff6a00;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

    /* Round corner keseluruhan */
    .tabelKonstruksi thead tr:first-child th:first-child {
      border-top-left-radius: 15px;
    }
    .tabelKonstruksi thead tr:first-child th:last-child {
      border-top-right-radius: 15px;
    }
    .tabelKonstruksi tbody tr:last-child td:first-child {
      border-bottom-left-radius: 15px;
    }
    .tabelKonstruksi tbody tr:last-child td:last-child {
      border-bottom-right-radius: 15px;
    }

    /* Hanya untuk Select2 dengan ID #tahunAnggaranTop10Rankings */
#tahunAnggaranTop10Rankings,#tahunAnggaranBellow10Rankings,#tahunAnggaranRUP {
  width: auto !important;
  min-width: 90px;
  max-width: 120px;
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

/* Batasi hanya container Select2 milik elemen ini */
#tahunAnggaranTop10Rankings + .select2-container,
#tahunAnggaranBellow10Rankings + .select2-container,
#tahunAnggaranRUP + .select2-container 
{
  width: auto !important;
  min-width: 90px;
  max-width: 120px;
}

#tahunAnggaranTop10Rankings + .select2-container .select2-selection--single,
#tahunAnggaranBellow10Rankings + .select2-container .select2-selection--single,
#tahunAnggaranRUP + .select2-container .select2-selection--single 
{
  text-align: center;
  min-width: 90px !important;
  max-width: 120px !important;
}

  .chart-container {
    display: flex;
    flex-wrap: wrap;           /* Supaya turun ke bawah kalau layar kecil */
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
  }

  .chart-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
  }

  .chart-box {
    flex: 1 1 calc(50% - 20px); /* dua kolom sejajar di layar besar */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
  }

  .chart-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }

  .chart-title2 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 14px;
    color: #333;
  }

  canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 380px;
  }
@media (max-width: 900px) {
   .chart-box {
      flex: 1 1 100%; /* jadi satu kolom di layar kecil */
    }
}
  @media (max-width: 768px) {
  .tabelKonstruksi {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .chart-box {
      flex: 1 1 100%;
      max-width: 100%;
    }
}