/* =========================================================
   COLOR SYSTEM (SOFT & MODERN)
========================================================= */
:root {
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e5e7eb;

    --text: #0f172a;
    --text-muted: #64748b;
    --text-soft: #94a3b8;

    --primary: #6366f1;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    --soft: #f1f5f9;

    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --sidebar-active-bg: rgba(99, 102, 241, .15);
}

/* =========================================================
   GLOBAL
========================================================= */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =========================================================
   SIDEBAR OVERLAY (MOBILE)
========================================================= */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 1040;
}

.sidebar-overlay.show {
    display: block;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar {
    width: 250px;
    height: 100vh;
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    transition: all .3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 2px 0 8px rgba(0, 0, 0, .06);
}

.sidebar.collapsed {
    width: 80px;
}

/* Scrollbar */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #475569 transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

/* Title */
.sidebar-title {
    text-align: center;
    margin-bottom: 1rem;
}

.sidebar-title span {
    font-weight: 600;
    color: #e5e7eb;
}

.sidebar.collapsed .sidebar-title span {
    display: none;
}

/* Nav link */
.sidebar .nav-link {
    color: #cbd5f5;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .2s ease;
}

.sidebar .nav-link i {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
    color: var(--text-soft);
}

.sidebar .nav-link span {
    font-size: .95rem;
}

/* Hover & active */
.sidebar .nav-link:hover {
    background: var(--sidebar-hover);
    color: #ffffff;
}

.sidebar .nav-link:hover i {
    color: #ffffff;
}

.sidebar .nav-link.active {
    background: var(--sidebar-active-bg);
    color: var(--primary);
    font-weight: 500;
}

.sidebar .nav-link.active i {
    color: var(--primary);
}

/* Dropdown */
.sidebar .collapse .nav-link {
    padding-left: 20px;
    font-size: .9rem;
}

/* Collapse state */
.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .collapse,
.sidebar.collapsed #version,
.sidebar.collapsed .bi-chevron-down {
    display: none !important;
}

.nav-link.active.collapsed .bi-chevron-down,
.nav-link .bi-chevron-down {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.nav-link.active .bi-chevron-down,
.nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}


/* Hover expand (desktop) */
@media (min-width: 769px) {
    .sidebar.collapsed:hover {
        width: 250px;
    }

    .sidebar.collapsed:hover .nav-link span,
    .sidebar.collapsed:hover .sidebar-title span,
    .sidebar.collapsed:hover #version {
        display: inline;
    }

    .sidebar.collapsed:hover .collapse,
    .sidebar.collapsed:hover .bi-chevron-down,
    .sidebar.collapsed:hover #version {
        display: block !important;
    }
}

/* =========================================================
   NAVBAR
========================================================= */
.admin-navbar {
    background: var(--card);
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 12px 16px;
}

.btn-toggle-sidebar {
    background: var(--soft);
    border: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 1.3rem;
}

.btn-toggle-sidebar:hover {
    background: #e2e8f0;
    color: #020617;
}

/* User button */
.btn-user {
    background: var(--soft);
    border: none;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-user:hover {
    background: #e2e8f0;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .9rem;
}

.dropdown-item:hover {
    background: var(--soft);
}

.dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, .1);
}

/* =========================================================
   CONTENT
========================================================= */
.content {
    margin-left: 250px;
    padding: 24px;
    transition: all .3s ease;
    min-height: 100vh;
}

.content.expanded {
    margin-left: 80px;
}

/* Page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-title {
    font-weight: 600;
    color: var(--text);
}

.page-subtitle {
    font-size: .9rem;
    color: var(--text-muted);
}

/* =========================================================
   CARD & STAT
========================================================= */
.stat-card {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
    transition: .2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.bg-primary-soft {
    background: rgba(99, 102, 241, .15);
    color: var(--primary);
}

.bg-success-soft {
    background: rgba(34, 197, 94, .15);
    color: var(--success);
}

.bg-warning-soft {
    background: rgba(245, 158, 11, .15);
    color: var(--warning);
}

.bg-danger-soft {
    background: rgba(239, 68, 68, .15);
    color: var(--danger);
}

.bg-info-soft {
    background: rgba(59, 130, 246, .15);
    color: var(--info);
}

.bg-secondary-soft {
    background: rgba(107, 114, 128, .15);
    color: var(--secondary);
}

.bg-dark-soft {
    background: rgba(17, 24, 39, .15);
    color: var(--dark);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
    .sidebar {
        left: -250px;
    }

    .sidebar.show {
        left: 0;
    }

    .content,
    .content.expanded {
        margin-left: 0;
    }
}

/* =========================================================
   BREADCRUMB
========================================================= */
.admin-breadcrumb {
    background: transparent;
    padding: 0;
    font-size: .9rem;
}

.admin-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.admin-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.admin-breadcrumb .breadcrumb-item.active {
    color: var(--text);
    font-weight: 500;
}

.admin-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #cbd5e1;
}

/* =========================================================
   CARD & TABLE
========================================================= */
.admin-card {
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 16px;
}

/* Table */
.admin-table thead {
    background: #f1f5f9;
}

.admin-table th {
    font-weight: 600;
    font-size: .9rem;
    color: #334155;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    font-size: .9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

/* Icon button */
.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-detail {
    background: rgba(59, 130, 246, .15);
    color: #3b82f6;
}

.btn-edit {
    background: rgba(245, 158, 11, .15);
    color: #f59e0b;
}

.btn-del {
    background: rgba(239, 68, 68, .15);
    color: #ef4444;
}

.btn-icon:hover {
    filter: brightness(.9);
}

/* =========================================================
   DATATABLE - BOOTSTRAP 5 SOFT (FULL)
========================================================= */

/* ===============================
   TABLE HEADER & SORT ICON
================================ */
/* ASC */
table.dataTable thead .dt-column-order:before {
    font-family: "bootstrap-icons" !important;
    content: '\F148' !important;
    color: var(--primary);
}

/* Desc */
table.dataTable thead .dt-column-order:after {
    font-family: "bootstrap-icons" !important;
    content: '\F128' !important;
    color: var(--primary);
}

/* ===============================
   TABLE BODY
================================ */
table.dataTable tbody td {
    font-size: .9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

table.dataTable tbody tr:hover {
    background: var(--bg);
}

/* ===============================
   SEARCH FILTER
================================ */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_filter label {
    font-size: .85rem;
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: .5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 6px 12px;
    font-size: .9rem;
    background: #ffffff;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15);
}

/* ===============================
   INFO TEXT
================================ */
.dataTables_wrapper .dataTables_info {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .75rem;
}

/* ===============================
   PAGINATION - SOFT & MODERN
================================ */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 1rem;
}

.dataTables_wrapper .pagination {
    gap: 4px;
}

/* Page link */
.dataTables_wrapper .pagination .page-item .page-link {
    border: none;
    border-radius: 12px;
    min-width: 36px;
    padding: 6px 12px;
    background: var(--soft);
    color: var(--text);
    font-size: .9rem;
    text-align: center;
    transition: all .2s ease;
}

/* Hover */
.dataTables_wrapper .pagination .page-link:hover {
    background: #e2e8f0;
    color: var(--text);
}

/* Active */
.dataTables_wrapper .pagination .page-item.active .page-link {
    background: var(--primary);
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 6px 14px rgba(99, 102, 241, .25);
}

/* Disabled */
.dataTables_wrapper .pagination .page-item.disabled .page-link {
    background: transparent;
    color: var(--text-muted);
    opacity: .5;
}

/* Prev / Next spacing */
.dataTables_wrapper .pagination .page-item:first-child .page-link,
.dataTables_wrapper .pagination .page-item:last-child .page-link {
    padding: 6px 14px;
}

/* ===============================
   LENGTH SELECT (JIKA AKTIF)
================================ */
.dataTables_wrapper .dataTables_length label {
    font-size: .85rem;
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 4px 10px;
    font-size: .85rem;
}

#dt-length-0 {
    min-width: 80px;
}

/* ===============================
   RESPONSIVE FIX
================================ */

.action-menu {
    position: fixed;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    z-index: 1055;
    /* di atas datatable */
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transform: translateY(-10px) scale(.95);
    opacity: 0;
    pointer-events: none;
    transition: all .15s ease;
}

.action-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.action-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 10px 14px;
    font-size: .9rem;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
}

.action-item:hover {
    background: #f1f5f9;
}

.action-item.text-danger:hover {
    background: #fee2e2;
}


@media (max-width: 768px) {

    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_length {
        text-align: left;
    }
}

/* =========================================================
   DATATABLE EXPORT BUTTON - SOFT
========================================================= */
.dt-buttons .btn {
    border-radius: 10px;
    padding: 6px 14px;
    font-size: .85rem;
    border: none;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Excel */
.btn-soft-success {
    background: rgba(34, 197, 94, .15);
    color: #166534;
}

.btn-soft-success:hover {
    background: rgba(34, 197, 94, .25);
}

/* PDF */
.btn-soft-danger {
    background: rgba(239, 68, 68, .15);
    color: #7f1d1d;
}

.btn-soft-danger:hover {
    background: rgba(239, 68, 68, .25);
}

/* Print */
.btn-soft-secondary {
    background: var(--soft);
    color: var(--text);
}

.btn-soft-secondary:hover {
    background: #e2e8f0;
}


/* =========================================================
   TOASTR - SOFT & MODERN
========================================================= */
#toast-container>.toast {
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    opacity: 1;
    font-family: 'Inter', system-ui, sans-serif;
}

/* SUCCESS */
.toast-success {
    background-color: rgba(34, 197, 94, .15) !important;
    color: #166534 !important;
}

/* ERROR */
.toast-error {
    background-color: rgba(239, 68, 68, .15) !important;
    color: #7f1d1d !important;
}

/* INFO */
.toast-info {
    background-color: rgba(99, 102, 241, .15) !important;
    color: #312e81 !important;
}

/* WARNING */
.toast-warning {
    background-color: rgba(245, 158, 11, .20) !important;
    color: #78350f !important;
}

/* REMOVE DEFAULT ICON */
#toast-container>.toast {
    background-image: none !important;
}

/* ICON POSITION */
#toast-container>.toast::before {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: bootstrap-icons !important;
    font-size: 1.2rem;
}

/* TYPE ICON */
.toast-success::before {
    content: "\f26a";
    color: #22c55e;
}

.toast-error::before {
    content: "\f623";
    color: #ef4444;
}

.toast-info::before {
    content: "\f4a1";
    color: var(--primary);
}

.toast-warning::before {
    content: "\f33a";
    color: #f59e0b;
}

/* PADDING */
#toast-container>.toast {
    padding-left: 46px;
}

/* Close button */
.toast-close-button {
    color: inherit !important;
    opacity: .4;
}

.toast-close-button:hover {
    opacity: .8;
}

/* =========================================================
   SWEETALERT2 - SOFT & MODERN THEME
========================================================= */
.swal2-popup {
    border-radius: 18px !important;
    padding: 1.5rem !important;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12) !important;
}

/* Title */
.swal2-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

/* Text */
.swal2-html-container {
    color: #64748b !important;
    font-size: .95rem !important;
}

/* Buttons */
.swal2-actions {
    gap: .5rem;
}

.swal2-confirm,
.swal2-cancel {
    border-radius: 12px !important;
    padding: 8px 18px !important;
    font-weight: 500 !important;
}

/* Confirm */
.swal2-confirm {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* Cancel */
.swal2-cancel {
    background: #f1f5f9 !important;
    color: #334155 !important;
}

/* Icon soft */
.swal2-icon {
    border-width: 3px !important;
}

.swal2-success {
    border-color: rgba(34, 197, 94, .4) !important;
}

.swal2-success [class^=swal2-success-line] {
    background-color: #22c55e !important;
}

.swal2-error {
    border-color: rgba(239, 68, 68, .4) !important;
}

.swal2-error .swal2-x-mark-line {
    background-color: #ef4444 !important;
}

.swal2-warning {
    border-color: rgba(245, 158, 11, .4) !important;
    color: #f59e0b !important;
}

.swal2-info {
    border-color: rgba(99, 102, 241, .4) !important;
    color: var(--primary) !important;
}

/* Footer */
.swal2-footer {
    font-size: .85rem;
    color: #94a3b8;
}

.swal-confirm-red {
    background-color: #ef4444 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px;
    padding: 8px 16px;
}

.swal-cancel-gray {
    background-color: #94a3b8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px;
    padding: 8px 16px;
}


/* =========================================================
   FORM INPUT - SOFT ADMIN
========================================================= */
.form-label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* .form-control,
.form-select {    
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 10px 12px;
    font-size: .9rem;
} */

.form-control,
.form-select {
    min-height: 42px;
    padding: 10px 12px;
    font-size: .9rem;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15);
}

/* Soft Select2 */
.select2-container--bootstrap-5 .select2-selection--single {
    height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: .9rem;
    display: flex;
    align-items: center;
}

/* Text */
.select2-container--bootstrap-5 .select2-selection__rendered {
    padding: 0;
    line-height: 1.2;
    color: var(--text);
}

/* Arrow */
.select2-container--bootstrap-5 .select2-selection__arrow {
    height: 42px;
    right: 10px;
}

/* Focus */
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15);
}

/* Soft Select2 Multiple */
.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: 42px;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: .9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Text area */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

/* Tag item */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .15);
    color: var(--primary);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: .8rem;
    display: flex;
    align-items: center;
}

/* Remove button */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--primary);
    margin-right: 4px;
    border: none;
}

/* Remove hover */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ef4444;
}

/* Input field */
.select2-container--bootstrap-5 .select2-search--inline .select2-search__field {
    height: 28px;
    margin-top: 2px;
}

/* Focus */
.select2-container--bootstrap-5.select2-container--focus .select2-selection--multiple {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15);
}

.note-editor.note-frame {
    border-radius: 12px;
    border-color: var(--border);
}

.note-editor .note-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

/* Soft Buttons */
.btn-soft-primary {
    background: rgba(99, 102, 241, .15);
    color: var(--primary);
    border: none;
}

.btn-soft-primary:hover {
    background: rgba(99, 102, 241, .25);
    color: var(--primary);
}

.btn-soft-primary:disabled,
.btn-soft-primary.disabled {
    background: rgba(99, 102, 241, .1);
    color: #a5b4fc;
    /* warna lebih pucat */
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-soft-secondary {
    background: var(--soft);
    color: var(--text);
    border: none;
}

.btn-soft-secondary:hover {
    background: #e2e8f0;
}

.btn-soft-secondary:disabled,
.btn-soft-secondary.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-soft-warning {
    background: rgba(245, 158, 11, .15);
    color: #b45309;
    border: none;
}

.btn-soft-warning:hover {
    background: rgba(245, 158, 11, .25);
}

.btn-soft-warning:disabled,
.btn-soft-warning.disabled {
    background: rgba(245, 158, 11, .1);
    color: #fcd34d;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-soft-danger {
    background: rgba(239, 68, 68, .15);
    /* red */
    color: #b91c1c;
    border: none;
}

.btn-soft-danger:hover {
    background: rgba(239, 68, 68, .25);
}

.btn-soft-danger:disabled,
.btn-soft-danger.disabled {
    background: rgba(239, 68, 68, .1);
    color: #fca5a5;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-soft-info {
    background: rgba(14, 165, 233, .15);
    /* sky */
    color: #0369a1;
    border: none;
}

.btn-soft-info:hover {
    background: rgba(14, 165, 233, .25);
}

.btn-soft-info:disabled,
.btn-soft-info.disabled {
    background: rgba(14, 165, 233, .1);
    color: #7dd3fc;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Password toggle button */
.password-toggle .btn {
    border-radius: 0 12px 12px 0;
    padding: 0 14px;
}

.password-toggle .form-control {
    border-right: none;
}

.password-toggle .form-control:focus {
    box-shadow: none;
}

.password-toggle .btn:focus {
    box-shadow: none;
}

/* =========================================================
   AUTH LOGIN PAGE
========================================================= */
/* .bg-soft-auth {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    min-height: 100vh;
} */

.bg-soft-auth {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.3), rgba(238, 242, 255, 0.3)),
        url('/img/bg.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .08);
}

/* Logo */
.auth-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99, 102, 241, .15);
    color: #4338ca;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Input */
.auth-card .form-control {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: .9rem;
}

/* Password toggle */
.password-toggle .btn {
    border-radius: 0 12px 12px 0;
}

.password-toggle .form-control {
    border-right: none;
}

/* Checkbox */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.invalid-feedback {
    font-size: .85rem;
}

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* =========================================================
   WIZARD - SOFT STYLE
========================================================= */

.wizard-soft .nav-link {
    background: rgba(99, 102, 241, .15);
    color: var(--primary);
    border: none;
    margin-right: .5rem;
    border-radius: .5rem;
    padding: .5rem 1rem;
    transition: all .2s ease-in-out;
}

.wizard-soft .nav-link.active {
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
}

.wizard-soft .nav-link:hover {
    background: rgba(99, 102, 241, .25);
    color: var(--primary);
}

/* =========================================================
   PAGINATION - SOFT STYLE
========================================================= */

.pagination .page-link {
    border: none;
    background-color: var(--soft);
    color: var(--text-muted);
    margin: 0 .25rem;
    border-radius: .5rem;
    transition: all .2s ease-in-out;
}

.pagination .page-link:hover {
    background-color: var(--primary);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
}