﻿/* ================================================================
   1. THEME VARIABLES
   ================================================================ */

:root {
    --beeq-primary: #14b8b5;
    --beeq-primary-dark: #0891b2;
    --beeq-primary-deep: #0f766e;
    --beeq-primary-light: #ecfeff;
    --beeq-primary-soft: rgba(20, 184, 181, .10);
    --beeq-primary-border: rgba(20, 184, 181, .25);
    --beeq-primary-shadow: rgba(20, 184, 181, .25);
    --beeq-text-dark: #334155;
    --beeq-text-muted: #64748b;
}


/* ================================================================
   2. MODERN TOGGLE SWITCH
   ================================================================ */

.sims-switch,
.form-switch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

    .sims-switch .form-check-input,
    .form-switch .form-check-input {
        width: 46px !important;
        height: 24px !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 999px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        background: #d1d5db !important;
        position: relative;
        cursor: pointer;
        transition: all .25s ease;
        box-shadow: inset 0 0 0 2px rgba(20, 184, 181, .15);
    }

        /* ON */

        .sims-switch .form-check-input:checked,
        .form-switch .form-check-input:checked {
            background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
            border-color: var(--beeq-primary) !important;
        }

        /* Switch Circle */

        .sims-switch .form-check-input::before,
        .form-switch .form-check-input::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: #ffffff;
            border-radius: 50%;
            transition: .25s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
        }

        /* Move Circle */

        .sims-switch .form-check-input:checked::before,
        .form-switch .form-check-input:checked::before {
            transform: translateX(22px);
        }

        /* Focus */

        .sims-switch .form-check-input:focus,
        .form-switch .form-check-input:focus {
            box-shadow: 0 0 0 .20rem rgba(20, 184, 181, .20) !important;
        }

/* Dark Mode OFF */

body.dark-theme .form-switch .form-check-input:not(:checked),
body.dark-theme .sims-switch .form-check-input:not(:checked) {
    background: #475569 !important;
}

/* Light Mode OFF */

body.light-theme .form-switch .form-check-input:not(:checked),
body.light-theme .sims-switch .form-check-input:not(:checked) {
    background: #cbd5e1 !important;
}


/* ================================================================
   3. STATUS COLUMN ALIGNMENT
   ================================================================ */

.beeq-table td:nth-child(6),
.beeq-table th:nth-child(6) {
    text-align: center !important;
    vertical-align: middle !important;
}

    .beeq-table td:nth-child(6) .form-switch,
    .beeq-table td:nth-child(6) .sims-switch {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        width: fit-content !important;
    }


/* ================================================================
   4. PAGE HEADER ICON
   ================================================================ */

#content .beeq-page-header .beeq-page-icon,
.beeq-page-header .beeq-page-icon {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 20px var(--beeq-primary-shadow) !important;
}

    #content .beeq-page-header .beeq-page-icon i,
    .beeq-page-header .beeq-page-icon i {
        color: #ffffff !important;
    }


/* ================================================================
   5. PAGE HEADER
   ================================================================ */

#content .beeq-page-header {
    transition: border-color .25s ease, box-shadow .25s ease !important;
}


/* ================================================================
   6. SEARCH BOX
   ================================================================ */

#content .beeq-search-box:focus-within,
.beeq-search-box:focus-within {
    border-color: rgba(20, 184, 181, .55) !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 181, .10) !important;
}

    #content .beeq-search-box:focus-within > i,
    .beeq-search-box:focus-within > i {
        color: var(--beeq-primary-dark) !important;
    }

#content .beeq-search-box > i,
.beeq-search-box > i {
    transition: color .2s ease !important;
}

#content .beeq-search-box input:focus,
.beeq-search-box input:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* ================================================================
   7. SEARCH BUTTON
   ================================================================ */

#content .beeq-search-btn,
.beeq-search-btn {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 5px 14px rgba(20, 184, 181, .20) !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}

    #content .beeq-search-btn:hover,
    .beeq-search-btn:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 8px 18px rgba(20, 184, 181, .30) !important;
    }

    #content .beeq-search-btn:active,
    .beeq-search-btn:active {
        transform: translateY(0) !important;
    }


/* ================================================================
   8. PRIMARY BUTTON
   ================================================================ */

#content .beeq-btn-primary,
.beeq-btn-primary {
    background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
    box-shadow: 0 10px 24px rgba(20, 184, 181, .32) !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease !important;
}

    #content .beeq-btn-primary i,
    .beeq-btn-primary i {
        color: #ffffff !important;
    }

    #content .beeq-btn-primary span,
    .beeq-btn-primary span {
        color: #ffffff !important;
    }

    #content .beeq-btn-primary:hover,
    .beeq-btn-primary:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 24px rgba(20, 184, 181, .32) !important;
    }

    #content .beeq-btn-primary:disabled,
    .beeq-btn-primary:disabled {
        opacity: .60 !important;
        transform: none !important;
        box-shadow: none !important;
        cursor: not-allowed !important;
    }


/* ================================================================
   9. TABLE CARD
   ================================================================ */

#content .beeq-table-card,
.beeq-table-card {
    transition: border-color .25s ease, box-shadow .25s ease !important;
}


/* ================================================================
   10. TABLE ROW HOVER
   ================================================================ */

#content .beeq-table tbody tr.desktop-row,
.beeq-table tbody tr.desktop-row {
    transition: background-color .20s ease !important;
}

    #content .beeq-table tbody tr.desktop-row:hover,
    .beeq-table tbody tr.desktop-row:hover {
        background: rgba(20, 184, 181, .05) !important;
    }


/* ================================================================
   11. INDEX / SERIAL NUMBER
   ================================================================ */

#content .beeq-index,
.beeq-index {
    color: var(--beeq-primary-dark) !important;
    background: var(--beeq-primary-light) !important;
    border: 1px solid rgba(20, 184, 181, .20) !important;
    box-shadow: none !important;
}


/* ================================================================
   12. ORGANIZATION / BRANCH / SERVICE ICON
   ================================================================ */

#content .beeq-org-icon,
.beeq-org-icon {
    background: var(--beeq-primary-light) !important;
    border: 1px solid rgba(20, 184, 181, .20) !important;
    color: var(--beeq-primary-dark) !important;
    transition: background .2s ease, transform .2s ease !important;
}

    #content .beeq-org-icon i,
    .beeq-org-icon i {
        color: var(--beeq-primary-dark) !important;
    }

/* Row Hover */

#content .beeq-table tbody tr:hover .beeq-org-icon,
.beeq-table tbody tr:hover .beeq-org-icon {
    background: rgba(20, 184, 181, .12) !important;
}


/* ================================================================
   13. CONTACT ICONS
   ================================================================ */

#content .beeq-contact i,
.beeq-contact i {
    color: var(--beeq-primary-dark) !important;
}


/* ================================================================
   14. LOCATION ICON
   ================================================================ */

#content .beeq-location i,
.beeq-location i {
    color: var(--beeq-primary-dark) !important;
}


/* ================================================================
   15. ACTION / EDIT BUTTON
   ================================================================ */

#content button.beeq-action-btn,
button.beeq-action-btn,
#content .beeq-action-btn,
.beeq-action-btn {
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

    #content button.beeq-action-btn:hover,
    button.beeq-action-btn:hover,
    #content .beeq-action-btn:hover,
    .beeq-action-btn:hover {
        background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
        color: #ffffff !important;
        border-color: var(--beeq-primary) !important;
        box-shadow: 0 6px 14px rgba(20, 184, 181, .22) !important;
        transform: translateY(-1px) !important;
    }

        #content button.beeq-action-btn:hover i,
        button.beeq-action-btn:hover i,
        #content .beeq-action-btn:hover i,
        .beeq-action-btn:hover i {
            color: #ffffff !important;
        }


/* ================================================================
   16. PAGINATION INFO ICON
   ================================================================ */

#content .beeq-page-count i,
.beeq-page-count i {
    color: var(--beeq-primary-dark) !important;
}


/* ================================================================
   17. PAGINATION ACTIVE BUTTON
   ================================================================ */

#content .beeq-pagination .beeq-page-btn.active,
.beeq-pagination .beeq-page-btn.active,
#content button.beeq-page-btn.active,
button.beeq-page-btn.active {
    color: #ffffff !important;
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    border-color: var(--beeq-primary) !important;
    box-shadow: 0 6px 15px rgba(20, 184, 181, .25) !important;
}

#content .beeq-page-btn.active i,
.beeq-page-btn.active i {
    color: #ffffff !important;
}


/* ================================================================
   18. PAGINATION NORMAL BUTTON HOVER
   ================================================================ */

#content .beeq-page-btn:not(.active):not(:disabled):hover,
.beeq-page-btn:not(.active):not(:disabled):hover {
    color: var(--beeq-primary-dark) !important;
    border-color: rgba(20, 184, 181, .35) !important;
    background: rgba(20, 184, 181, .10) !important;
}


/* ================================================================
   19. REFRESH / LIGHT BUTTON
   ================================================================ */

#content .beeq-btn-light,
.beeq-btn-light {
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}

    #content .beeq-btn-light:hover,
    .beeq-btn-light:hover {
        background: rgba(20, 184, 181, .10) !important;
        color: var(--beeq-primary-dark) !important;
        border-color: rgba(20, 184, 181, .25) !important;
        transform: translateY(-1px) !important;
    }

        #content .beeq-btn-light:hover i,
        .beeq-btn-light:hover i {
            color: var(--beeq-primary-dark) !important;
        }


/* ================================================================
   20. EMPTY STATE
   ================================================================ */

#content .beeq-empty i,
.beeq-empty i {
    color: rgba(20, 184, 181, .65) !important;
}


/* ================================================================
   21. MOBILE CARD ICONS
   ================================================================ */

#content .beeq-mobile-card i,
.beeq-mobile-card i {
    transition: color .2s ease !important;
}

#content .beeq-mobile-body i,
.beeq-mobile-body i {
    color: var(--beeq-primary-dark) !important;
}


/* ================================================================
   22. MODAL HEADER ICON
   ================================================================ */

#content .modal-header .text-primary,
.modal-header .text-primary {
    color: var(--beeq-primary-dark) !important;
}


/* ================================================================
   23. MODAL INPUT FOCUS
   ================================================================ */

#content .modal .beeq-input:focus,
.modal .beeq-input:focus,
#content .modal .form-control:focus,
.modal .form-control:focus,
#content .modal .form-select:focus,
.modal .form-select:focus {
    border-color: rgba(20, 184, 181, .70) !important;
    box-shadow: 0 0 0 .20rem rgba(20, 184, 181, .12) !important;
    outline: none !important;
}


/* ================================================================
   24. MODAL CLOSE BUTTON
   ================================================================ */

#content .beeq-close-btn:hover,
.beeq-close-btn:hover {
    background: rgba(20, 184, 181, .11) !important;
    color: var(--beeq-primary) !important;
    border-color: rgba(20, 184, 181, .20) !important;
    box-shadow: 0 4px 12px rgba(20, 184, 181, .20) !important;
}

    #content .beeq-close-btn:hover i,
    .beeq-close-btn:hover i {
        color: var(--beeq-primary) !important;
    }


/* ================================================================
   25. BOOTSTRAP PRIMARY ACCENT
   ================================================================ */

#content .text-primary {
    color: var(--beeq-primary) !important;
}


/* ================================================================
   26. ACCESSIBILITY / FOCUS
   ================================================================ */

#content .beeq-btn-primary:focus-visible,
#content .beeq-search-btn:focus-visible,
#content .beeq-action-btn:focus-visible,
#content .beeq-page-btn:focus-visible,
#content .beeq-btn-light:focus-visible {
    outline: 3px solid rgba(20, 184, 181, .25) !important;
    outline-offset: 2px !important;
}


/* ================================================================
   27. NAVBAR - LIGHT + DARK
   ================================================================ */

body.light-theme .top-row,
body.light-theme .top-navbar,
body.light-theme .navbar,
body.light-theme header,
body.light-theme .header,
body.dark-theme .top-row,
body.dark-theme .top-navbar,
body.dark-theme .navbar,
body.dark-theme header,
body.dark-theme .header {
    background: linear-gradient( 90deg, var(--beeq-primary), var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: 0 5px 20px rgba(20, 184, 181, .22) !important;
    transition: all .3s ease !important;
}


/* Navbar text */

body.light-theme .top-row,
body.light-theme .top-navbar,
body.light-theme .navbar,
body.dark-theme .top-row,
body.dark-theme .top-navbar,
body.dark-theme .navbar {
    color: #ffffff !important;
}


    /* Navbar brand */

    body.light-theme .navbar-brand,
    body.light-theme .top-row .navbar-brand,
    body.light-theme .top-navbar .navbar-brand,
    body.dark-theme .navbar-brand,
    body.dark-theme .top-row .navbar-brand,
    body.dark-theme .top-navbar .navbar-brand {
        color: #ffffff !important;
        font-weight: 700 !important;
        letter-spacing: .3px;
    }


        /* Navbar brand hover */

        body.light-theme .navbar-brand:hover,
        body.dark-theme .navbar-brand:hover {
            color: #ffffff !important;
        }


    /* Navbar icons */

    body.light-theme .top-row i,
    body.light-theme .top-navbar i,
    body.light-theme .navbar i,
    body.dark-theme .top-row i,
    body.dark-theme .top-navbar i,
    body.dark-theme .navbar i {
        color: #ffffff !important;
    }


    /* Navbar buttons */

    body.light-theme .top-row button,
    body.light-theme .top-navbar button,
    body.light-theme .navbar button,
    body.dark-theme .top-row button,
    body.dark-theme .top-navbar button,
    body.dark-theme .navbar button {
        background: rgba(255, 255, 255, .10) !important;
        border: 1px solid rgba(255, 255, 255, .35) !important;
        color: #ffffff !important;
        box-shadow: none !important;
        transition: all .25s ease !important;
    }


        /* Navbar button hover */

        body.light-theme .top-row button:hover,
        body.light-theme .top-navbar button:hover,
        body.light-theme .navbar button:hover,
        body.dark-theme .top-row button:hover,
        body.dark-theme .top-navbar button:hover,
        body.dark-theme .navbar button:hover {
            background: rgba(255, 255, 255, .20) !important;
            border-color: rgba(255, 255, 255, .55) !important;
            transform: translateY(-1px);
        }


/* ================================================================
   28. SIDEBAR - LIGHT MODE
   ================================================================ */

body.light-theme #sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e5e7eb !important;
    box-shadow: 4px 0 20px rgba(15, 23, 42, .04) !important;
}


    /* Normal sidebar links */

    body.light-theme #sidebar .sidebar-menu .nav-link {
        color: var(--beeq-text-dark) !important;
    }

        body.light-theme #sidebar .sidebar-menu .nav-link i {
            color: var(--beeq-text-muted) !important;
        }


        /* Sidebar hover */

        body.light-theme #sidebar .sidebar-menu .nav-link:hover,
        body.light-theme #sidebar .sidebar-menu .has-submenu:hover {
            background: rgba(20, 184, 181, .08) !important;
            color: var(--beeq-primary-dark) !important;
            box-shadow: none !important;
        }

            body.light-theme #sidebar .sidebar-menu .nav-link:hover i,
            body.light-theme #sidebar .sidebar-menu .has-submenu:hover i {
                color: var(--beeq-primary-dark) !important;
            }


/* ================================================================
   29. SIDEBAR - DARK MODE
   ================================================================ */

body.dark-theme #sidebar {
    background: #111827 !important;
}

    body.dark-theme #sidebar .nav-link {
        color: #cbd5e1 !important;
    }

        body.dark-theme #sidebar .nav-link i {
            color: #94a3b8 !important;
        }


        /* Dark sidebar hover */

        body.dark-theme #sidebar .nav-link:hover {
            background: rgba(20, 184, 181, .10) !important;
            color: var(--beeq-primary) !important;
        }

            body.dark-theme #sidebar .nav-link:hover i {
                color: var(--beeq-primary) !important;
            }


        /* ================================================================
   30. SIDEBAR ACTIVE MENU
   ================================================================ */

        body.light-theme #sidebar .nav-link.active,
        body.light-theme #sidebar .submenu .nav-link.active,
        body.dark-theme #sidebar .nav-link.active,
        body.dark-theme #sidebar .submenu .nav-link.active {
            background: linear-gradient( 90deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
            color: #ffffff !important;
            box-shadow: 0 8px 20px rgba(20, 184, 181, .30) !important;
            border-color: transparent !important;
        }


            /* Active icons */

            body.light-theme #sidebar .nav-link.active i,
            body.light-theme #sidebar .submenu .nav-link.active i,
            body.dark-theme #sidebar .nav-link.active i,
            body.dark-theme #sidebar .submenu .nav-link.active i {
                color: #ffffff !important;
            }


    /* ================================================================
   31. SIDEBAR SUBMENU
   ================================================================ */

    body.light-theme #sidebar .submenu,
    body.dark-theme #sidebar .submenu {
        border-left: none !important;
    }


        /* Light submenu */

        body.light-theme #sidebar .submenu .nav-link {
            background: transparent !important;
            color: var(--beeq-text-dark) !important;
            box-shadow: none !important;
        }


        /* Dark submenu */

        body.dark-theme #sidebar .submenu .nav-link {
            background: transparent !important;
            color: #cbd5e1 !important;
            box-shadow: none !important;
        }


            /* Submenu hover */

            body.light-theme #sidebar .submenu .nav-link:hover,
            body.dark-theme #sidebar .submenu .nav-link:hover {
                background: rgba(20, 184, 181, .10) !important;
                color: var(--beeq-primary-dark) !important;
                transform: translateX(3px) !important;
            }


            /* Active submenu */

            body.light-theme #sidebar .submenu .nav-link.active,
            body.dark-theme #sidebar .submenu .nav-link.active {
                background: linear-gradient( 90deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
                color: #ffffff !important;
                box-shadow: 0 8px 20px rgba(20, 184, 181, .30) !important;
            }


                /* Active submenu hover */

                body.light-theme #sidebar .submenu .nav-link.active:hover,
                body.dark-theme #sidebar .submenu .nav-link.active:hover {
                    background: linear-gradient( 90deg, var(--beeq-primary), var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
                    color: #ffffff !important;
                }


            /* Don't show indicator inside submenu */

            body.light-theme #sidebar .submenu .nav-link::before,
            body.dark-theme #sidebar .submenu .nav-link::before {
                display: none !important;
            }


    /* ================================================================
   32. SIDEBAR ACTIVE LEFT INDICATOR
   ================================================================ */

    body.light-theme #sidebar .nav-link.active::before,
    body.light-theme #sidebar .nav-link:hover::before,
    body.dark-theme #sidebar .nav-link.active::before,
    body.dark-theme #sidebar .nav-link:hover::before {
        background: var(--beeq-primary) !important;
    }


    /* ================================================================
   33. SIDEBAR ARROW / CHEVRON
   ================================================================ */

    body.light-theme #sidebar .nav-link .bi-chevron-right,
    body.light-theme #sidebar .nav-link .bi-chevron-down,
    body.dark-theme #sidebar .nav-link .bi-chevron-right,
    body.dark-theme #sidebar .nav-link .bi-chevron-down {
        color: inherit !important;
    }


    /* ================================================================
   34. SIDEBAR FOCUS
   ================================================================ */

    body.light-theme #sidebar .nav-link:focus,
    body.light-theme #sidebar .nav-link:focus-visible,
    body.dark-theme #sidebar .nav-link:focus,
    body.dark-theme #sidebar .nav-link:focus-visible {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(20, 184, 181, .12) !important;
    }


/* ================================================================
   35. PROFILE
   ================================================================ */

body.light-theme .top-row .profile,
body.light-theme .top-navbar .profile,
body.light-theme .user-profile,
body.dark-theme .top-row .profile,
body.dark-theme .top-navbar .profile,
body.dark-theme .user-profile {
    color: #ffffff !important;
    border-radius: 30px;
    transition: all .25s ease;
}

    body.light-theme .top-row .profile:hover,
    body.light-theme .top-navbar .profile:hover,
    body.light-theme .user-profile:hover,
    body.dark-theme .top-row .profile:hover,
    body.dark-theme .top-navbar .profile:hover,
    body.dark-theme .user-profile:hover {
        background: rgba(255, 255, 255, .12) !important;
    }


/* ================================================================
   36. PROFILE DROPDOWN
   ================================================================ */

/* Light */

body.light-theme .dropdown-menu i,
body.light-theme .dropdown-menu .bi {
    color: #475569 !important;
}

body.light-theme .dropdown-menu a,
body.light-theme .dropdown-menu .dropdown-item {
    color: #334155 !important;
}

    body.light-theme .dropdown-menu .dropdown-item:hover {
        background: rgba(20, 184, 181, .10) !important;
        color: var(--beeq-primary) !important;
    }

        body.light-theme .dropdown-menu .dropdown-item:hover i,
        body.light-theme .dropdown-menu .dropdown-item:hover .bi {
            color: var(--beeq-primary) !important;
        }


/* Dark */

body.dark-theme .dropdown-menu i,
body.dark-theme .dropdown-menu .bi {
    color: #e2e8f0 !important;
}

body.dark-theme .dropdown-menu a,
body.dark-theme .dropdown-menu .dropdown-item {
    color: #f1f5f9 !important;
}

    body.dark-theme .dropdown-menu .dropdown-item:hover {
        background: rgba(20, 184, 181, .12) !important;
        color: var(--beeq-primary) !important;
    }

        body.dark-theme .dropdown-menu .dropdown-item:hover i,
        body.dark-theme .dropdown-menu .dropdown-item:hover .bi {
            color: var(--beeq-primary) !important;
        }


/* ================================================================
   37. DARK MODE TABLE ICONS
   ================================================================ */

body.dark-theme .beeq-index {
    background: rgba(20, 184, 181, .12) !important;
    border: 1px solid rgba(20, 184, 181, .25) !important;
    color: #5eead4 !important;
}

body.dark-theme .beeq-org-icon {
    background: rgba(20, 184, 181, .12) !important;
    border: 1px solid rgba(20, 184, 181, .30) !important;
}

    body.dark-theme .beeq-org-icon i,
    body.dark-theme .beeq-contact i,
    body.dark-theme .beeq-location i,
    body.dark-theme .beeq-action-btn i,
    body.dark-theme .beeq-mobile-body i,
    body.dark-theme .beeq-mobile-card i,
    body.dark-theme .beeq-table i[class^="bi-"],
    body.dark-theme .beeq-table i[class*=" bi-"] {
        color: var(--beeq-primary) !important;
    }


/* ================================================================
   38. DARK MODE ACTION BUTTON
   ================================================================ */

body.dark-theme .beeq-action-btn {
    background: rgba(20, 184, 181, .10) !important;
    border: 1px solid rgba(20, 184, 181, .30) !important;
}

    body.dark-theme .beeq-action-btn:hover {
        background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    }

        body.dark-theme .beeq-action-btn:hover i {
            color: #ffffff !important;
        }


/* ================================================================
   39. DARK MODE PAGE / SEARCH / BUTTONS
   ================================================================ */

body.dark-theme .beeq-page-icon {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    color: #ffffff !important;
}

body.dark-theme .beeq-search-btn {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
}

    body.dark-theme .beeq-search-btn:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
    }

body.dark-theme .beeq-btn-primary {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
}

    body.dark-theme .beeq-btn-primary:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
    }


/* ================================================================
   40. DARK MODE TABLE HOVER
   ================================================================ */

body.dark-theme .beeq-table tbody tr:hover {
    background: rgba(20, 184, 181, .05) !important;
}


/* ================================================================
   41. DARK MODE STATUS
   ================================================================ */

body.dark-theme .form-check-input:checked {
    background: var(--beeq-primary) !important;
    border-color: var(--beeq-primary) !important;
}


/* ================================================================
   42. DARK MODE PAGINATION
   ================================================================ */

body.dark-theme .beeq-page-btn.active {
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    border-color: var(--beeq-primary) !important;
}

body.dark-theme .beeq-page-btn:not(.active):hover {
    background: rgba(20, 184, 181, .10) !important;
    color: var(--beeq-primary) !important;
}


/* ================================================================
   43. DARK MODE REFRESH BUTTON
   ================================================================ */

body.dark-theme .beeq-btn-light:hover {
    background: rgba(20, 184, 181, .10) !important;
    color: var(--beeq-primary) !important;
}


/* ================================================================
   44. DARK MODE INPUTS
   ================================================================ */

body.dark-theme .form-control:focus,
body.dark-theme .form-select:focus {
    border-color: var(--beeq-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(20, 184, 181, .15) !important;
}


/* ================================================================
   45. SERVICE CODE BADGE
   ================================================================ */

.badge.bg-light.text-dark.border.rounded-pill {
    min-width: 70px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    color: #ffffff !important;
    border: 1px solid rgba(20, 184, 181, .25) !important;
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(20, 184, 181, .20);
}

    .badge.bg-light.text-dark.border.rounded-pill:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
        color: #ffffff !important;
    }


/* ================================================================
   46. PREFIX BADGE
   ================================================================ */

.badge.bg-secondary.rounded-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 36px;
    padding: 0 16px !important;
    background: linear-gradient( 135deg, var(--beeq-primary), var(--beeq-primary-dark) ) !important;
    color: #ffffff !important;
    border: 1px solid rgba(20, 184, 181, .25) !important;
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 4px 12px rgba(20, 184, 181, .22);
    transition: all .25s ease;
}

    .badge.bg-secondary.rounded-pill:hover {
        background: linear-gradient( 135deg, var(--beeq-primary-dark), var(--beeq-primary-deep) ) !important;
        color: #ffffff !important;
    }

/* Bootstrap primary */

.text-primary {
    color: var(--beeq-primary) !important;
}

.bg-primary {
    background: var(--beeq-primary) !important;
}

.border-primary {
    border-color: var(--beeq-primary) !important;
}


/* Links */

a.text-primary:hover,
a.text-primary:focus {
    color: var(--beeq-primary-dark) !important;
}

