@media (min-width: 768px) {
    .btn-md-normal {
        padding: 0.375rem 0.75rem; /* ukuran normal bootstrap */
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
    }
}

.avatar-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 15%;
}

@media screen and (max-width: 768px) {
    .avatar-image {
        width: 30px;
        height: 30px;
    }
}

.sidebar-icon {
    color: inherit; /* atau warna default yang Anda inginkan */
}

.sidebar-link.active .sidebar-icon {
    color: var(--theme-default);
}

.sidebar-menu li.active .sub-sidebar-icon span {
    color: var(--theme-default);
}

.page-sidebar .sidebar-link.active i.fa-chevron-right {
    transform: rotate(90deg);
    color: var(--theme-default);
}

.page-sidebar .sidebar-link .badge ~ i.fa-chevron-right {
    margin-left: unset;
}

.page-sidebar .sidebar-link i.fa-chevron-right {
    margin-left: auto;
}

/* Kustomisasi container select2 */
.select2-container--default {
    width: 100% !important;
    margin-bottom: -21px;
}

/* Kustomisasi tampilan select */
.select2-container--default .select2-selection--single {
    border: none;
    border-radius: 4px;
    height: 38px;
    display: flex;
    align-items: center;
}

/* Kustomisasi text yang terpilih */
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 12px;
    line-height: 38px;
}

/* Kustomisasi arrow/dropdown */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 44px;
    right: 8px;
}

/* Kustomisasi dropdown options */
.select2-dropdown {
    border: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: none;
    padding: 8px;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px;
}

/* Focus state */
.select2-container--default.select2-container--focus
    .select2-selection--single {
    border: none;
    outline: none;
}

.select2-container--default .select2-results__option {
    transition: background-color 0.2s ease;
}

/* select2 multiple */
/* .select2-container--default .select2-selection--multiple {
    background-color: #43b9b21a;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
}

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 45px;
    user-select: none;
    -webkit-user-select: none;
} */
/* Styling untuk container select2 multiple */
.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 45px;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
    font-family: inherit;
}

.select2-container--default .select2-selection--multiple {
    background-color: #43b9b21a;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding: 5px;
    position: relative;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Styling untuk pilihan yang sudah dipilih (tags) */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #43b9b2;
    border: 1px solid #3aa39d;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    margin: 4px 5px 4px 0;
    padding: 6px 8px;
    color: white;
    font-size: 0.9em;
    position: relative;
}

/* Tombol hapus pada pilihan */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 8px;
    padding: 0 6px;
    font-size: 1em;
    height: 18px;
    line-height: 18px;
    text-align: center;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}

/* Memperbaiki tampilan dari popup "Remove item" */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove
    span {
    margin-right: 3px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:after {
    content: "Remove item";
    position: absolute;
    background: #333;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 1000;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover:after {
    opacity: 1;
}

/* Placeholder dan area input */
.select2-container--default
    .select2-selection--multiple
    .select2-search--inline
    .select2-search__field {
    background: transparent;
    margin-top: 3px;
    padding: 0 6px;
    font-size: 1em;
    min-width: 150px;
    height: 28px;
}

/* Dropdown list */
.select2-container--default .select2-dropdown {
    border-color: #aaa;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #43b9b2;
    color: white;
}

/* Meningkatkan readability untuk options */
.select2-container--default .select2-results__option {
    padding: 8px 12px;
}

/* Mengatur tinggi spesifik */
table.dataTable tbody td {
    padding-bottom: 9px !important;
}

/* tinymce */
ol.alpha-list {
    list-style-type: lower-alpha !important;
}

.achievement-container ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 3px;
}

/* datatable drag and drop ordering */
.drag-handle-column {
    cursor: move;
}

/* Style for the row being dragged */
tr.dragging {
    background-color: var(--theme-default) !important;
    opacity: 0.5 !important;
}

/* Style for possible drop targets */
tr.drag-possible-target {
    transition: all 0.2s ease;
}

/* Style for the row currently being hovered over */
tr.drag-hover {
    background-color: var(--theme-default) !important;
    border: 2px dashed #084298 !important;
}

/* Disable text selection during drag */
.dragging {
    user-select: none;
}

/* Highlight row on hover to show it's draggable */
tr:hover .drag-handle-column {
    background-color: #f8f9fa;
}

/* datatable header */
table thead th {
    line-height: 29px !important;
    font-size: 15px !important;
    background-color: #7366ff !important;
}

/* ===== Dashboard SPMI - Welcome Card (profile-greeting) ===== */
.profile-greeting-custom {
    background: linear-gradient(
        135deg,
        #6b8cff 0%,
        #6f6bf7 35%,
        #6a58cc 70%,
        #6a4bb2 100%
    ) !important;
    color: #fff;
    border: none;
    border-radius: 14px;
}

.profile-greeting-custom .img-overlay h1,
.profile-greeting-custom .img-overlay p {
    color: #fff;
}

.profile-greeting-custom .card-body {
    padding: 32px 32px 36px 32px;
}
.profile-greeting-custom .img-overlay {
    display: block;
}
.profile-greeting-custom .img-overlay:after {
    display: none;
}

/* landing page */

/* ===== Dashboard: Ringkasan Indikator ===== */
.indicator-summary {
    display: flex;
}
.indicator-summary > .summary-col {
    flex: 1 1 0;
    text-align: center;
    padding: 12px 16px;
}
.indicator-summary > .summary-col:not(:last-child) {
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}
.indicator-summary .summary-title {
    font-weight: 600;
}
.indicator-summary .summary-desc {
    opacity: 0.8;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 6px;
}
.indicator-summary .summary-value {
    font-size: 18px;
    font-weight: 700;
}
.landing-page .landing-home .home-left .landing-title .doc-btn {
    font-size: 15px;
    padding: 10px 14px !important;
    border: #e3f5f4 1px solid;
}

.landing-page .landing-home .home-right .landing-image .animate-img .right-img {
    top: -37px;
    z-index: 9;
}

@media (max-width: 1199.98px) {
    .landing-page
        .landing-home
        .home-right
        .landing-image
        .animate-img
        .right-img
        img {
        width: 125px;
        margin-top: -37px;
    }
}

.text-justify {
    text-align: justify !important;
}

.standard-card:hover {
    background-color: var(--theme-default);
    cursor: pointer;
}

.standard-card:hover h5 {
    color: white;
}

.manual-card {
    background-color: #eef6f7;
}

.manual-card:hover {
    background-color: var(--theme-default);
    cursor: pointer;
}

.manual-card:hover h5 {
    color: white;
}

div .card {
    border-radius: 13px !important;
}
