@charset "utf-8";
/* @import url(https://fonts.googleapis.com/css?family=Roboto|Varela+Round); */
/* CSS Document */
@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes sonar {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

body {
    color: #566787;
    background: #f5f5f5;
    font-family: "Varela Round", sans-serif;
    font-size: 15px;
}

.page-wrapper .sidebar-wrapper,
.sidebar-wrapper .sidebar-brand > a,
.sidebar-wrapper .sidebar-dropdown > a:after,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
.sidebar-wrapper ul li a i,
.page-wrapper .page-content,
.sidebar-wrapper .sidebar-search input.search-menu,
.sidebar-wrapper .sidebar-search .input-group-text,
.sidebar-wrapper .sidebar-menu ul li a,
#show-sidebar,
#close-sidebar {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/*----------------page-wrapper----------------*/

.page-wrapper {
    height: 100vh;
}

.page-wrapper .theme {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 4px;
    margin: 2px;
}

.page-wrapper .theme.chiller-theme {
    background: #1e2229;
}
/*----------------toggeled sidebar----------------*/

.page-wrapper.toggled .sidebar-wrapper {
    left: 0px;
}
/* ----------------Mode sidebar overlay---------------- */
@media screen and (min-width: 1025px) {
    .page-wrapper.toggled .page-content {
        padding-left: 300px;
        padding-right: 40px;
    }
}
/*----------------show sidebar button----------------*/
#show-sidebar {
    position: fixed;
    left: 0;
    top: 10px;
    border-radius: 0 4px 4px 0px;
    width: 35px;
    transition-delay: 0.3s;
}

.page-wrapper.toggled #show-sidebar {
    left: -40px;
}
/*----------------sidebar-wrapper----------------*/

.sidebar-wrapper {
    width: 260px;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 999;
    box-shadow: none;
    /* box-shadow: 0 1px 2px rgba(0,0,0,0.07), 
    0 2px 4px rgba(0,0,0,0.07), 
    0 4px 8px rgba(0,0,0,0.07), 
    0 8px 16px rgba(0,0,0,0.07),
    0 16px 32px rgba(0,0,0,0.07), 
    0 32px 64px rgba(0,0,0,0.07); */
}

.sidebar-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-wrapper a {
    text-decoration: none;
}
/*----------------sidebar-content----------------*/

.sidebar-content {
    width: 260px !important;
    max-height: calc(100% - 30px);
    height: calc(100% - 30px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.sidebar-content.desktop {
    overflow-y: hidden;
}
/*--------------------sidebar-brand----------------------*/

.sidebar-wrapper .sidebar-brand {
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.sidebar-wrapper .sidebar-brand > a {
    text-transform: uppercase;
    font-weight: bold;
    flex-grow: 1;
}

.sidebar-wrapper .sidebar-brand #close-sidebar {
    cursor: pointer;
    font-size: 20px;
}
/*--------------------sidebar-header----------------------*/

.sidebar-wrapper .sidebar-header {
    padding: 20px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic {
    float: left;
    width: 60px;
    padding: 2px;
    border-radius: 12px;
    margin-right: 15px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.sidebar-wrapper .sidebar-header .user-info {
    float: left;
}

.sidebar-wrapper .sidebar-header .user-info > span {
    display: block;
}

.sidebar-wrapper .sidebar-header .user-info .user-role {
    font-size: 12px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status {
    font-size: 11px;
    margin-top: 4px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status i {
    font-size: 8px;
    margin-right: 4px;
    color: #5cb85c;
}
/*-----------------------sidebar-search------------------------*/

.sidebar-wrapper .sidebar-search > div {
    padding: 10px 20px;
}
/*----------------------sidebar-menu-------------------------*/

.sidebar-wrapper .sidebar-menu {
    padding-bottom: 10px;
}

.sidebar-wrapper .sidebar-menu .header-menu span {
    font-weight: bold;
    font-size: 25px;
    padding: 15px 20px 5px 20px;
    display: inline-block;
}

.sidebar-wrapper .sidebar-menu ul li a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    position: relative;
    padding: 8px 30px 8px 20px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
    margin-right: 10px;
    font-size: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
}

.sidebar-wrapper .sidebar-menu .header-menu span img {
    width: 70px;
    height: 70px;
    margin-left: 4rem;
}

.sidebar-wrapper .sidebar-menu ul li a:hover > i::before {
    display: inline-block;
    animation: swing ease-in-out 0.5s 1 alternate;
    
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown > a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    font-style: normal;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    background: 0 0;
    position: absolute;
    right: 15px;
    top: 14px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu ul {
    padding: 5px 0;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li {
    padding-left: 45px;
    padding-top: 5px;
    font-size: 15px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 10px;
    font-size: 8px;
}

.sidebar-wrapper .sidebar-menu ul li a span.label,
.sidebar-wrapper .sidebar-menu ul li a span.badge {
    float: right;
    margin-top: 8px;
    margin-left: 5px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .badge,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .label {
    float: right;
    margin-top: 0px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu {
    display: none;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a:after {
    transform: rotate(90deg);
    right: 17px;
}

/*--------------------------side-footer------------------------------*/
.sidebar-footer {
        padding: 10px 15px;
        transform: translateY(-30px);
    }

.sidebar-footer a {
    display: flex;
    align-items: center; /* sejajarkan vertikal */
    justify-content: center; /* kalau mau di tengah horizontal juga */
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    color: #474746;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* pastikan ikon svg betul-betul center */
.sidebar-footer i,
.sidebar-footer i svg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    color: #474746;
    transition: color 0.3s ease;
}

.sidebar-footer span {
    color: #474746;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1; /* samakan tinggi teks */
}

/* efek hover */
.sidebar-footer a:hover {
    background-color: #f5f5f5;
    border-color: #0d6efd;
    color: #0d6efd;
}

.sidebar-footer a:hover i,
.sidebar-footer a:hover span,
.sidebar-footer a:hover svg {
    color: #0d6efd;
    fill: #0d6efd; /* untuk SVG yang pakai fill */
}

.badge-sonar {
    display: inline-block;
    background: #980303;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    position: absolute;
    top: 0;
}

.badge-sonar:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #980303;
    opacity: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: sonar 1.5s infinite;
}
/*--------------------------page-content-----------------------------*/

.page-wrapper .page-content {
    display: inline-block;
    width: 100%;
    padding-left: 0px;
    padding-top: 20px;
}


/* container-fluid-wrapper */
.page-wrapper .page-content > div {
    padding: 0px 20px 10px;
}

.page-wrapper .page-content {
    overflow-x: hidden;
}
/*------scroll bar---------------------*/

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-button {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: #cecece;
    border: 0px none #ffffff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

::-webkit-scrollbar-thumb:active {
    background: #808080;
}

::-webkit-scrollbar-track {
    background:transparent;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: transparent;
}

::-webkit-scrollbar-track:active {
    background: transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}
/*-----------------------------chiller-theme-------------------------------------------------*/

.chiller-theme .sidebar-wrapper {
    background: #d1d7e2;
    /* background: #305b92; */
    /* For browsers that do not support gradients */
    /* background: -webkit-linear-gradient(#82b2f1, #f58d63, #f1ab53); */
    /* For Safari 5.1 to 6.0 */
    /* background: -o-linear-gradient(#82b2f1, #f58d63, #f1ab53); */
    /* For Opera 11.1 to 12.0 */
    /* background: -moz-linear-gradient(#82b2f1, #f58d63, #f1ab53); */
    /* For Firefox 3.6 to 15 */
    /* background: linear-gradient(#82b2f1, #f58d63, #f1ab53); */
}

.chiller-theme .sidebar-wrapper .sidebar-header,
.chiller-theme .sidebar-wrapper .sidebar-search,
.chiller-theme .sidebar-wrapper .sidebar-menu {
    border-top: 1px solid #ccc;
}

.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
    border-color: transparent;
    box-shadow: none;
}

.chiller-theme .sidebar-wrapper .sidebar-menu i {
    color: #306088;
}

.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-role,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-status,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text,
.chiller-theme .sidebar-wrapper .sidebar-brand > a,
.chiller-theme .sidebar-wrapper .sidebar-menu ul li a > a {
    color: #ffebcd;
}

.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info,
.chiller-theme .sidebar-wrapper .sidebar-brand > a:hover {
    color: #727272;   
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li a:hover {
    color: #727272;
    background-color: #ff9f73;
    border-radius: 50px;
}

.page-wrapper.chiller-theme.toggled #close-sidebar {
    color: #bdbdbd;
}

.page-wrapper.chiller-theme.toggled #close-sidebar:hover {
    color: #ffffff;
}

.chiller-theme .sidebar-wrapper ul li:hover a i,
.chiller-theme
    .sidebar-wrapper
    .sidebar-dropdown
    .sidebar-submenu
    li
    a:hover:before,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu:focus + span,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active a i {
    color: #727272;
}

.chiller-theme .sidebar-wrapper .sidebar-menu .header-menu span {
    color: #6c7b88;
}

a {
    text-decoration: none;
    color:#b85900;
}
a:hover {
    text-decoration: none;
    color: #e77325;
}

.fit-foto {
    object-fit: cover;
    height: 12em;
    margin-top: 10px;
}


/* table CSS */
.table-responsive {
    margin: 5px 0;
    margin-bottom: 2rem;
}

.table-wrapper {
    min-width: 1000px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

.table-title {
    padding-bottom: 15px;
    background: #435d7d;
    color: #fff;
    padding: 16px 30px;
    margin: -20px -25px 10px;
    border-radius: 3px 3px 0 0;
}

.table-title h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

.table-title .btn-group {
    float: right;
}

.table-title .btn {
    color: #fff;
    float: right;
    font-size: 13px;
    border: none;
    min-width: 50px;
    border-radius: 5px;
    border: none;
    outline: none !important;
    margin-left: 10px;
}

.table-title .btn i {
    float: left;
    font-size: 21px;
    margin-right: 5px;
}

.table-title .btn span {
    float: right;
    margin-top: 2px;
}

.table-title .btn a {
    float: right;
}

table.table tr th,
table.table tr td {
    border-color: #e9e9e9;
    background-color: white;
    padding: 10px 10px;
    vertical-align: middle;
    font-size: 13px;
}

table.table tr th:first-child {
    width: 60px;
}

table.table tr th:last-child {
    width: 100px;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: #fcfcfc;
}

table.table td:last-child i {
    opacity: 0.9;
    font-size: 22px;
    margin: 0 5px;
}

table.table td {
    font-weight: 500;
    color: #566787;
    text-decoration: none;
    outline: none !important;
}

table.table td b:hover {
    color: #21a6f3;
}

table.table td a.edit {
    color: #ffc107;
}

table.table td a.delete {
    color: #f44336;
}

table.table #tool{
    width: 130px;
    table-layout: fixed;
}

table.table #tools{
    width: 110px;
    table-layout: fixed;
}


/* head-container */
.search{
    float: right;
}

.page-select{
    float: left;
    margin-top: 11px;
    font-size: 13px;
    font-family: "Varela Round";
}

.d-inline {
    font-size: 15px;
    color:#d65a31;
}

.form{
    margin: 20px 0;
}

.warga-search{
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.warga-btn{
    float: left;
}

.warga-btn .btn i {
    float: left;
    margin-right: 5px;
}

.warga-btn .btn span {
    float: right;
    margin-top: 2px;
}

.warga-page{
    font-size: 12px;
}

.centre {
    display: flex;
    align-items: flex-end;
    justify-content: start;   
}

/* diagram */
.diagram-left {
    float: left;
}

.diagram-center {
    display: flex;
    align-items: center;
    justify-content: center;  
}

.diagram-right {
    float:right;
}

@media only screen and (max-width:768px) {
    .diagram-right {
        float:left;
    }   
}

@media only screen and (max-width:768px) {
    .diagram-center {
        float:left;
    }   
}

@media only screen and (max-width: 576px) {
    .form-mobile {
        display: block;
        width: 70%;
        height: calc(1.6em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
        margin-right: 10px;
        font-weight: 400;
        line-height: 1.6;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
    .search {
        float: left;
    } 
}


 /* Login CSS */ 
.login-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 1000px;
    width: 450px;
    margin: 0;
    z-index: 10;
}

@media only screen and (max-width:576px) {
    .login-card {
        width: 350px;
    }
}


.login-icon {
    background: white;
    border-radius: 25%;
    padding: 12px;
    box-shadow: 0 2px 3px rgba(0,0,0,38%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-btn {
    background-color: #111;
    color: white;
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    transition: 0.2s;
}

.login-btn:hover {
    background-color: #222;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

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

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: rgba(255, 255, 255, 0.8);
    padding: 0 10px;
    color: #777;
    font-size: 0.9rem;
}


/* TreeView-Sidebar */
.treeview-animated.w-20 {
    width: 20rem;
    font-size: 14px;
}

.treeview-animated h6 {
    font-size: 1.4em;
}

.treeview-animated ul {
    position: relative;
    list-style: none;
    padding-left: 1em;
}

.treeview-animated-list li {
    padding: 0.2em 0 0 0.2em;
}

.treeview-animated-element {
    padding: 0.2em 0.2em 0.2em 0.6em;
    cursor: pointer;
    transition: all .1s linear;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.treeview-animated-element i{
    color: #b1b1b1;
    margin-inline-start: 8px;
    padding-right: 2px;
    line-height: 20px;
    font-size: 17px;
}

.treeview-animated-element a {
    color: #272727;
    font-family:'varela round';
    font-size: 14px;
}

.treeview-animated-element:hover {
    background-color: rgb(140, 185, 255);
}

.treeview-animated-element.opened {
    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-element.opened:hover {
    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items i {
      color:#b1b1b1 ;
      font-size: 16px;
      margin-top: 3px;
      padding-right: 2px;
}

.treeview-animated-items a {
      color:#272727 ;
      font-family:'Varela Round';
      font-size: 14px;
}

.treeview-animated-items .nested::before {
    content: "";
    display: block;
    position: absolute;
    background-color: grey;
    left: 5px;
    width: 5px;
    height: 100%;
}

.treeview-animated-items .closed {
    display: block;
    padding: 0.2em 0.2em 0.2em 0.4em;
    margin-right: 0;
    border-top-left-radius: 0.3em;
    border-bottom-left-radius: 0.3em;
}

.treeview-animated-items .closed:hover {
    background-color: rgb(140, 185, 255);
}

.treeview-animated-items .open {
    transition: all .1s linear;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items .open span {
    color: #f8f9fa;
}

.treeview-animated-items .open:hover {

    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated ul li .open div:hover {
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items .closed .fa-angle-right {
    transition: all .1s linear;
    font-size: .8rem;
}

.closed .fa-angle-right.down {
    position: relative;
    color: #f8f9fa;
    transform: rotate(90deg);
}

.icon-width {
    width: 20px;
    margin-bottom: 5px;
}


/* Tree Diagram */
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.tree {
    height: auto;
    position: relative;
    display:table;
    text-align: right;
    margin: auto;
}

.tree ul {
    padding-top: 20px;
    width: 100%;
    display: table;
    text-align: center;
    position: relative;
    transition: .5s;
}

.tree li {
    display: table-cell;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 10px 5px;
    transition: .5s;
}

.tree li::before, .tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 51%;
    height: 10px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

.tree li:only-child::after, .tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before, .tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 6px 8px;
    display: inline-grid;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
    background: #fff;
}

.tree li a img {
    width: 40px;
    height: 40px;
    margin-bottom: 6px !important;
    border-radius: 50%;
    margin: auto;
}

.tree li a span {
    color: #444;
    font-family: 'Arial';
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

/* warna border */
.tree li a.status-y { border-color: #2ee17a !important; }
.tree li a.status-n { border-color: red !important; }
.tree li a.status-p { border-color: orange !important; }
.tree li a.status-default { border-color: #ccc !important; }

/* Hover efek */
.tree li a:hover,
.tree li a:hover span,
.tree li a:hover+ul li a {
    background: #e6f3ff;
    color: #000;
    border: 1px solid #94a0b4;
}

.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before {
    border-color: #94a0b4;
}


/* Form */
#myForm {
    background-color: white;
    padding-left: 5rem;
    padding-right: 5rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
    box-shadow: 0px 1px 3px 0px rgb(0,0,0,0.2);
}
.block-heading {
    padding-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}


/* Detail */
#myProfile {
    background-color: #fff!important;
    padding-left: 130px;
    padding-right: 130px;
    padding-top: 50px;
    box-shadow: 0px 1px 3px 0px rgb(0,0,0,0.2);
    padding-bottom: 30px;
    margin-bottom: 5rem;
}

.element-wrapper {
    min-width: 1000px;
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

#myModalProfile{
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 30px;
}

@media only screen and (max-width:786px) {
    #myModalProfile{
        background-color: #fff!important;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 50px;
        padding-bottom: 30px;
    }

}

.element-wrapper {
    min-width: 1000px;
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

#myHeaders {
    font-family: 'Courier New';
    display: flex;
    justify-content: flex-end;
    border-bottom: 0.5px solid;
    margin-bottom: 2rem;
}

#myKK {
    background-color: white;
    padding: 3rem;
    padding-top: 0rem;
}

#myKKS {
    font-family: 'Courier New';
    display: flex;
    justify-content: center;
    padding: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-top: 2rem;
}

.card-img {
    width: 10rem;
    margin-bottom:48px;
    margin-left: 5px;
    margin-right: 5px;
    color: #1562b9;
    border: 1px solid #d3d3d3;
}

.list-style9 {
    list-style: none;
    padding: 0;
}

@media only screen and (max-width:768px) {
    .list-style9 {
        font-size: 12px;
        list-style: none;
        padding: 0;
    }
}

.list-style9 li {
    position: relative;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.list-style9 li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.text-sky {
    color: #02c2c7;
}

.text-orange {
    color: #e95601;
}

.text-green {
    color: #5bbd2a;
}

.text-yellow {
    color: #f0d001;
}

.text-pink {
    color: #ff48a4;
}

.text-purple {
    color: #9d60ff;
}

.text-lightred {
    color: #ff5722;
}


/* highcharts */
.highcharts-figure,
.highcharts-data-table table {
  min-width: 320px;
  max-width: 800px;
  margin: 1em auto;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

input[type="number"] {
  min-width: 50px;
}


/* Modal */
.modal-header {
    background: #f1841b;
}

.modal-title {
    color: white;
}

.modal-content {
    border-radius: 0.5rem;
}


/* Bootstrap 5  */
.form-group {
    margin-bottom: 1rem;
}

.form-control-file, .form-control-range {
    display: block;
    width: 100%;
}

.pagination {
    --bs-pagination-padding-x: 0.5rem;
    --bs-pagination-padding-y: 0.25rem;
    --bs-pagination-font-size: 0.7875rem;
    --bs-pagination-border-radius: var(--bs-border-radius-sm);
}

.btn-primary {
    --bs-btn-color:white;
}

.btn-success {
    --bs-btn-color: white;
}

@media(min-width: 576px){
    .col-sm {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
    .col-sm-6 {
        flex: 0 0 auto;
        max-width: 50%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        max-width: 33.33333333%;
    }
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.mr-sm-2, .mx-sm-2 {
    margin-right: 0.5rem !important;
}


/* cards-index */
.card-counter{
    box-shadow: 0px 8px 15px #e1e1e1;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 20px 12px;
    background-color: #fff;
    height: 400px;
    border-radius: 12px;
    transition: .3s linear all;
}

@media only screen and (max-width: 768px) {
    .card-counter {
        box-shadow: 1px 1px 1px #c5c5c5;
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 5px;
        padding: 20px 12px;
        background-color: #fff;
        height: 180px;
        border-radius: 5px;
        transition: .3s linear all;
    }
}

.card-counter:hover{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
}

.card-counter.primary{
    background-color: #d8e8f5;
    color: #4e99df;
}

.card-counter.danger{
    background-color: #fddddc;
    color: #f27474;
}  

.card-counter.success{
    background-color: #dce9e1;
    color: #38c172;
}  

.card-counter.info{
    background-color: #ffe0ca;
    color: orange;
}  

.cc-primary {
    width: 40px;
    margin-bottom: 56px;
    color: #2778c4;
}

.cc-danger {
    width: 40px;
    margin-bottom: 56px;
    color: #e3342f;
}

.cc-success {
    width: 40px;
    margin-bottom: 56px;
    color: #1da556;
}

.cc-info {
    width: 40px;
    margin-bottom: 56px;
    color: #ff7300;
}

.card-counter .count-numbers{
    position: absolute;
    right: 35px;
    top: 20px;
    font-size: 20px;
    display: block;
}

.card-counter .count-name{
    position: absolute;
    right: 35px;
    top: 65px;
    font-style: italic;
    opacity: 0.5;
    display: block;
    font-size: 16px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    box-sizing: border-box;
    margin: -12px;
    margin-top: 0px;
    border-top: 1px solid rgba(33, 40, 50, 0.125);
    background-color: rgba(0, 0, 0, 0.03);   
}

.card-footer a{
    text-decoration: underline;
    display: block;
    color: #767676;
}
  
.card-footer a:hover{
    display: block;
    color: #b3aeae; 
}

.card-img, .card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}


/* Card-Album */
.card {
    position: relative;
    width: 7rem;
    padding-left: 0;
    padding-right: 0;
    min-height: 17rem;
    margin-left: 7px;
    margin-bottom: 7px;
    color: #9b4e00;
    border:1px solid #c0c0c0;
    --bs-card-bg:white;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 5px -4px #c5c5c5;
}

.card-body {
    font-size: 12px;
    text-align:center;
    margin-left: -10px;
    margin-right: -10px;
    padding: 1.25rem;
}

.card-text {
    font-size: 12px;
    font-weight: 200;
    background-color: #f9efe8;
    border-radius: 100px;
}

@media only screen and (max-width:768px){
    .card {
        width: 7rem;
        margin-left: 7px;
        margin-bottom: 5px;
        color: #9b4e00;
        border:1px solid #c0c0c0
    }

    .card-body {
        font-size: 12px;
        text-align:center;
        margin-left: -10px;
        margin-right: -10px;
    }
}

.duaBaris {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-sizing: border-box;
}

.card-text-footer {
    font-size: 12px;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    box-sizing: border-box;
    border-top: 1px solid rgba(33, 40, 50, 0.125);
    background-color: rgba(0, 0, 0, 0.03);   
}

.body-text {
    font-size: 12px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}

/* Card-KK */
/* Warna dasar per status */
.card.aktif {
    background-color: #e7f8ec;
    border: 1px solid #28a745;
}

.card.almarhum {
    background-color: #f2f2f2;
    border: 1px solid #dc3545;
}

.card.pindah {
    background-color: #fff3e0;
    border: 1px solid #ff9800;
}

/* Badge status di atas foto */
.status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}
.card.aktif .status-badge {
    background-color: #00bf2c66;
}
.card.almarhum .status-badge {
    background-color: #ff00186b;
}
.card.pindah .status-badge {
    background-color: #ff980080;
    color: #000;
}

.card-text-kk {
    background-color: #f9efe8;
    border: 1px solid #c0c0c0;
    border-radius: 100px;
}


/* row card-image */
.row-content {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}


/* button-color */
#btn-edit {
    color: #ffc107;
    background: transparent;
    border: transparent;
}

#btn-delete {
    color: #f44336;
    background: transparent;
    border: transparent;
}

#btn-detail {
    color: #0084ff;
    background: transparent;
    border: transparent;
}


/* button-custom */
.bttn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .bttn {
        transition: none;
    }
}

.bttn-sm, .bttn-group-sm > .bttn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7875rem;
    line-height: 1.5;
    border-radius: 1.2rem;
}
.butn-sm, .butn-group-sm > .butn {
    padding: 0.10rem 0.5rem;
    font-size: 0.7875rem;
    line-height: 1.5;
    border-radius: 1.2rem;
}

.bttn-info {
    color: #105ead;
    background-color: #d1eaff;
    border-color: #b5d0e7;
}

.bttn-info:hover {
    color: #105ead;
    background-color: #b5dbf9;
    border-color: #b5dbf9;
}

.bttn-danger {
    color: #951511;
    background-color: #fde1e1;
    border-color: #ffb5b5;
}

.bttn-danger:hover {
    color: #951511;
    background-color: #fbb6b4;
    border-color: #fbb6b4;
}

.bttn-success {
    color: #016c2f;
    background-color: #d4eddf;
    border-color: #8dd5ac;
}

.bttn-success:hover {
    color: #016c2f;
    background-color: #b1edca;
    border-color: #b1edca;
}

.bttn-outline {
    color: #016c2f;
    background-color: transparent;
    border-color: #8dd5ac;
}

.bttn-outline:hover {
    color: #016c2f;
    background-color: transparent;
    border-color: #b1edca;
}


/* kk-button */
.kk-btn-left {
    display: flex; 
    flex-direction:row; 
    justify-content:flex-start;
}
.kk-btn-right {
    display: flex; 
    flex-direction:row; 
    justify-content:flex-end;
}
@media only screen and (max-width: 768px) {
    .kk-btn-right {
        display: flex; 
        flex-direction:row; 
        justify-content:flex-start;
        padding-top: 10px;
        margin-left: -15px;
    }   
}


/* page-preloader */
.loader {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s, visibility 1s;
}
.loader--hidden {
    opacity: 0;
    visibility: hidden;
}

/* chartjs */
#incomeChart {
    width: 200px;
    height: 200px;
   
}

/* Dashboard */
.cards {
    /* min-height: 17rem; */
    background-color: #fff;
    border-radius: 25px;
    transition: transform 0.2s;
    box-shadow: 0px 8px 15px #e1e1e1;
}

.card-body-custom {
    padding-top: 10px;
    padding-inline: 2rem;
    text-align: start;
}

.card-body-account {
    text-align: center;
    padding: 1.25rem;
}

.card-body-chart {
    position: relative;
    width: 100%;
    max-height:100% ;
    min-height: 250px;
}

.card-headers {
    padding: 0.75rem 1.25rem;
    text-align: center;
    margin-bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.03); */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.125); */
}

.card-text-custom:hover {
    text-align: center;
    background-color: #c0c0c0;
}

.card-counter-chart {
    box-shadow: 0px 8px 15px #e1e1e1;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 30px;
    padding: 20px 12px;
    flex: 1;
    transition: .3s linear all;
    min-height: 400px;
}

.card-counter-custom {
    box-shadow: 0px 8px 15px #e1e1e1;
    background-color: #fff;
    border-radius: 30px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    transition: .3s linear all;
}

/* Rekening */
.rekening-card {
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.rekening-card:hover {
    background-color: #f9f9f9;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rekening-card .fw-bold {
    font-weight: 600;
}

.rekening-card small {
    color: #6c757d;
}

.rekening-text {
        font-size: clamp(0.8rem, 1.5vw, 1.1rem); /* menyesuaikan lebar layar */
        line-height: 1.2;
    }


/* Supaya dua card kanan membagi tinggi secara merata */
.col-lg-4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Icon */
.icon-danger { color: red; width: 25px; height: 25px; }
.icon-success { color: green; width: 25px; height: 25px; }
.icon-primary { color: rgb(99, 156, 221); width: 25px; height: 25px; }

/* Header dan text */
.saldo-header {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    margin-top: -1.8rem;
}
.saldo-header h5 {
    font-size: clamp(14px, 2vw, 18px);
}
.saldo-amount {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    margin-top: 0.5rem;
    text-align: start;
    font-family: 'GoogleSansCode', sans-serif;
}

.coulum {
    flex: 1;
    padding: 10px;
}
.coulum-left { text-align: left; }
.coulum-right { text-align: right; align-content: center; }

.header-sejajar {
    display: flex;
    justify-content: start;
    padding-inline-start: 21px;
    gap: 10px;
}

.header-sejajar h5 {
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 0px;
}

/* Chart canvas */
.canvas {
    position: relative;
    width: 70%;
    max-height: 300px;
    margin: auto;
    min-height: 150px; /* supaya chart gak nol saat reflow */
}

#financeChart {
    width: 100% !important;
    height: 100% !important;
}


/* Responsive fix */
@media (max-width: 1024px) {
    .card-counter-chart {
        flex-direction: column;
        min-height: auto;
        margin-bottom: 1rem; 
    }
    .col-lg-4 {
        flex-direction: column;
    }
    .card-counter-custom {
        height: auto;
        margin-top: 0.75rem !important;
    }
    .card-body-custom {
        padding-inline: 1rem;
    }
    .saldo-header {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 0.5rem;
        margin-top: 0.2rem;
    }
    .saldo-amount {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .total-saldo-amount {
        margin: 0 0 0 0 !important;
    }
    .saldo-amount-small {
        display: flex;
        position: relative;
        top: 0 !important;
        justify-content: center !important;
    }
    .saldo-growth {
        font-size: 15px !important;
    }
    .header-sejajar {
        justify-content: center;
        align-items: baseline;
    }
}

.total-saldo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* pastikan vertikal tengah */
    text-align: center;
}

.total-saldo-amount {
    font-size: clamp(28px, 3vw, 48px); /* responsif */
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 90px 0;
    font-family: 'GoogleSansCode', sans-serif;
}

.saldo-growth {
    position: relative;
    display: flex;
    align-items: flex-start;
    top: 10px;
    font-size: 20px;
}

.saldo-amount-small {
    position: relative;
    top: 25px;
}

.rekening-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.icon-wrapper {
    transition: all 0.2s ease-in-out;
}

.text-saldo {
    color: #b8bbbf;
}

@font-face {
    font-family: 'GoogleSansCode';
    src: url('/fonts/GoogleSansCode-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Hide Angka */
/* wrapper supaya angka + icon sejajar rapat */
.rp-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* jarak kecil antara angka & icon */
}

/* styling tombol mata */
.btn-eye {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
    transition: color 0.2s;
}

.btn-eye:hover {
    color: #000;
}
