.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (6.5rem + 1px));
}
.sidebar-dark-primary {
    background-color: var(--primary);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #FFA636;
    font-weight: 600;
}

[class*="sidebar-dark-"] .nav-sidebar > .nav-item:not(.menu-open):hover > .nav-link {
    background-color: #d17300;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item:not(.menu-open) > .nav-link:hover, [class*="sidebar-dark-"] .nav-treeview > .nav-item:not(.menu-open) > .nav-link.active:hover {
    background-color: #d17300;
    color: black;
}
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:focus{
    background-color: #F1F1F4;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:focus{
    color: black;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active {
    background-color: #F1F1F4;
    font-weight: 600;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    color: black;
}

#myTable thead{
    background: var(--primary); color: white; border: none
}
/* .sidebar a {
    color: #ffffff !important;
} */
.brand-link{
    color: white !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

/* a:not(.btn):not(.nav-link):hover {
    color: var(--secondary)!important;
} */

@media (max-width: 575px) {
    .dashboard-bg-img {
        background-repeat:no-repeat; 
        background-size: 100%;
        height:49px;
        background-position:center;
    }
    .dashboard-bg-img .title{
        font-size: 14px;
        padding-top: 5px;
        padding-left: 20px;
    }
    .dashboard-bg-img span{
        padding-left: 20px;
        font-size: 12px;
    }
    .small-box h3 {
        font-size: 18px !important;
    }
}

@media (min-width: 576px) {
    .dashboard-bg-img {
        background-repeat:no-repeat; 
        background-size: 100%;
        height:79px;
        background-position:center;
    }
    .dashboard-bg-img .title{
        font-size: 18px;
        padding-top: 15px;
        padding-left: 20px;
    }
    .dashboard-bg-img span{
        padding-left: 20px;
        font-size: 14px;
    }
}

@media (min-width: 768px) { 
    .dashboard-bg-img {
        background-repeat:no-repeat; 
        background-size: 100%;
        height:106px;
        background-position:center;
    }
    .dashboard-bg-img .title{
        font-size: 25px;
        padding-top: 20px;
        padding-left: 20px;
    }
    .dashboard-bg-img span{
        padding-left: 20px;
    }
}

@media (min-width: 992px) { 
    .dashboard-bg-img {
        background-repeat:no-repeat; 
        background-size: 100%;
        height:110px;
        background-position:center;
    }
    .dashboard-bg-img .title{
        font-size: 25px;
        padding-top: 20px;
        padding-left: 20px;
    }
    .dashboard-bg-img span{
        padding-left: 20px;
        font-size: 16px;
    }
}

@media (min-width: 1200px) { 
    .dashboard-bg-img {
        background-repeat:no-repeat; 
        background-size: 100%;
        height:171px;
        background-position:center;
    }
    .dashboard-bg-img .title{
        font-size: 30px;
        padding-top: 50px;
        padding-left: 20px;
    }
    .dashboard-bg-img span{
        padding-left: 20px;
    }
}

a.bg-primary:hover, a.bg-primary:focus, button.bg-primary:hover, button.bg-primary:focus {
    background-color: rgb(149 149 149 / 10%) !important;
}
.small-box > .small-box-footer {
    border-radius: 0 0 0.25rem 0.25rem;
}

.nav-item .sidebar-nav-link {
    margin-left: 1rem;
}

.login-textbox {
    border-radius: 10px;
    height: 55px;
    max-width: 420px;
    width: 30rem;
    
}
.login-textbox-password{
    border-radius: 5px 0 0 5px;
    max-width: 420px;
    width: 23.4rem;
}
.login-eye-button{
    height: 55px;
}
.login-eye-button:hover{
    background-color: #afbac5;
}
.login-button-container {
    width: 30rem;
}
.login-button {
    background-color: #FFA636;
    border-color: #FFA636;
    border-radius: 10px;
    color: black;
    max-width: 420px;
    min-width: 20rem;
    width: 100%;
}
.login-button:hover, .login-button:active, .login-button:focus {
    background-color: #d17300;
    border-color: #d17300;
    color: black;
}
.popup-button {
    max-width: 5px;
    min-width: 8rem;
    width: 100%;
}

@media (max-width: 576px){
    .login-textbox {
        width: 20rem; 
    }
    .login-button-container {
        width: 20rem;
    }
    .login-textbox-password{
        width: 17.1rem;
    }
    /* .login-eye-button{
        
    } */
}

.hover-button button {
    background-color: #F1F1F4; 
    color: black;
}
.hover-button:hover {
    background-color: white;
}
.hover-button button:hover {
    background-color: #1C84FF;
    color: white;
}

.add-data-button {
    background-color: #1C84FF;
    color: white;
}

.add-data-button:hover {
    background-color: #0050b3;
    color: white;
}

.filter-button:hover {
    background-color: #333333;
    color: white;
}

.filter-button {
    background-color: black;
    color: white;
    border: 1px solid black;
}
.filter-button:hover {
    border: 1px solid black;
    color: white;
}
.delete-button {
    background-color: #7239EA;
    color: white;
    border: none;
}
.delete-button:hover {
    background-color: #4212ab;
    color: white;
}
.export-button {
    background-color: #50CD89;
    color: white;
    border: none;
}
.export-button:hover {
    background-color: #288f57;
    color: white;
}
.table-header {
    background-color: white;
    color: black;
}

.delete-button-detail{
    background-color: #F1416C;
    color: white;
    border: 1px solid #F1416C;
}

.delete-button-detail:hover{
    background-color: #be0e3a;
    border: 1px solid #be0e3a;
    color: white;
}
.sync-data-button{
    background-color: #A0A7BA;
    color: white;
}
.sync-data-button:hover{
    background-color: #67718e;
    color: white;
}

.card-border {
    border: 1px solid #FFA636;
    border-radius: 5px;
}

.badge-aktif {
  color: #50CD89;
  background-color: #E8FFF3;
  border: 1px solid #50CD89;
}

.badge-tidak-aktif {
  color: #F1416C;
  background-color: #FFF5F8;
  border: 1px solid #F1416C;
}
.back-button {
  background-color: #F1F1F4;
  color: black;
  font-size: 1rem;
}
a:not(.btn):not(.nav-link):hover{
    color: black;
}
.back-button:hover {
  background-color: #b8b8c7;
}

.breadcrumb-item.active {
    color: black;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: black;
}
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 62px;
    height: 35px;
   }
   
   /* Hide default HTML checkbox */
   .switch input {
    opacity: 1;
    width: 0;
    height: 0;
   }
   
   /* The slider */
   .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    background: #fff;
    transition: .4s;
    border-radius: 30px;
    border: 1px solid #ccc;
   }
   
   .slider:before {
    position: absolute;
    content: "";
    height: 1.9em;
    width: 1.9em;
    border-radius: 16px;
    left: 1.2px;
    top: 0;
    bottom: 0;
    background-color: white;
    box-shadow: 0 2px 5px #999999;
    transition: .4s;
   }
   
   input:checked + .slider {
    background-color: #5fdd54;
    border: 1px solid transparent;
   }
   
   input:checked + .slider:before {
    transform: translateX(1.5em);
   }

.form-error-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}
   /* Additional styling for the status text */
.status {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px; /* Adjust this value to position the text */
    color: #000; /* Text color */
    font-size: 14px;
  }
  
  /* Show "aktif" when checkbox is checked */
  input:checked + .slider + .status::after {
    content: "Aktif";
  }
  
  /* Show "Tidak aktif" when checkbox is unchecked */
  input:not(:checked) + .slider + .status::after {
    content: "Tidak Aktif";
  }

  .user-management-eye-button {
    height: 38px;
    
  }
.restore-button {
    background-color: #F14141;
    color: white;
    border: none;
}
.restore-button:hover {
    background-color: #be0e0e;
    color: white;
}

.edit-button:hover {
    color: #1f2d3d;
    background-color: #e0a800;
    border-color: #d39e00;
}
.edit-button {
    color: #1f2d3d;
    background-color: #ffc107;
    border-color: #ffc107;
    box-shadow: none;
  }

/* intlTelInput.css adjustment */
.iti { width: 100%; }

/*custom button*/
.kerja-sama-step-button{
    color: white;
}

.kerja-sama-step-button-number{
    font-size: 1.1rem;
    background-color: #FFFBE5;
    color: #ffcc80;
}

.kerja-sama-step-button-number-active span{
    background-color: #ffa636;
    color: white;
}

.reject-button {
    background-color: #F1416C;
    border: none;
    color: white;
}

.reject-button:hover,  .reject-button:disabled, .reject-button:active, .reject-button:focus{
    background-color: #be0e3a;
    border: none;
    color: white;
}

.approve-button {
    background-color: #50CD89;
    border: none;
    color: white;
}

.approve-button:hover, .approve-button:disabled, .approve-button:active, .approve-button:focus {
    background-color: #288f56;
    border: none;
    color: white;
}
.navigate:hover{
    background-color: antiquewhite;
}

.add-colon label {
    display: inline-block;
    width: 4rem;
    position: relative;
    padding-right: 10px;
}

.add-colon label::after{
    content: ":";
    position: absolute;
    right: 10px;
}

.add-colon-before-td::before {
    content: ":";
    position: absolute;
}

/* CSS in mitra page start */
.badge-mitra-pic {
    background-color: #cccccc;
    margin: 0 0.25rem 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: wrap;
}

/* Ensure proper clipping on smaller screens */
@media (max-width: 768px) {
    .badge-mitra-pic {
        max-width: calc(100% - 1rem); /* Adjust as needed */
    }
}

.max-w-full {
    max-width: 100%;
}

.overflow-hidden {
    overflow: hidden;
}
/* CSS in mitra page end */

/* Apply pl-2 class when in flex-row layout */
@media (min-width: 768px) {
    .step-status-badge{
        padding-left: 0.5rem; /* Equivalent to pl-2 class */
    }
}

/* Remove pl-2 class when in flex-column layout */
@media (max-width: 767.98px) {
    .step-status-badge{
        padding-left: 0; /* Remove padding */
    }
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #c1c1c2;
}

.navigate-active {
    background-color: antiquewhite;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #c1c1c2;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

/*Select2 ReadOnly End*/

/*Kerjasama step1 pic FEB begin*/
.remove-arrow[disabled] {
    /* Using appearance: none; hides the default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/*Kerjasama step1 pic FEB end*/


/*Kerjasama step1 pic FEB begin*/

.table.kerjasama-step1-table {
    width: 100%;
    table-layout: fixed; /* Ensures the table width is fixed */
}
.table.kerjasama-step1-table th:nth-child(1) {
    width: 93%; /* Adjust this value as needed */
}

.table.kerjasama-step1-table th:nth-child(2) {
    width: 7%; /* Adjust this value as needed */
}

@media (max-width: 768px) {
    .table.kerjasama-step1-table th:nth-child(1) {
        width: 80%; /* Adjust this value as needed */
    }
    
    .table.kerjasama-step1-table th:nth-child(2) {
        width: 20%; /* Adjust this value as needed */
    }
}
@media (max-width: 1413px) and (min-width: 769px) {
    .table.kerjasama-step1-table th:nth-child(1) {
        width: 90%; /* Adjust this value as needed */
    }
    
    .table.kerjasama-step1-table th:nth-child(2) {
        width: 10%; /* Adjust this value as needed */
    }
}

.table.kerjasama-step1-table th, .table.kerjasama-step1-table td {
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." to overflowed text */
}

.table.kerjasama-step1-table td .select2-container--default .select2-selection--single .select2-selection__rendered {
    white-space: nowrap; /* Allows wrapping within the select2 */
    overflow: hidden;
    text-overflow: ellipsis;
}
/*Kerjasama step1 pic FEB end*/

/* CSS in dashboard begin */
.matriks-chart-box {
    width: 5rem;
    height: 5rem;
    border-radius: 10px;
}
.lokal {
    background-color: #7239ea;
}

.total {
    background-color: #50cd89;
}

.nasional {
    background-color: #1b84ff;
}

.internasional {
    background-color: #f8285a;
}
.row-title {
    width: 0.25rem;
    height: 50%;
}
.row-text {
    font-size: 1.3rem;
    font-weight: 600;
}

.mobile .row-text:not(.row-title + .row-text){
    font-size: 1.2rem;
    font-weight: 600;
    align-content: center;
}

.border-dashed {
    border-top: 2px dashed grey;
}
@media (min-width: 768px) {
    .matriks-filter{
        width: auto; 
        padding-left: 0.5rem;
    }
    .mobile {
        display: none;
    }
    .desktop {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .matriks-filter{
        width: 100%; 
        padding-top: 0.5rem;
    }
    .mobile {
        display: flex;
    }
    .desktop {
        display: none;
    }
}
.matriks-value{
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5rem;
}
.matriks-tipe{
    color: white;
    font-size: 1rem;
    text-align: center;
}
.mobile-row{
    padding-top: 1.5rem;
}

.mobile .collapse-toggle{
    width: 2em;
    height: 2em;
    font-size: 1.3rem;
}

.custom-modal-xl {
    max-width: 90%;
    width: 90%;
}

.marker-data {
    white-space: nowrap;
    background-color: black;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    display: inline;
}
/* .mobile .collapse-toggle::before {
    height: 1em;
    width: 1em;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New",Courier,monospace;
    line-height: 1em;
    content: "+";
    background-color: #0275d8;
} */
.modal-body{
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.lokal.matriks-chart-box:hover{
    background-color: #4212ab;
}
.nasional.matriks-chart-box:hover{
    background-color: #0053b3;
}
.internasional.matriks-chart-box:hover{
    background-color: #b2062e;
}
.pointer-cursor {
    cursor: pointer;
}
/* CSS in dashboard end */

/* CSS Navbar start */
.dropdown-item:hover {
    background-color: #d17300;
}
.dropdown-item:active {
    background-color: #d17300;
}
.notification-button > button {
    background-color: #FFA636;;
}
.notification-button >button:hover {
    background-color: #d17300;
}
.notification-button:hover, .notification-button:active {
    background-color: unset;
}
/* CSS Navbar end */