/* --- CUSTOM PRIMARY COLOR (UNGU: #6f42c1) --- */

/* 1. Tombol (Buttons) & Backgrounds */
.btn-primary, .bg-primary, .badge-primary, .alert-primary {
    background-color: #6f42c1 !important;
    border-color: #6f42c1 !important;
    color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #59339d !important;
    border-color: #532f91 !important;
}

/* 2. Teks & Link */
.text-primary {
    color: #6f42c1 !important;
}
a {
    color: #6f42c1;
}
a:hover {
    color: #59339d;
}

/* 3. Form Input Focus */
.form-control:focus, .custom-select:focus {
    border-color: #a580e8 !important;
    /* box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25) !important; */
}

/* 4. Checkbox (iCheck) */
.icheck-primary > input:first-child:checked + input[type="hidden"] + label::before,
.icheck-primary > input:first-child:checked + label::before {
    background-color: #6f42c1 !important;
    border-color: #6f42c1 !important;
}

/* 5. Sidebar Active Menu (AdminLTE) */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #6f42c1 !important;
    color: #fff !important;
}

/* 6. Card Outline (Garis atas pada Card) */
.card-primary.card-outline {
    border-top: 3px solid #6f42c1 !important;
}