/* =========================================================
   UNIQ PREMIUM CARD
   ========================================================= */

.uniq-premium-card {
    width: 100%;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e9eef4;
    border-radius: 12px;
    box-shadow:
        0 2px 5px rgba(15, 23, 42, .02),
        0 8px 22px rgba(15, 23, 42, .035);
    overflow: hidden;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.uniq-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 14px;
    padding-bottom: 5px;
    background: #ffffff;
    border-bottom: 1px solid #edf1f5;
}

.uniq-card-header-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.uniq-card-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin-right: 10px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    font-size: 15px;
}

.uniq-card-header-title {
    min-width: 0;
}

.uniq-card-title {
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: .1px;
}

.uniq-card-subtitle {
    margin-top: 1px;
    color: #94a3b8;
    font-size: 9.5px;
    line-height: 14px;
}

.uniq-card-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-shrink: 0;
}


/* =========================================================
   CARD BODY
   ========================================================= */

.uniq-card-body {
    padding: 14px;
    background: #ffffff;
}

/* =========================================================
   CARD FOOTER
   ========================================================= */

.uniq-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;

    background: #ffffff;
    border-top: 1px solid #edf1f5;
}

.uniq-card-footer-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.uniq-card-footer-info {
    min-width: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 14px;
}

.uniq-card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;
    flex-shrink: 0;
}

/* =========================================================
   FILTER
   ========================================================= */

.uniq-filter-collapse {
    margin-bottom: 5px;
}

.uniq-filter-wrapper {
    background: #f8fafc;
    border: 1px solid #dde2e6;
    border-radius: 9px;
    overflow: hidden;
}

.uniq-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    background: #fbfcfe;
    border-bottom: 1px solid #e9eef4;
}

.uniq-filter-title {
    display: flex;
    align-items: center;
    color: #9ba2ac;
    font-size: 10.5px;
    font-weight: 600;
}

.uniq-filter-title i {
    margin-right: 6px;
    color: #9ba2ac;
    font-size: 9px;
}

.uniq-filter-subtitle {
    color: #94a3b8;
    font-size: 10px;
}

.uniq-filter-body {
    padding: 12px;
}




/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .uniq-premium-card {
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .uniq-card-header {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
        padding: 10px;
        gap: 10px;
    }

    .uniq-card-header-left {
        width: 100%;
    }

    .uniq-card-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .uniq-card-body {
        padding: 10px;
    }

    .uniq-filter-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .uniq-filter-body {
        padding: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .uniq-card-header {
        padding: 9px;
    }

    .uniq-card-header-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        margin-right: 8px;
        border-radius: 9px;
        font-size: 14px;
    }

    .uniq-card-title {
        font-size: 12px;
    }

    .uniq-card-subtitle {
        font-size: 9px;
    }

    .uniq-card-body {
        padding: 9px;
    }

    .uniq-filter-body {
        padding: 9px;
    }
}


/* =========================================================
   FILTER FOOTER
   ========================================================= */

.uniq-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: #fbfcfe;
    border-top: 1px solid #e9eef4;
}

.uniq-filter-footer-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.uniq-filter-footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.uniq-filter-footer-text {
    color: #94a3b8;
    font-size: 9.5px;
    line-height: 14px;
}

.uniq-filter-footer-text strong {
    color: #64748b;
    font-weight: 600;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .uniq-filter-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 8px 10px;
    }

    .uniq-filter-footer-left,
    .uniq-filter-footer-right {
        width: 100%;
    }

    .uniq-filter-footer-right {
        justify-content: flex-start;
    }

}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .uniq-filter-footer {
        padding: 8px 9px;
    }

    .uniq-filter-footer-text {
        font-size: 9px;
    }

}


/* =========================================================
   UNIQ DATATABLE - ACTION DROPDOWN
   Tidak terpotong oleh overflow tabel
   ========================================================= */

.uniq-action-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Button */
.uniq-action-button {
    width: 26px;
    height: 26px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd2db !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #64748b !important;
    font-size: 10px;
    line-height: 1;
    box-shadow: none !important;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease,
        box-shadow .15s ease;
}

.uniq-action-button:hover,
.uniq-action-button:focus,
.uniq-action-button[aria-expanded="true"] {
    border-color: #6366f1 !important;
    background: #6366f1 !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 3px 8px rgba(99, 102, 241, .18) !important;
}

/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.uniq-action-menu {
    min-width: 180px;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow:
        0 8px 25px rgba(15, 23, 42, .12),
        0 2px 6px rgba(15, 23, 42, .05) !important;
    z-index: 99999 !important;
}

/* Item */
.uniq-action-menu > a,
.uniq-action-menu > button,
.uniq-action-menu > .dropdown-item {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1px 0;
    padding: 7px 9px !important;
    border-radius: 5px;
    background: transparent !important;
    color: #475569 !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none !important;
    transition:
        background-color .15s ease,
        color .15s ease;
}

/* Hover item */
.uniq-action-menu > a:hover,
.uniq-action-menu > button:hover,
.uniq-action-menu > .dropdown-item:hover {
    background: #f8fafc !important;
    color: #2563eb !important;
}

/* Divider */
.uniq-action-menu .dropdown-divider {
    margin: 4px 5px !important;
    border-top: 1px solid #eef1f5 !important;
}

/* Icon */
.uniq-action-menu i {
    width: 15px;
    min-width: 15px;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
}

/* Icon hover */
.uniq-action-menu > a:hover i,
.uniq-action-menu > button:hover i,
.uniq-action-menu > .dropdown-item:hover i {
    color: #2563eb;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .uniq-action-menu {
        min-width: 170px;
    }

    .uniq-action-menu > a,
    .uniq-action-menu > button,
    .uniq-action-menu > .dropdown-item {
        min-height: 32px;
        padding: 6px 8px !important;
        font-size: 10.5px;
    }

}


/* =========================================================
   UNIQ PADDING UTILITY
   Scale : 0 - 6
   ========================================================= */


/* ---------------------------------------------------------
   PADDING - ALL SIDES
   --------------------------------------------------------- */

.uniq-p-0 {
    padding: 0 !important;
}

.uniq-p-1 {
    padding: 4px !important;
}

.uniq-p-2 {
    padding: 8px !important;
}

.uniq-p-3 {
    padding: 12px !important;
}

.uniq-p-4 {
    padding: 16px !important;
}

.uniq-p-5 {
    padding: 24px !important;
}

.uniq-p-6 {
    padding: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - LEFT & RIGHT
   --------------------------------------------------------- */

.uniq-px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.uniq-px-1 {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.uniq-px-2 {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.uniq-px-3 {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.uniq-px-4 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.uniq-px-5 {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.uniq-px-6 {
    padding-left: 32px !important;
    padding-right: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - TOP & BOTTOM
   --------------------------------------------------------- */

.uniq-py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.uniq-py-1 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.uniq-py-2 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.uniq-py-3 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.uniq-py-4 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.uniq-py-5 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.uniq-py-6 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - TOP
   --------------------------------------------------------- */

.uniq-pt-0 {
    padding-top: 0 !important;
}

.uniq-pt-1 {
    padding-top: 4px !important;
}

.uniq-pt-2 {
    padding-top: 8px !important;
}

.uniq-pt-3 {
    padding-top: 12px !important;
}

.uniq-pt-4 {
    padding-top: 16px !important;
}

.uniq-pt-5 {
    padding-top: 24px !important;
}

.uniq-pt-6 {
    padding-top: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - RIGHT
   --------------------------------------------------------- */

.uniq-pr-0 {
    padding-right: 0 !important;
}

.uniq-pr-1 {
    padding-right: 4px !important;
}

.uniq-pr-2 {
    padding-right: 8px !important;
}

.uniq-pr-3 {
    padding-right: 12px !important;
}

.uniq-pr-4 {
    padding-right: 16px !important;
}

.uniq-pr-5 {
    padding-right: 24px !important;
}

.uniq-pr-6 {
    padding-right: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - BOTTOM
   --------------------------------------------------------- */

.uniq-pb-0 {
    padding-bottom: 0 !important;
}

.uniq-pb-1 {
    padding-bottom: 4px !important;
}

.uniq-pb-2 {
    padding-bottom: 8px !important;
}

.uniq-pb-3 {
    padding-bottom: 12px !important;
}

.uniq-pb-4 {
    padding-bottom: 16px !important;
}

.uniq-pb-5 {
    padding-bottom: 24px !important;
}

.uniq-pb-6 {
    padding-bottom: 32px !important;
}


/* ---------------------------------------------------------
   PADDING - LEFT
   --------------------------------------------------------- */

.uniq-pl-0 {
    padding-left: 0 !important;
}

.uniq-pl-1 {
    padding-left: 4px !important;
}

.uniq-pl-2 {
    padding-left: 8px !important;
}

.uniq-pl-3 {
    padding-left: 12px !important;
}

.uniq-pl-4 {
    padding-left: 16px !important;
}

.uniq-pl-5 {
    padding-left: 24px !important;
}

.uniq-pl-6 {
    padding-left: 32px !important;
}