/* 27th aug 2026 */

/* =========================================================
   OVERLAY
   ========================================================= */

.jconfirm {
    background: rgba(15, 23, 42, 0.62) !important;

    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.jconfirm .jconfirm-box-container {
    padding: 15px !important;
}


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

.jconfirm .jconfirm-box {
    position: relative !important;

    width: 100% !important;
    max-width: 450px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #ffffff !important;

    border: 1px solid rgba(26, 58, 92, 0.10) !important;

    border-radius: 22px !important;

    box-shadow:
        0 30px 70px rgba(26, 58, 92, 0.20),
        0 10px 30px rgba(15, 23, 42, 0.10) !important;

    animation: premiumModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}


/* =========================================================
   TOP DECORATIVE LINE
   ========================================================= */

.jconfirm .jconfirm-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #f59e0b !important;

    z-index: 20;
}


/* =========================================================
   SUBTLE TOP GLOW
   ========================================================= */

/* .jconfirm .jconfirm-box::after {
    content: "";

    position: absolute;

    top: -90px;
    left: 50%;

    width: 220px;
    height: 220px;

    transform: translateX(-50%);

    background: rgba(245, 158, 11, 0.08);

    border-radius: 50%;

    filter: blur(10px);

    pointer-events: none;
} */


/* =========================================================
   CLOSE ICON
   ========================================================= */

.jconfirm .jconfirm-closeIcon {
    position: absolute !important;

    top: 18px !important;
    right: 18px !important;

    width: 36px !important;
    height: 36px !important;

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

    border-radius: 50% !important;

    background: #f8fafc !important;

    color: #64748b !important;

    font-size: 21px !important;
    font-weight: 400 !important;

    line-height: 1 !important;

    cursor: pointer !important;

    z-index: 30 !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}


.jconfirm .jconfirm-closeIcon:hover {
    background: #fff7e6 !important;

    color: #1a3a5c !important;

    transform: rotate(90deg) scale(1.05) !important;

    box-shadow:
        0 5px 15px rgba(245, 158, 11, 0.18) !important;
}


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

.jconfirm .jconfirm-title-c {
    position: relative !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    padding: 40px 55px 0 !important;

    text-align: center !important;

    z-index: 5 !important;
}


/* =========================================================
   WARNING ICON OUTER
   ========================================================= */

.jconfirm .jconfirm-icon-c {
    position: relative !important;

    width: 76px !important;
    height: 76px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 0 20px !important;

    border-radius: 50% !important;

    background: #fff8e7 !important;

    border: 1px solid rgba(245, 158, 11, 0.25) !important;

    box-shadow:
        0 10px 25px rgba(245, 158, 11, 0.12),
        inset 0 0 0 7px rgba(255, 255, 255, 0.75) !important;

    z-index: 5 !important;
}


/* Decorative ring */

.jconfirm .jconfirm-icon-c::before {
    content: "";

    position: absolute;

    inset: -7px;

    border-radius: 50%;

    border: 1px solid rgba(245, 158, 11, 0.16);

    animation: amberPulse 2.2s ease-in-out infinite;
}


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

.jconfirm .jconfirm-icon-c i {
    width: 46px !important;
    height: 46px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    border-radius: 14px !important;

    background: #f59e0b !important;

    color: #ffffff !important;

    font-size: 21px !important;

    box-shadow:
        0 8px 18px rgba(245, 158, 11, 0.25) !important;

    font-style: normal !important;
}


/* =========================================================
   TITLE
   ========================================================= */

.jconfirm .jconfirm-title {
    display: block !important;

    margin: 0 !important;

    color: #1a3a5c !important;

    font-size: 26px !important;

    line-height: 34px !important;

    font-weight: 750 !important;

    letter-spacing: -0.5px !important;
}


/* =========================================================
   CONTENT AREA
   ========================================================= */

.jconfirm .jconfirm-content-pane {
    height: auto !important;

    max-height: none !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: visible !important;
}


/* =========================================================
   CONTENT
   ========================================================= */

.jconfirm .jconfirm-content {
    padding: 0px 45px 0 !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 25px !important;

    text-align: center !important;
    margin-bottom: 0px !important;
}


.jconfirm .jconfirm-content>div {
    color: #64748b !important;

    font-size: 15px !important;

    line-height: 25px !important;
}


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

.jconfirm .jconfirm-buttons {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 12px !important;

    padding: 30px 30px 32px !important;

    margin: 0 !important;

    text-align: center !important;
}


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

.jconfirm .jconfirm-buttons button {
    position: relative !important;

    min-width: 125px !important;

    height: 46px !important;

    margin: 0 !important;

    padding: 0 24px !important;

    border-radius: 10px !important;

    border: 1px solid transparent !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    text-transform: uppercase !important;

    letter-spacing: 0.4px !important;

    cursor: pointer !important;

    overflow: hidden !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease !important;
}


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

.jconfirm .jconfirm-buttons .btn-red {
    background: #1a3a5c !important;

    color: #ffffff !important;

    border-color: #1a3a5c !important;

    box-shadow:
        0 8px 20px rgba(26, 58, 92, 0.22) !important;
}


/* Amber shine */

.jconfirm .jconfirm-buttons .btn-red::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 70%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);

    transform: skewX(-20deg);

    transition: left 0.5s ease;
}


.jconfirm .jconfirm-buttons .btn-red:hover::before {
    left: 140%;
}


.jconfirm .jconfirm-buttons .btn-red:hover {
    background: #234d75 !important;

    color: #ffffff !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 12px 25px rgba(26, 58, 92, 0.28) !important;
}


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

.jconfirm .jconfirm-buttons .btn-default {
    background: #ffffff !important;

    color: #1a3a5c !important;

    border: 1px solid #dbe3eb !important;

    box-shadow: none !important;
}


.jconfirm .jconfirm-buttons .btn-default:hover {
    background: #fff8e7 !important;

    color: #1a3a5c !important;

    border-color: rgba(245, 158, 11, 0.45) !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 8px 18px rgba(245, 158, 11, 0.12) !important;
}


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

.jconfirm .jconfirm-buttons button:active {
    transform: translateY(0) scale(0.98) !important;
}


/* =========================================================
   REMOVE OLD EFFECTS
   ========================================================= */

.jconfirm .jconfirm-box.jconfirm-hilight-shake {
    animation: premiumModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}


.jconfirm .jconfirm-clear {
    display: none !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes premiumModalIn {

    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.94);
    }

    60% {
        opacity: 1;
        transform: translateY(-3px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes amberPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.08);
    }
}

.role-heading {
    width: 100%;
}

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

@media (max-width: 576px) {

    .jconfirm .jconfirm-box-container {
        padding: 10px !important;
    }

    .jconfirm .jconfirm-box {
        max-width: calc(100vw - 20px) !important;

        border-radius: 18px !important;
    }

    .jconfirm .jconfirm-title-c {
        padding: 35px 40px 0 !important;
    }

    .jconfirm .jconfirm-title {
        font-size: 23px !important;
        line-height: 30px !important;
    }

    .jconfirm .jconfirm-icon-c {
        width: 68px !important;
        height: 68px !important;
    }

    .jconfirm .jconfirm-icon-c i {
        width: 42px !important;
        height: 42px !important;
    }

    .jconfirm .jconfirm-content {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .jconfirm .jconfirm-buttons {
        padding: 25px 20px 28px !important;
    }

    .jconfirm .jconfirm-buttons button {
        min-width: 110px !important;
    }
}

.jconfirm-box-container {
    width: 100% !important;
}

/* =========================================
   IMAGE UPLOAD INPUT
========================================= */

label.img-label {
    visibility: hidden;
}


.img-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.file-input-change {
    width: 100%;

    padding: 6px 60px 6px 14px !important;

    border: 1px solid #dfe3e8 !important;
    border-radius: 10px !important;

    background-color: #fff !important;

    /* Upload icon inside input */
    background-image: url("http://127.0.0.1:8000/assets/images/icons/upload.png") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 28px 28px !important;

    font-size: 14px !important;
    color: #6b7280 !important;

    cursor: pointer;

    transition: all 0.25s ease;
    height: auto !important;
}


/* Hover */
.file-input-change:hover {
    /* border-color: #2563eb !important; */
    background-color: #fafcff !important;
}


/* Focus */
.file-input-change:focus {
    outline: none !important;

    /* border-color: #2563eb !important; */

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}


/* Native "Choose File" button */
.file-input-change::file-selector-button {
    height: 42px;

    margin-right: 12px;

    padding: 0 18px;

    border: none;

    border-radius: 7px;

    background: #f1f5f9;

    color: #1f2937;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.file-input-change::file-selector-button:hover {
    background: #e2e8f0;
}


/* =========================================
   HIDE OLD EXTERNAL ICON
========================================= */

.row:has(.file-input-change) .table-img {
    display: none !important;
}


/* Remove space reserved for old icon */
.row:has(.file-input-change) .col-1 {
    display: none !important;
}


/* Make input use full row */
.row:has(.file-input-change) .col-10 {
    width: 100%;
}


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

@media (max-width: 767px) {

    .file-input-change {
        /* height: 52px !important; */

        background-position: right 12px center !important;
        background-size: 25px 25px !important;

        padding-right: 50px !important;
    }

    .file-input-change::file-selector-button {
        padding: 0 13px;
        font-size: 13px;
    }
}

.side-bar-logo img {
    height: auto;
    width: 70px;
}

.side-bar.active:hover .side-bar-logo img {
    width: 70px !important;
}

.side-bar.active .side-bar-logo img {
    height: auto !important;
    width: 40px !important;
}

.side-bar.active .side-bar-logo img {
    height: auto !important;
}

.side-bar-logo {
    padding: 0 12px !important;
    text-align: center;
}

.modal-header {
    background: #1a3a5c !important;
}

.modal-title {
    color: #fff !important;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 1 !important;
}

.upload-img-v2 label {
    justify-content: center !important;
}

.border-btn {
    border: 1px solid #f59e0b !important;
    border-radius: 8px;
    background: none !important;
    color: #f59e0b !important;
}

input:checked+.slider {
    background-color: #f59e0b !important;
}

.personal-info .row.align-items-center.mt-3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 10px !important;
}

.personal-info {
    padding-inline: 20px;
}

.personal-info .row.align-items-center.mt-3 p {
    line-height: normal !important;
}

.table-hidden-checkbox:checked+.table-custom-checkmark {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
}

.pagination .page-item.active .page-link {
    background: #f59e0b !important;
}

.text-custom-primary,
.text-custom-primary:hover {
    color: #f59e0b !important;
}

.add-order-btn {
    background: #f59e0b !important;
}

.costing-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}


@media screen and (max-width: 768px) {

    .personal-info .row.align-items-center.mt-4 .col-md-4,
    .personal-info .row.align-items-center.mt-3 .col-md-4 {
        width: auto !important;
    }

    .personal-info .row.align-items-center.mt-4 .col-md-7,
    .personal-info .row.align-items-center.mt-3 .col-md-7 {
        width: auto;
    }
}


/* 1st sept 2026 */

.side-bar-manu .dropdown-menu {
    border: 0px !important;
}

.main-header-section .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    height: 100%;
}

.main-header-section .language-change .dropdown>button {
    height: 46px;
    min-width: 125px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    background: #f8f9fb !important;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none !important;
    transition: all .25s ease;
}

.main-header-section .language-change .dropdown-menu {
    width: 240px;
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    margin-top: 8px !important;
    padding: 8px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(15, 23, 42, .12);
}

.main-header-section .language-change .dropdown-menu {
    transform: translate(0px, 20px) !important;
}

.language-li {
    padding: 0px !important;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.main-header-section .language-change .dropdown-item {
    min-height: 40px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    transition: all .2s ease;
    gap: 10px;
}

.main-header-section .language-change .dropdown-item:hover {
    background: #f59e0b !important;
    color: #111827;
    border-radius: 0px;
}

.main-header-section .language-change .language-check {
    color: #10b981;
    position: absolute;
    right: 10px;
}

.main-header-section .notifications {
    position: relative;
}

.main-header-section .notifications>a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    background: #f8f9fb;
    text-decoration: none;
    transition: all .25s ease;
}

.main-header-section .notifications>a i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header-section .notifications>a>span {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f8f9fb;
    border-radius: 50px;
    background: #ef4444 !important;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.main-header-section .notifications>a i img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.main-header-section .notifications .notification-container {
    width: 330px;
    margin-top: 8px !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(15, 23, 42, .12);
}

.main-header-section .notification-header,
.main-header-section .notification-footer {
    background: #fafbfc;
}

.notifications .dropdown-menu {
    background: #fafbfc;
}

.notification-header a,
.notification-footer a {
    color: #F59E0B !important;
}

.upload-v4 .img-wrp img {
    width: 100px;
    height: 100px;
}

.main-header-section .profile-info img {
    border: 4px solid #f59e0b;
}

.personal-info .row.align-items-center.mt-4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 30px !important;
}

.feature-btn {
    color: #f59e0b !important;
}

table#datatable .badge.bg-primary {
    padding-inline: 15px;
}

@media screen and (min-width: 1150px) and (max-width: 1540px) {
    /* .side-bar-manu {
        padding: 0 5px;
    } */

    /* .side-bar-manu li a {
        padding: 10px 6px;
    } */

    .side-bar-manu .dropdown::before {
        right: 5px;
        font-size: 15px;
    }

    .side-bar-manu li a .sidebar-icon {
        margin-right: 5px;
    }

    .side-bar {
        width: 16%;
    }

    .side-bar-manu li .dropdown-menu {
        margin-left: 10px !important;
    }
}

/* 2nd sept 2026 */

.role-reset-btn {
    padding: 8px 16px !important;
}

.btn-custom-warning {
    padding: 8px 16px !important;
}

nav.side-bar.active .side-bar-manu li a {
    padding: 10px 18px !important;
}

.api-key-wrapper {
    justify-content: space-between !important;
    margin-inline: auto !important;
}

.card-body.permission {
    padding: 0;
}

.card-body.permission h3 {
    background-color: #1a3a5c;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body.permission form.row.ajaxform_instant_reload {
    padding: 16px;
}

.card:has(.card-body.permission) {
    border-radius: 10px;
}

@media screen and (min-width: 1150px) and (max-width: 1340px) {
    .side-bar-manu li a {
        padding: 10px 6px;
    }

    .side-bar.active .side-bar-manu {
        padding: 0 10px;
    }

    .side-bar-manu {
        padding: 0 5px;
    }
}

/* =========================================
   ROLES & PERMISSIONS
   ========================================= */

.roles-permissions {
    --rp-accent: #f59e0b;
    --rp-accent-light: #fff7e6;
    --rp-border: #e5e7eb;
    --rp-text: #1f2937;
    --rp-muted: #6b7280;
    --rp-bg: #ffffff;

    position: relative;
    margin: 20px auto !important;
    padding: 28px !important;
    background: var(--rp-bg);
    border: 1px solid #edf0f3;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}


/* -----------------------------------------
   ROLE NAME SECTION
   ----------------------------------------- */

.roles-permissions .role-input-label {
    margin-bottom: 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--rp-border);
}

.roles-permissions .role-input-label label {
    display: block;
    margin-bottom: 9px;
    color: var(--rp-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
}

.roles-permissions .role-input-label label::after {
    color: var(--rp-accent);
}

.roles-permissions .role-input-label .form-control {
    height: 48px;
    padding: 10px 15px;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fafbfc;
    color: var(--rp-text);
    font-size: 14px;
    transition: all .25s ease;
}

.roles-permissions .role-input-label .form-control:hover {
    border-color: #d1d5db;
}

.roles-permissions .role-input-label .form-control:focus {
    border-color: var(--rp-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
    outline: none;
}


/* -----------------------------------------
   PERMISSIONS HEADING
   ----------------------------------------- */

.roles-permissions h4 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    color: var(--rp-text);
    font-size: 18px;
    font-weight: 700;
}

.roles-permissions h4::before {
    content: "";
    width: 5px;
    height: 22px;
    display: inline-block;
    border-radius: 5px;
    background: var(--rp-accent);
}


/* -----------------------------------------
   TABLE CONTAINER
   ----------------------------------------- */

.roles-permissions .table-responsive {
    overflow-x: auto;
    border: 1px solid var(--rp-border);
    border-radius: 14px;
    background: #fff;
}


/* -----------------------------------------
   PERMISSION TABLE
   ----------------------------------------- */

.roles-permissions table {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 650px;
}

.roles-permissions table tbody tr {
    transition: background-color .2s ease;
}

.roles-permissions table tbody tr:hover {
    background: #fffbf3;
}


/* Table cells */

.roles-permissions table td {
    padding: 16px 18px !important;
    border-top: 1px solid #edf0f3 !important;
    vertical-align: middle;
}

.roles-permissions table tbody tr:first-child td {
    border-top: 0 !important;
}


/* -----------------------------------------
   PERMISSION NAME
   ----------------------------------------- */

.roles-permissions table td:first-child {
    width: 30%;
    min-width: 180px;
    color: var(--rp-text);
    font-size: 14px;
    font-weight: 700 !important;
}

.roles-permissions table td:first-child::before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 9px;
    vertical-align: middle;
    border-radius: 50%;
    background: #d1d5db;
    transition: all .2s ease;
}

.roles-permissions table tr:hover td:first-child::before {
    background: var(--rp-accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
}


/* -----------------------------------------
   CHECKBOX AREA
   ----------------------------------------- */

.roles-permissions table td:last-child {
    width: 70%;
}

.roles-permissions table td:last-child>.d-flex {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
}


/* -----------------------------------------
   CUSTOM CHECKBOX
   ----------------------------------------- */

.roles-permissions .custom-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 30px;
    margin: 0 !important;
    padding-left: 28px;
}

.roles-permissions .custom-control-input {
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    opacity: 0;
}

.roles-permissions .custom-control-label {
    position: relative;
    padding-left: 0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600 !important;
    line-height: 20px;
    cursor: pointer;
    transition: color .2s ease;
}

.roles-permissions .custom-control-label::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    transition: all .2s ease;
}

.roles-permissions .custom-control-label::after {
    content: "";
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: rotate(-45deg) scale(.6);
    transition: all .2s ease;
}


/* Checked */

.roles-permissions .custom-control-input:checked~.custom-control-label {
    color: #b45309;
}

.roles-permissions .custom-control-input:checked~.custom-control-label::before {
    border-color: var(--rp-accent);
    background: var(--rp-accent);
    box-shadow: 0 3px 8px rgba(245, 158, 11, .25);
}

.roles-permissions .custom-control-input:checked~.custom-control-label::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
}


/* Focus */

.roles-permissions .custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .14);
}


/* -----------------------------------------
   SELECT ALL ROW
   ----------------------------------------- */

.roles-permissions #selectAll {
    cursor: pointer;
}

.roles-permissions #selectAll~.custom-control-label {
    color: #374151;
    font-size: 13px;
    font-weight: 700 !important;
}

.roles-permissions table tr:first-child {
    background: #fffaf0;
}

.roles-permissions table tr:first-child td {
    border-bottom: 1px solid #f6dfb0 !important;
}


/* -----------------------------------------
   BUTTONS
   ----------------------------------------- */

.roles-permissions .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px !important;
}


/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */

@media (max-width: 767px) {

    .roles-permissions {
        margin: 12px auto !important;
        padding: 18px !important;
        border-radius: 14px;
    }

    .roles-permissions table {
        min-width: 620px;
    }

    .roles-permissions table td {
        padding: 14px !important;
    }

    .roles-permissions table td:first-child {
        min-width: 160px;
    }

    .roles-permissions table td:last-child>.d-flex {
        gap: 8px 16px;
    }

    .roles-permissions .text-center {
        flex-wrap: wrap;
    }
}


@media (max-width: 480px) {

    .roles-permissions {
        padding: 14px !important;
    }

    .roles-permissions h4 {
        font-size: 16px;
    }

    .roles-permissions .role-input-label .form-control {
        height: 44px;
    }

    .roles-permissions .role-reset-btn,
    .roles-permissions .submit-btn {
        flex: 1;
        min-width: 100px;
    }
}

.order-form-section label,
.permission label,
.role-input-label label {
    left: 10px !important;
    top: 11px !important;
}

.order-form-section .radio-switcher .switch {
    top: 0px !important;
}

.table-header h4 {
    white-space: normal;
}

@media screen and (max-width: 992px) {
    .erp-dashboard-profile.card {
        min-height: unset;
    }
}