/* =========================================
   MODERN LIGHT DASHBOARD
   ADMINLTE 4 + BOOTSTRAP 5
========================================= */
:root{

    /* =================================
       BRAND
    ================================= */

    --primary: #007BFF;
    --primary-rgb: 0,123,255;

    --primary-100: rgba(0,123,255,.08);
    --primary-200: rgba(0,123,255,.15);
    --primary-300: rgba(0,123,255,.25);
    --primary-400: rgba(0,123,255,.45);
    --primary-500: rgba(0,123,255,1);

    --accent: #FF8C1A;
    --accent-rgb: 255,140,26;

    --accent-100: rgba(255,140,26,.08);
    --accent-200: rgba(255,140,26,.15);
    --accent-300: rgba(255,140,26,.25);
    --accent-400: rgba(255,140,26,.45);
    --accent-500: rgba(255,140,26,1);

    /* =================================
       SEMANTIC
    ================================= */

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;

    --success-soft: rgba(34,197,94,.12);
    --warning-soft: rgba(245,158,11,.12);
    --danger-soft: rgba(239,68,68,.12);
    --info-soft: rgba(14,165,233,.12);

    /* =================================
       NEUTRAL
    ================================= */

    --bg: #f4f8ff;
    --surface: #ffffff;
    --surface-2: #f8fbff;

    --dark: #1e293b;
    --text: #0f172a;
    --muted: #64748b;

    --border: #dbe7f5;
    --hover: #eef4ff;

    --white: #ffffff;

    --radius: 18px;

    /* =================================
       SHADOW
    ================================= */

    --shadow-sm: 0 2px 10px rgba(0,123,255,.08);
    --shadow-md: 0 8px 24px rgba(0,123,255,.12);
    --shadow-lg: 0 14px 40px rgba(0,123,255,.18);

    /* =================================
       BOOTSTRAP OVERRIDE
    ================================= */

    --bs-primary: var(--primary);
    --bs-primary-rgb: var(--primary-rgb);

    --bs-success: var(--success);
    --bs-warning: var(--warning);
    --bs-danger: var(--danger);
    --bs-info: var(--info);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);

    --bs-border-color: var(--border);
}

/* =========================================
   BODY
========================================= */

body{

    font-family:'Plus Jakarta Sans',sans-serif;

    background:var(--bg);

    color:var(--text);

    font-size:15px;

    line-height:1.6;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;
}

/* =========================================
   LAYOUT
========================================= */

.wrapper,
.content-wrapper,
.app-main{

    background:var(--bg);
}

/* =========================================
   NAVBAR
========================================= */

.main-header,
.app-header{

    background:rgba(255,255,255,.85) !important;

    backdrop-filter:blur(16px);

    border-bottom:1px solid var(--border);

    box-shadow:none !important;
}

.navbar-nav .nav-link{

    color:var(--muted) !important;

    font-size:14px;

    font-weight:500;

    border-radius:12px;

    transition:.2s ease;
}

.navbar-nav .nav-link:hover{

    background:var(--hover);

    color:var(--text) !important;
}

/* =========================================
   SIDEBAR
========================================= */

.main-sidebar,
.app-sidebar{

    background:var(--surface) !important;

    border-right:1px solid var(--border);

    box-shadow:none !important;
}

/* brand */

.brand-link{

    color:var(--text) !important;

    font-size:18px;

    font-weight:700;
}
.brand-link {
    height: 70px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-image-custom {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* =========================================
   SIDEBAR MENU
========================================= */

.nav-sidebar .nav-link,
.sidebar-menu .nav-link{

    color:var(--muted) !important;

    border-radius:14px;

    font-size:16px;

    font-weight:500;

    transition:.2s ease;
}

.nav-sidebar .nav-link i,
.sidebar-menu .nav-link i{

    color:#9ca3af !important;

    transition:.2s ease;
}

.nav-sidebar .nav-link:hover,
.sidebar-menu .nav-link:hover{

    background:var(--hover);

    color:var(--text) !important;
}

.nav-sidebar .nav-link:hover i,
.sidebar-menu .nav-link:hover i{

    color:var(--primary) !important;
}

/* active */

.nav-sidebar .nav-link.active,
.sidebar-menu .nav-link.active{

    background:var(--primary) !important;

    color:#ffffff !important;

    font-weight:600;

    box-shadow:
        0 8px 20px rgba(var(--primary-rgb), .22);
}

.nav-sidebar .nav-link.active i,
.sidebar-menu .nav-link.active i{

    color:#ffffff !important;
}

/* submenu */

.nav-treeview .nav-link{

    font-size:16px !important;
}
.nav-treeview .nav-link.active{
    background:var(--warning) !important;
}
/* =========================================
   CONTENT HEADER
========================================= */

.content-header h1,
.app-content-header h3{

    color:var(--text);

    font-size:30px;

    font-weight:700;

    letter-spacing:-.5px;
}

/* =========================================
   CARD
========================================= */

.card,
.dashboard-card,
.small-box{

    background:var(--surface);

    border:1px solid var(--border) !important;

    border-radius:22px;

    box-shadow:
        0 1px 2px rgba(0,0,0,.03),
        0 10px 30px rgba(0,0,0,.04);

    transition:.25s ease;
}

.dashboard-card:hover{

    transform:translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.06);
}

.card-header{

    background:transparent !important;

    border-bottom:1px solid #f1f5f9;

    padding:1.2rem 1.4rem;
}

.card-title{

    color:var(--text);

    font-size:18px;

    font-weight:700;
}

.card-body{

    color:var(--text);

    padding:1.5rem;
}

/* =========================================
   BUTTON
========================================= */

.btn{

    border-radius:14px;

    font-weight:600;

    font-size:14px;

    padding:.75rem 1.1rem;

    transition:.2s ease;

    box-shadow:none !important;
}

/* primary */

.btn-primary{

    background:var(--primary);

    border-color:var(--primary);

    color:#fff;
}

.btn-primary:hover{

    background:#1497d3;

    border-color:#1497d3;

    transform:translateY(-1px);
}

/* success */

.btn-success{

    background:var(--success);

    border-color:var(--success);
}

/* warning */

.btn-warning{

    background:var(--warning);

    border-color:var(--warning);

    color:#fff;
}

/* danger */

.btn-danger{

    background:var(--danger);

    border-color:var(--danger);
}

/* light */

.btn-light{

    background:#fff;

    border:1px solid var(--border);

    color:var(--text);
}

.btn-light:hover{

    background:var(--surface-2);
}

/* =========================================
   FORM
========================================= */

.form-control,
.form-select{

    background:#fff;

    border:1px solid #d1d5db;

    color:var(--text);

    border-radius:14px;

    min-height:48px;

    font-size:14px;

    padding:.75rem 1rem;

    box-shadow:none !important;

    transition:.2s ease;
}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary);

    box-shadow:
        0 0 0 4px rgba(var(--primary-rgb), .12) !important;
}

.form-control::placeholder{

    color:#9ca3af;
}

/* =========================================
   TABLE
========================================= */

.table{

    color:var(--text);

    margin:0;
}

.table th{

    border-bottom:1px solid var(--border);

    color:var(--muted);

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

    padding:1rem;
}

.table td{

    border-color:#f1f5f9;

    padding:1rem;

    vertical-align:middle;
}

/* =========================================
   BADGE
========================================= */

.badge{

    border-radius:999px;

    padding:.5rem .8rem;

    font-size:12px;

    font-weight:600;
}

/* =========================================
   DROPDOWN
========================================= */

.dropdown-menu{

    background:#fff;

    border:1px solid var(--border);

    border-radius:18px;

    padding:.5rem;

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);
}

.dropdown-item{

    color:var(--text);

    border-radius:12px;

    padding:.75rem .9rem;

    font-size:14px;

    font-weight:500;
}

.dropdown-item:hover{

    background:var(--hover);

    color:var(--text);
}

/* =========================================
   FOOTER
========================================= */

.main-footer,
.app-footer{

    background:#fff;

    border-top:1px solid var(--border);

    color:var(--muted);

    font-size:14px;
}

/* =========================================
   STATS CARD
========================================= */

.stats-card .icon-box{

    width:56px;

    height:56px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    flex-shrink:0;
}

.icon-box.primary{

    background:var(--primary-100);

    color:var(--primary);
}

.icon-box.success{

    background:var(--success-soft);

    color:var(--success);
}

.icon-box.warning{

    background:var(--warning-soft);

    color:var(--warning);
}

.icon-box.danger{

    background:var(--danger-soft);

    color:var(--danger);
}

.stats-number{

    font-size:1.7rem;

    font-weight:700;

    line-height:1.2;
}

.stats-card small{

    font-size:13px;

    color:var(--muted);
}

/* =========================================
   SECTION
========================================= */

.section-title{

    font-size:12px;

    font-weight:700;

    color:var(--muted);

    letter-spacing:.5px;

    text-transform:uppercase;
}

/* =========================================
   CHART
========================================= */

.chart-card canvas{

    max-height:300px;
}

/* =========================================
   SUMMARY BOX
========================================= */

.summary-box{

    border-radius:16px;

    background:var(--surface-2);

    padding:14px;
}

.summary-box small{

    font-size:12px;

    color:var(--muted);
}

.summary-box .value{

    font-size:18px;

    font-weight:700;

    color:var(--primary);
}

/* =========================================
   WELCOME CARD
========================================= */

.welcome-card{

    background:
        linear-gradient(
            135deg,
            #1ea8e7 0%,
            #4cc3ff 100%
        );

    color:#fff;

    overflow:hidden;
}

.welcome-card .btn{

    border-radius:12px;

    padding:10px 18px;

    font-weight:600;
}

/* =========================================
   LINKS
========================================= */

a{

    color:var(--primary);

    text-decoration:none;
}

a:hover{

    color:#1497d3;
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar{

    width:6px;

    height:6px;
}

::-webkit-scrollbar-thumb{

    background:#d1d5db;

    border-radius:999px;
}

::-webkit-scrollbar-track{

    background:#f5f5f5;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:768px){

    .stats-number{

        font-size:1.3rem;
    }

    .dashboard-card,
    .card,
    .small-box{

        border-radius:16px;
    }

    .chart-card canvas{

        max-height:240px;
    }

    .summary-box .value{

        font-size:16px;
    }

    .content-header h1{

        font-size:24px;
    }
}
.select2-container--bootstrap-5 .select2-selection {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    color: var(--text) !important;
    border-radius: 14px !important;
    min-height: 48px !important;
    font-size: 14px !important;
    padding: .375rem .75rem !important;
    box-shadow: none !important;
    transition: .2s ease !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    color: var(--text) !important;
    line-height: normal !important;
    padding-left: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #9ca3af !important;
}

.select2-container--bootstrap-5 .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.25) !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #d1d5db !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
    padding: 8px !important;
}

.select2-container--bootstrap-5 .select2-search {
    padding: 0 !important;
    margin-bottom: 8px;
}

/*.select2-container--bootstrap-5 .select2-search__field {
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    min-height: 42px !important;
    padding: .5rem .75rem !important;
    outline: none !important;
    box-shadow: none !important;
}*/

.select2-container--bootstrap-5 .select2-results__options {
    scrollbar-width: thin;
}

.select2-container--bootstrap-5 .select2-results__option {
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 14px;
    transition: .15s ease;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.select2-container--bootstrap-5 .select2-results__option[aria-selected=true] {
    background: #e5e7eb !important;
    color: #111827 !important;
}

.select2-container--bootstrap-5 .select2-results__group {
    padding: 10px 12px 6px !important;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    gap: 6px;
}

.nav-tabs .nav-link {
    border: 0;
    border-radius: .7rem .7rem 0 0;
    padding: .75rem 1.25rem;
    color: #6c757d;
    font-weight: 500;
    transition: all .2s ease;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd;
    background: rgba(13,110,253,.05);
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background: #fff;
    border-bottom: 2px solid #0d6efd;
}
/* =========================================
   MODAL
========================================= */

.modal-content{
    border:none;
    border-radius:22px;
    overflow:hidden;
    background:var(--surface);
    box-shadow:
        0 20px 50px rgba(0,0,0,.12);
}

.modal-header{
    border-bottom:1px solid var(--border);
    padding:1.25rem 1.5rem;
    background:transparent;
}

.modal-footer{
    border-top:1px solid var(--border);
    padding:1rem 1.5rem;
    background:transparent;
}

.modal-title{
    font-weight:700;
    color:var(--text);
}

/* =========================================
   ALERT
========================================= */

.alert{
    border:none;
    border-radius:16px;
    padding:1rem 1.2rem;
    font-size:14px;
    font-weight:500;
}

.alert-success{
    background:var(--success-soft);
    color:var(--success);
}

.alert-warning{
    background:var(--warning-soft);
    color:#b45309;
}

.alert-danger{
    background:var(--danger-soft);
    color:var(--danger);
}

.alert-info{
    background:var(--info-soft);
    color:var(--info);
}
.custom-alert {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px 18px;
    margin-bottom: 1rem;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface);

    box-shadow:
        0 4px 14px rgba(15, 23, 42, .04),
        0 1px 2px rgba(15, 23, 42, .04);

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.custom-alert:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .06),
        0 2px 6px rgba(15, 23, 42, .05);
}

.custom-alert::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 4px;

    background: currentColor;
}

.custom-alert-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 1rem;
}

.custom-alert-content {
    flex: 1;
    min-width: 0;
}

.custom-alert-title {
    font-size: .92rem;
    font-weight: 700;

    margin-bottom: 4px;

    color: var(--text);
}

.custom-alert-message {
    font-size: .875rem;
    line-height: 1.55;

    color: var(--muted);
}

.custom-alert .btn-close {
    margin-top: 2px;

    opacity: .45;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.custom-alert .btn-close:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* =========================
   SUCCESS
========================= */

.alert-success-custom {
    color: var(--success);

    background:
        linear-gradient(
            180deg,
            rgba(34,197,94,.05) 0%,
            rgba(34,197,94,.02) 100%
        );

    border-color: rgba(34,197,94,.18);
}

.alert-success-custom .custom-alert-icon {
    background: var(--success-soft);
}

/* =========================
   WARNING
========================= */

.alert-warning-custom {
    color: var(--warning);

    background:
        linear-gradient(
            180deg,
            rgba(245,158,11,.05) 0%,
            rgba(245,158,11,.02) 100%
        );

    border-color: rgba(245,158,11,.18);
}

.alert-warning-custom .custom-alert-icon {
    background: var(--warning-soft);
}

/* =========================
   DANGER
========================= */

.alert-danger-custom {
    color: var(--danger);

    background:
        linear-gradient(
            180deg,
            rgba(239,68,68,.05) 0%,
            rgba(239,68,68,.02) 100%
        );

    border-color: rgba(239,68,68,.18);
}

.alert-danger-custom .custom-alert-icon {
    background: var(--danger-soft);
}

/* =========================
   INFO
========================= */

.alert-info-custom {
    color: var(--info);

    background:
        linear-gradient(
            180deg,
            rgba(14,165,233,.05) 0%,
            rgba(14,165,233,.02) 100%
        );

    border-color: rgba(14,165,233,.18);
}

.alert-info-custom .custom-alert-icon {
    background: var(--info-soft);
}
/* =========================================
   PAGINATION
========================================= */

.pagination{
    gap:4px;
}

.page-link{
    border:none;
    color:var(--muted);
    border-radius:12px !important;
    min-width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:500;
    transition:.2s ease;
}

.page-link:hover{
    background:var(--hover);
    color:var(--text);
}

.page-item.active .page-link{
    background:var(--primary);
    color:#fff;
    box-shadow:
        0 8px 18px rgba(var(--primary-rgb), .25);
}

/* =========================================
   ACCORDION
========================================= */
.accordion-item{
    border:1px solid var(--border);
    border-radius:16px !important;
    overflow:hidden;
    margin-bottom:10px;
}

.accordion-button{
    background:#fff;
    color:var(--text);
    font-weight:600;
    box-shadow:none !important;
    padding:12px 12px !important;
}

.accordion-button:not(.collapsed){
    background:var(--primary-100);
    color:var(--primary);
}

.accordion-button:focus{
    box-shadow:none !important;
}
.accordion-body{
    padding:12px 12px !important;
}

/* =========================================
   TOAST
========================================= */

.toast{
    border:none;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.toast-header{
    border-bottom:1px solid var(--border);
    background:#fff;
}

/* =========================================
   OFFCANVAS
========================================= */

.offcanvas{
    border:none;
    background:var(--surface);
}

.offcanvas-header{
    border-bottom:1px solid var(--border);
}

/* =========================================
   PROGRESS
========================================= */

.progress{
    height:10px;
    border-radius:999px;
    background:#e5e7eb;
    overflow:hidden;
}

.progress-bar{
    border-radius:999px;
    background:var(--primary);
}

/* =========================================
   LIST GROUP
========================================= */

.list-group{
    border-radius:18px;
    overflow:hidden;
}

.list-group-item{
    border-color:var(--border);
    padding:1rem 1.2rem;
    color:var(--text);
}

.list-group-item.active{
    background:var(--primary);
    border-color:var(--primary);
}

/* =========================================
   INPUT GROUP
========================================= */

.input-group-text{
    border-radius:14px;
    border:1px solid #d1d5db;
    background:#fff;
    color:var(--muted);
    padding:.75rem 1rem;
}

/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb{
    margin:0;
}

.breadcrumb-item{
    font-size:13px;
}

.breadcrumb-item a{
    color:var(--muted);
}

.breadcrumb-item.active{
    color:var(--text);
}

/* =========================================
   SPINNER
========================================= */

.spinner-border,
.spinner-grow{
    color:var(--primary);
}

/* =========================================
   TOOLTIP
========================================= */

.tooltip-inner{
    border-radius:10px;
    padding:.55rem .8rem;
    font-size:12px;
    background:var(--dark);
}

/* =========================================
   POPOVER
========================================= */

.popover{
    border:none;
    border-radius:16px;
    overflow:hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.popover-header{
    background:#fff;
    border-bottom:1px solid var(--border);
    font-weight:600;
}

.popover-body{
    color:var(--muted);
}

/* =========================================
   NAV PILLS
========================================= */

.nav-pills{
    gap:8px;
}

.nav-pills .nav-link{
    border-radius:14px;
    color:var(--muted);
    font-weight:500;
    padding:.7rem 1rem;
}

.nav-pills .nav-link.active{
    background:var(--primary);
    box-shadow:
        0 8px 18px rgba(var(--primary-rgb), .2);
}

/* =========================================
   FORM SWITCH
========================================= */

.form-switch .form-check-input{
    width:46px;
    height:24px;
    border:none;
    background-color:#d1d5db;
    cursor:pointer;
    box-shadow:none !important;
}

.form-switch .form-check-input:checked{
    background-color:var(--primary);
}

/* =========================================
   CHECKBOX & RADIO
========================================= */

.form-check-input{
    border:1px solid #cbd5e1;
    box-shadow:none !important;
}

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

/* =========================================
   VALIDATION
========================================= */

.is-valid{
    border-color:var(--success) !important;
}

.is-invalid{
    border-color:var(--danger) !important;
}

.valid-feedback{
    color:var(--success);
}

.invalid-feedback{
    color:var(--danger);
}

/* =========================================
   FILE INPUT
========================================= */

.form-control[type=file]{
    padding:.65rem 1rem;
}

/* =========================================
   RANGE SLIDER
========================================= */

.form-range::-webkit-slider-thumb{
    background:var(--primary);
}

.form-range::-moz-range-thumb{
    background:var(--primary);
}

/* =========================================
   FLOATING LABEL
========================================= */

.form-floating>.form-control,
.form-floating>.form-select{
    padding-top:1.5rem;
}

/* =========================================
   PLACEHOLDER
========================================= */

.placeholder{
    border-radius:10px;
}

/* =========================================
   DATATABLES
========================================= */

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input{
    border:1px solid #d1d5db;
    border-radius:12px;
    min-height:42px;
    padding:.45rem .85rem;
    box-shadow:none !important;
}

.dataTables_wrapper .dataTables_filter input:focus{
    border-color:var(--primary);
    box-shadow:
        0 0 0 4px rgba(var(--primary-rgb), .12) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    border:none !important;
    border-radius:12px !important;
    margin:0 2px;
    color:var(--muted) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current{
    background:var(--primary) !important;
    color:#fff !important;
}

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

/* =========================================
   SMALL BOX
========================================= */

.small-box{
    overflow:hidden;
    position:relative;
}

.small-box .icon{
    opacity:.08;
    top:18px;
    right:15px;
    font-size:64px;
}

.small-box-footer{
    background:rgba(255,255,255,.08);
    color:inherit !important;
    border-top:1px solid rgba(255,255,255,.08);
}

/* =========================================
   INFO BOX
========================================= */

.info-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:1rem;
    box-shadow:
        0 1px 2px rgba(0,0,0,.03),
        0 10px 30px rgba(0,0,0,.04);
}

.info-box-icon{
    border-radius:16px;
}

/* =========================================
   CALLOUT
========================================= */

.callout{
    border:none;
    border-left:4px solid var(--primary);
    border-radius:16px;
    background:#fff;
    padding:1rem 1.2rem;
}

.callout-info{
    border-color:var(--info);
}

.callout-success{
    border-color:var(--success);
}

.callout-warning{
    border-color:var(--warning);
}

.callout-danger{
    border-color:var(--danger);
}

/* =========================================
   TIMELINE
========================================= */

.timeline-item{
    border:none;
    border-radius:18px;
    box-shadow:
        0 1px 2px rgba(0,0,0,.03),
        0 10px 30px rgba(0,0,0,.04);
}

/* =========================================
   USER PANEL
========================================= */

.user-panel{
    padding:1rem;
}

.user-panel img{
    border:2px solid rgba(255,255,255,.08);
}

/* =========================================
   CONTROL SIDEBAR
========================================= */

.control-sidebar{
    background:#fff;
    border-left:1px solid var(--border);
}

/* =========================================
   SELECT2 MULTIPLE
========================================= */

.select2-container--bootstrap-5 .select2-selection--multiple{
    border-radius:14px !important;
    border:1px solid #d1d5db !important;
    min-height:48px !important;
    padding:4px !important;
}

.select2-container--bootstrap-5 .select2-selection__choice{
    background:var(--primary-100) !important;
    color:var(--primary) !important;
    border:none !important;
    border-radius:10px !important;
    padding:4px 10px !important;
    font-size:13px;
}

/* =========================================
   SWEETALERT2
========================================= */

.swal2-popup{
    border-radius:24px !important;
    padding:2rem !important;
}

.swal2-confirm{
    background:var(--primary) !important;
    border-radius:12px !important;
    box-shadow:none !important;
}

.swal2-cancel{
    border-radius:12px !important;
}

/* =========================================
   FLATPICKR
========================================= */

.flatpickr-calendar{
    border:none;
    border-radius:18px;
    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.flatpickr-day.selected{
    background:var(--primary);
    border-color:var(--primary);
}

/* =========================================
   EMPTY STATE
========================================= */

.empty-state{
    padding:3rem 2rem;
    text-align:center;
}

.empty-state-icon{
    width:80px;
    height:80px;
    border-radius:24px;
    background:var(--primary-100);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    font-size:32px;
}

.empty-state-title{
    font-size:20px;
    font-weight:700;
    margin-top:1rem;
}

.empty-state-text{
    color:var(--muted);
    font-size:14px;
}

/* =========================================
   GLASS EFFECT
========================================= */

.glass{
    background:rgba(255,255,255,.7);
    backdrop-filter:blur(16px);
}

/* =========================================
   SHADOW UTILITY
========================================= */

.shadow-soft{
    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

.shadow-hover{
    transition:.2s ease;
}

.shadow-hover:hover{
    transform:translateY(-2px);
    box-shadow:
        0 12px 30px rgba(0,0,0,.08);
}

/* =========================================
   HOVER LIFT
========================================= */

.hover-lift{
    transition:.2s ease;
}

.hover-lift:hover{
    transform:translateY(-3px);
}

/* =========================================
   GRADIENT
========================================= */

.bg-gradient-primary{
    background:
        linear-gradient(
            135deg,
            #1ea8e7 0%,
            #4cc3ff 100%
        ) !important;

    color:#fff;
}
.mobile-tabs {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap !important;
}

.mobile-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-tabs .nav-link {
    font-size: 14px;
    padding: 10px 16px;
}
/* =========================================
   JQUERY VALIDATION
========================================= */

label.error{
    display:block;

    margin-top:.45rem;

    font-size:13px;

    font-weight:500;

    color:var(--danger);

    animation:fadeValidation .2s ease;
}

.select2-container--bootstrap-5 .select2-selection.error{

    border-color:var(--danger) !important;

    box-shadow:
        0 0 0 4px rgba(239,68,68,.10) !important;
}

/* smooth animation */

@keyframes fadeValidation{

    from{
        opacity:0;
        transform:translateY(-3px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
.btn-icon{
    width:48px;
    height:48px;

    padding:0;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    border-radius:14px;
}
.select2-container--bootstrap-5 .select2-selection--single {
    position: relative;
}

.select2-container--bootstrap-5 .select2-selection__clear {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
form .modal-body{
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}
.form-label.required::after {
    content: " *";
    color: var(--bs-danger);
    font-weight: 700;
}

.form-label.optional::after {
    content: " (Opsional)";
    color: var(--bs-secondary-color);
    font-weight: 400;
    font-size: 0.875em;
}
#toast-container > .toast {
    opacity: 1 !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.toast-success {
    background-color: #198754 !important;
}

.toast-error {
    background-color: #dc3545 !important;
}

.toast-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.toast-info {
    background-color: #0dcaf0 !important;
}
#pageLoader{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999999;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

#pageLoader.hide{
    opacity: 0;
    visibility: hidden;
}

.loader-logo{
    width: 130px;
    height: 130px;
    object-fit: contain;

    animation: logoFlip 2s ease-in-out infinite;

    filter:
        drop-shadow(0 10px 25px rgba(0,123,255,.18));

    transform-style: preserve-3d;
    backface-visibility: hidden;
}

@keyframes logoFlip{

    0%{
        transform:
            perspective(800px)
            rotateY(0deg)
            scale(1);
    }

    25%{
        transform:
            perspective(800px)
            rotateY(180deg)
            scale(1.05);
    }

    50%{
        transform:
            perspective(800px)
            rotateY(360deg)
            scale(1);
    }

    75%{
        transform:
            perspective(800px)
            rotateX(180deg)
            scale(1.05);
    }

    100%{
        transform:
            perspective(800px)
            rotateX(360deg)
            scale(1);
    }
}

body.loading{
    overflow: hidden;
}
#map {
    min-height: 500px;
}

/* FIX LEAFLET */
.leaflet-container {
    background: #fff !important;
}

.leaflet-pane,
.leaflet-control,
.leaflet-top,
.leaflet-bottom {
    z-index: 1 !important;
}

.leaflet-tile {
    visibility: inherit !important;
    max-width: none !important;
}

img.leaflet-tile {
    width: 256px !important;
    height: 256px !important;
}

/* MOBILE */
@media (max-width: 768px) {

    #map {
        min-height: 320px;
    }

    .leaflet-control-zoom a {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 18px;
    }

    #search-location {
        font-size: 14px;
    }

    #btn-search-location {
        padding-left: 14px;
        padding-right: 14px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .card-body {
        padding: 1rem;
    }

}

/* SMALL DEVICE */
@media (max-width: 480px) {

    #map {
        min-height: 260px;
        border-radius: 10px;
    }

    .leaflet-control-zoom {
        margin-top: 10px !important;
        margin-left: 10px !important;
    }

    .leaflet-control-zoom a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

}
