/*=====================================================
HEADER
======================================================*/

.dashboard-header{

    background:linear-gradient(135deg,#2448A6,#3C67DD);

    border-radius:20px;

    padding:24px 28px;

    color:#fff;

    margin-bottom:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.18);

}

/*=============================================
TOP
=============================================*/

.header-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:22px;

}

.header-title{

    display:flex;

    align-items:flex-start;

    gap:14px;

}

.header-title i{

    font-size:34px;

    margin-top:6px;

}

.header-title h2{

    margin:0;

    font-size:28px;

    font-weight:700;

    line-height:1.2;

}

.header-title p{

    margin-top:4px;

    margin-bottom:0;

    font-size:15px;

    color:rgba(255,255,255,.85);

}

.header-right{

    text-align:right;

}

.header-right small{

    display:block;

    color:rgba(255,255,255,.75);

    font-size:12px;

}

.header-right strong{

    display:block;

    margin-top:4px;

    font-size:15px;

    font-weight:700;

}

/*=============================================
ACTION
=============================================*/

.header-action{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:12px;

    margin-top:20px;

}

.btn-header{

    min-width:130px;

    height:42px;

    border-radius:10px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:8px;

}

.btn-header:hover{

    transform:translateY(-2px);

}

.btn-refresh{

    background:#64748B;
    color:#fff;

}

.btn-refresh:hover{

    background:#475569;

}

.btn-export{

    background:#22C55E;
    color:#fff;

}

.btn-export:hover{

    background:#16A34A;

}

.btn-ai{

    background:linear-gradient(135deg,#7C3AED,#5B5EF7);
    color:#fff;

}

.btn-ai:hover{

    background:linear-gradient(135deg,#6D28D9,#4F46E5);

}

/*=============================================
FILTER
=============================================*/

.header-filter{

    display:grid;

    grid-template-columns:repeat(2,minmax(320px,1fr));

    gap:18px 26px;

}

.filter-group label{

    display:block;

    margin-bottom:8px;

    font-size:13px;

    font-weight:600;

    color:#fff;

}

.filter-range{

    display:grid;

    grid-template-columns:1fr 24px 1fr;

    gap:8px;

    align-items:center;

}

.filter-range span{

    text-align:center;

    font-weight:700;

}

.dashboard-input{

    height:44px;

    background:rgba(255,255,255,.15);

    border:none;

    border-radius:12px;

    color:#fff;

    padding:0 14px;

    font-size:14px;

}

.dashboard-input::placeholder{

    color:rgba(255,255,255,.75);

}

.dashboard-input:focus{

    outline:none;

    background:rgba(255,255,255,.20);

}

/*=============================================
SELECT
=============================================*/

.dashboard-select{

    width:100%;

    height:44px;

    background:rgba(255,255,255,.15);

    border:none;

    border-radius:12px;

    color:#fff;

    padding:0 14px;

    font-size:14px;

}

.dashboard-select:focus{

    outline:none;

}

/*=============================================
SELECT2
=============================================*/

.select2-container{

    width:100%!important;

}

.select2-container--default .select2-selection--single{

    height:44px;

    border:none;

    border-radius:12px;

    background:rgba(255,255,255,.15);

}

.select2-selection__rendered{

    color:#fff!important;

    line-height:44px!important;

    padding-left:14px!important;

}

.select2-selection__arrow{

    height:44px!important;

}

.select2-dropdown{

    background:#23365E;

    border:none;

}

.select2-results__option{

    color:#fff;

    font-size:14px;

}

.select2-results__option--highlighted{

    background:#3C67DD!important;

}

/*=============================================
RESPONSIVE
=============================================*/

@media(max-width:1200px){

    .header-filter{

        grid-template-columns:1fr;

    }

}

@media(max-width:992px){

    .header-top{

        flex-direction:column;

        gap:16px;

    }

    .header-action{

        justify-content:flex-start;

        flex-wrap:wrap;

    }

}

@media(max-width:768px){

    .dashboard-header{

        padding:20px;

    }

    .header-title h2{

        font-size:24px;

    }

    .header-filter{

        grid-template-columns:1fr;

    }

    .filter-range{

        grid-template-columns:1fr;

    }

}