:root {
    --blue-light: #2563eb;
    --blue-dark: #103178;
    --red-light: #f87171;
    --red-dark: #991b1b;
    --green-light: #bbf7d0;
    --green-dark: #166534;
    --yellow-light: #fef08a;
    --yellow-dark: #78350f;
}

.bg-red-light {
    background-color: var(--red-light) !important;
}
.bg-red-dark {
    background-color: var(--red-dark) !important;
}
.bg-green-light {
    background-color: var(--green-light) !important;
}
.bg-green-dark {
    background-color: var(--green-dark) !important;
}
.bg-yellow-light {
    background-color: var(--yellow-light) !important;
}
.bg-yellow-dark {
    background-color: var(--yellow-dark) !important;
}

.badge-primary {
    background-color: var(--blue-light) !important;
    color: white !important;
}

.login-form {
    width: 100% !important;
    max-width: 600px !important;
}

/* .main-nav {
    background-color: var(--blue-light) !important;
    color: white !important;
} */

.bg-blue-light {
    background-color: var(--blue-light) !important;
}

.bg-blue-dark {
    background-color: var(--blue-dark) !important;
}

.bg-primary {
    background-color: var(--blue-dark) !important;
}

.bg-gray {
    background-color: #f8f8f8 !important;
}


.bg-gradient-blue {
    background: #103178;
    background: linear-gradient(
        90deg,
        rgba(16, 49, 120, 1) 0%,
        rgba(65, 116, 224, 1) 100%
    );
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-main-header .main-header-right .toggle-sidebar svg {
    color: var(--blue-dark);
}

.page-main-header .main-header-right .toggle-sidebar:hover {
    background-color: rgb(246, 246, 255);
}

.icon-statistic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-20%) translateY(-20%);
    z-index: 0;
}

.icon-statistic i {
    font-size: 32px;
}

.icon-progress {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-30%) translateY(-5%) !important;
    z-index: 0;
}

.icon-progress i {
    font-size: 64px !important;
    font-weight: bold;
}

.icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-light {
    background-color: #f8f8f8 !important;
}

.icon-pill i {
    font-size: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-main-title {
    text-transform: uppercase;
    border: none;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-user {
    border: 0;
}

.sidebar-main-title h6 {
    font-size: 14px !important;
    color: white !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.active, .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover {
    background-color: var(--blue-light) !important;
    color: white !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-user {
    display: flex;
    padding: 12px;
    padding-top: 20px;
    margin-bottom: 0;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
    background-color: var(--blue-dark);
    color: white;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li a {
    padding: 12px 16px;
    color: white;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-main-title > div {
    border-color: hsla(0, 0%, 100%, 0.1);
    margin-bottom: 8px;
}

.page-wrapper .page-body-wrapper .page-header .breadcrumb .breadcrumb-item a {
    color: var(--blue-dark);    
}

/* .btn.btn-primary-light {
    background-color: rgb(239, 248, 255) !important;
    color: var(--blue-light) !important;
} */

.default-according .card .btn-link {
    font-weight: 700;
}

.nav-tabs .nav-link {
    color: var(--blue-dark);
}

.nav-tabs .nav-link.active {
    background-color: var(--blue-light);
    color: white;
}

.btn-primary {
    background-color: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
}

.va-middle {
    vertical-align: middle;
}

#toast-container {
    margin-top: 80px; /* Ganti sesuai kebutuhan */
}

/* Toastr Success */
#toast-container > .toast-success {
    background-color: #198754 !important; /* Hijau Bootstrap */
    color: #fff !important;
}

/* Toastr Error */
#toast-container > .toast-error {
    background-color: #dc3545 !important; /* Merah Bootstrap */
    color: #fff !important;
}