﻿/*==========================================================
                    BeeQ Master UI
                 SECTION 1 - GLOBAL
==========================================================*/

/*==========================
        VARIABLES
==========================*/

:root {
    --primary: #1E3A8A;
    --primary-hover: #17327B;
    --accent: #F59E0B;
    --success: #16A34A;
    --danger: #DC2626;
    --background: #F6F8FC;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --text: #111827;
    --text-light: #6B7280;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(15,23,42,.06);
    --transition: .25s ease;
}

/*==========================
        PAGE
==========================*/

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter',sans-serif;
}

.beeq-page {
    padding: 24px;
}

/*==========================
        CARDS
==========================*/

.beeq-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/*==========================
        HEADINGS
==========================*/

h1, h2, h3, h4, h5 {
    color: var(--text);
    font-weight: 700;
}

small {
    color: var(--text-light);
}

/*==========================
        LINKS
==========================*/

a {
    text-decoration: none;
    transition: .2s;
}

    a:hover {
        color: var(--primary);
    }


/*==========================================================
        SECTION 2 - HEADER & TOOLBAR
==========================================================*/


/*==========================
        PAGE HEADER
==========================*/

.beeq-page-header {
    background: #fff;
    border-radius: 22px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}


/*==========================
      HEADER LEFT
==========================*/

.beeq-page-title-section {
    display: flex;
    align-items: center;
    gap: 18px;
}


.beeq-page-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg,#1E3A8A,#3156D3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    flex-shrink: 0;
}


.beeq-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}


.beeq-page-subtitle {
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 15px;
}


/*==========================
        HEADER RIGHT
==========================*/

.beeq-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


/*==========================
        SEARCH
==========================*/

.beeq-search-box {
    width: 360px;
    height: 52px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 8px 0 18px;
    transition: var(--transition);
}


    .beeq-search-box:hover {
        border-color: #C7D2FE;
    }


    .beeq-search-box:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(30,58,138,.10);
    }


    .beeq-search-box i {
        color: #94A3B8;
        font-size: 18px;
    }


    .beeq-search-box input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        padding: 0 14px;
        font-size: 15px;
    }


        .beeq-search-box input::placeholder {
            color: #94A3B8;
        }


/*==========================
      SEARCH BUTTON
==========================*/

.beeq-search-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}


    .beeq-search-btn:hover {
        background: var(--primary-hover);
    }


/*==========================
      PRIMARY BUTTON
==========================*/

.beeq-btn-primary {
    height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--accent), #FBBF24 );
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(245,158,11,.25);
}


    .beeq-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(245,158,11,.30);
    }


/*==========================
      LIGHT BUTTON
==========================*/

.beeq-btn-light {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    color: #475569;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}


    .beeq-btn-light:hover {
        background: #F8FAFC;
        color: var(--primary);
        border-color: #CBD5E1;
    }


    /*==========================
        BUTTON ICON
==========================*/

    .beeq-btn-primary i,
    .beeq-btn-light i {
        font-size: 18px;
    }


/*==========================
        RESPONSIVE
==========================*/

@media(max-width:992px) {

    .beeq-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .beeq-header-actions {
        width: 100%;
    }

    .beeq-search-box {
        width: 100%;
    }
}

/*==========================================================
            SECTION 3 - TABLE
==========================================================*/


/*==========================
        TABLE CARD
==========================*/

.beeq-table-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}


/*==========================
      TABLE HEADER
==========================*/

.beeq-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid #EEF2F7;
}


    .beeq-table-header h5 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
    }


    .beeq-table-header span {
        color: var(--text-light);
        font-size: 14px;
    }


/*==========================
          TABLE
==========================*/

.beeq-table {
    margin: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}


    .beeq-table thead {
        background: #F8FAFC;
    }


        .beeq-table thead th {
            padding: 18px 22px;
            font-size: 13px;
            font-weight: 700;
            color: #64748B;
            text-transform: uppercase;
            letter-spacing: .6px;
            border: none;
        }


    .beeq-table tbody td {
        padding: 18px 22px;
        vertical-align: middle;
        border-top: 1px solid #F1F5F;
    }


    .beeq-table tbody tr {
        transition: .25s;
    }


        .beeq-table tbody tr:hover {
            background: #FAFBFD;
        }


/*==========================
        SERIAL
==========================*/

.beeq-index {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #EEF4FF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}


/*==========================
      ORGANIZATION
==========================*/

.beeq-org-info {
    display: flex;
    align-items: center;
    gap: 14px;
}


.beeq-org-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #EEF4FF;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}


.beeq-org-name {
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2px;
}


.beeq-org-info small {
    color: #94A3B8;
}


/*==========================
      CONTACT
==========================*/

.beeq-contact div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}


.beeq-contact i {
    color: var(--primary);
}


/*==========================
       LOCATION
==========================*/

.beeq-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}


    .beeq-location i {
        color: #F59E0B;
    }


/*==========================
        ACTION BUTTON
==========================*/

.beeq-action-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #EEF4FF;
    color: var(--primary);
    display: inline-flex; /* change from flex */
    align-items: center;
    justify-content: center;
    transition: .25s;
}


    .beeq-action-btn:hover {
        background: var(--primary);
        color: #fff;
    }


/*==========================
      STATUS SWITCH
==========================*/

.sims-switch {
    display: flex;
    justify-content: center;
}


    .sims-switch .form-check-input {
        width: 48px;
        height: 24px;
        cursor: pointer;
    }


/*==========================
      EMPTY STATE
==========================*/

.beeq-empty {
    min-height: 200px; /* Instead of a very tall container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

    .beeq-empty i {
        font-size: 48px;
        color: #CBD5E1;
        margin-bottom: 16px;
    }

    .beeq-empty h5 {
        margin: 0 0 10px;
        font-size: 2rem;
        font-weight: 700;
    }

    .beeq-empty p {
        margin: 0;
        color: #94A3B8;
        font-size: 1rem;
    }

/*==========================
      MOBILE CARD
==========================*/

.beeq-mobile-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid #E5E7EB;
    margin: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}


.beeq-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}


.beeq-mobile-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #475569;
}


    .beeq-mobile-body div {
        display: flex;
        align-items: center;
        gap: 8px;
    }


.beeq-mobile-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/*==========================================================
        SECTION 4 - PAGINATION & MODAL
==========================================================*/


/*==========================
        PAGINATION CARD
==========================*/

.beeq-pagination-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}


/*==========================
      PAGINATION INFO
==========================*/

.beeq-pagination-info {
    color: #64748B;
    font-size: 15px;
}


.beeq-page-count {
    display: flex;
    align-items: center;
    gap: 10px;
}


    .beeq-page-count i {
        color: var(--primary);
        font-size: 18px;
    }


/*==========================
      PAGINATION BUTTONS
==========================*/

.beeq-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}


.beeq-page-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #F8FAFC;
    color: #475569;
    font-weight: 600;
    transition: .25s;
}


    .beeq-page-btn:hover {
        background: #EEF4FF;
        color: var(--primary);
    }


    .beeq-page-btn.active {
        background: var(--primary);
        color: #fff;
    }


    .beeq-page-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }



/*==========================================================
                    MODAL
==========================================================*/

.beeq-modal {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}


.beeq-modal-header {
    padding: 24px 28px;
    background: #F8FAFC;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


    .beeq-modal-header h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
    }


    .beeq-modal-header p {
        margin-top: 6px;
        color: #64748B;
    }


.beeq-modal-close {
    width: 42px;
    height: 42px;
    border: none;
    background: #fff;
    border-radius: 12px;
    transition: .25s;
}


    .beeq-modal-close:hover {
        background: #EEF4FF;
        color: var(--primary);
    }


.beeq-modal-body {
    padding: 30px;
}


.beeq-modal-footer {
    padding: 22px 30px;
    border-top: none;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}



/*==========================================================
                LABELS
==========================================================*/

.beeq-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}



/*==========================================================
                INPUT
==========================================================*/

.beeq-input {
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 18px;
    transition: .25s;
}


    .beeq-input:hover {
        border-color: #CBD5E1;
    }


    .beeq-input:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(30,58,138,.08);
    }


    .beeq-input i {
        color: #94A3B8;
        font-size: 18px;
    }


    .beeq-input input {
        flex: 1;
        border: none;
        outline: none;
        padding-left: 14px;
        background: transparent;
        font-size: 15px;
    }



/*==========================================================
            BUTTON ANIMATION
==========================================================*/

.beeq-btn-primary,
.beeq-btn-light,
.beeq-action-btn,
.beeq-page-btn {
    transition: transform .25s, box-shadow .25s, background .25s;
}


    .beeq-btn-primary:hover,
    .beeq-action-btn:hover {
        transform: translateY(-2px);
    }



/*==========================================================
                SCROLLBAR
==========================================================*/

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94A3B8;
    }



/*==========================================================
                RESPONSIVE
==========================================================*/

@media(max-width:992px) {

    .desktop-row {
        display: none;
    }
}


@media(min-width:993px) {

    .mobile-row {
        display: none;
    }
}


@media(max-width:768px) {

    .beeq-page {
        padding: 15px;
    }

    .beeq-page-title {
        font-size: 24px;
    }

    .beeq-search-box {
        width: 100%;
    }

    .beeq-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .beeq-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .beeq-btn-light {
        width: 100%;
        justify-content: center;
    }

    .beeq-pagination-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .beeq-pagination {
        width: 100%;
        justify-content: center;
    }

    .beeq-modal-body {
        padding: 20px;
    }
}

/*=============================
        TOKEN PANEL
=============================*/

.beeq-panel {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 520px;
    overflow: auto;
}

.modern-service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    cursor: pointer;
    transition: .25s ease;
}

    .modern-service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(0,0,0,.08);
    }

    .modern-service-card.active {
        border: 2px solid #4f7cff;
        background: #f6f9ff;
    }

.token-preview-card {
    background: linear-gradient(135deg,#4f7cff,#6c63ff);
    color: #fff;
    border-radius: 22px;
    padding: 30px;
    text-align: center;
}

    .token-preview-card small {
        opacity: .85;
        letter-spacing: 2px;
        font-weight: 600;
    }

.preview-text {
    margin-top: 12px;
    font-weight: 700;
}

.success-card {
    background: linear-gradient(135deg,#10b981,#34d399);
}

.generated-token {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-top: 15px;
}
.beeq-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,#4F7CFF,#6366F1);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: .25s;
}
/*=============================
        CUSTOMER MODAL
=============================*/

.beeq-vip-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e9edf5;
    border-radius: 16px;
    background: #fafbfd;
    min-height: 58px;
    transition: .25s;
}

    .beeq-vip-card:hover {
        border-color: #4f7cff;
        background: #f5f8ff;
    }


/*==================================================
    ROLE PERMISSION HEADER
==================================================*/

.beeq-role-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.beeq-role-select {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    height: 58px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    transition: .25s;
}

    .beeq-role-select:hover {
        border-color: #4F6EF7;
    }

    .beeq-role-select i {
        color: #4F6EF7;
        font-size: 18px;
        flex-shrink: 0;
    }



    .beeq-role-dropdown:focus {
        outline: none;
    }

.beeq-role-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
}

.beeq-role-name {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #1e293b;
}

    .beeq-role-name i {
        color: #4F6EF7;
    }

.beeq-role-divider {
    color: #cbd5e1;
    font-weight: 700;
}

.beeq-role-count {
    font-weight: 500;
    color: #64748b;
}

/* Responsive */

@media (max-width:992px) {

    .beeq-role-toolbar {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        align-items: stretch;
    }

    .beeq-role-select {
        width: 100%;
        min-width: 100%;
    }

    .beeq-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .beeq-role-info {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
}

.beeq-role-dropdown {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #172554;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 8px;
    padding-right: 36px;
}

    .beeq-role-dropdown:focus {
        outline: none;
    }

/* ==========================================
   DISPLAY FILTER
========================================== */

.beeq-filter-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 230px;
    height: 52px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #dfe7f5;
    border-radius: 14px;
    transition: .25s;
}

    .beeq-filter-box:hover {
        border-color: #4F6EF7;
    }

    .beeq-filter-box i {
        color: #4F6EF7;
        font-size: 18px;
        flex-shrink: 0;
    }

    .beeq-filter-box select {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        .beeq-filter-box select:focus {
            outline: none;
        }

.beeq-delete-btn {
    color: #dc3545;
    border-color: #f1b7bd;
}

    .beeq-delete-btn:hover {
        background: #dc3545;
        color: #fff;
        border-color: #dc3545;
    }


/*==============================================================
    SIDEBAR
==============================================================*/

#sidebar {
    background: #ffffff;
    height: 100%;
    padding: 14px 12px;
    overflow-y: auto;
    border-right: 1px solid #e9eef5;
    box-shadow: 4px 0 20px rgba(15,23,42,.05);
    transition: all .3s ease;
}

    /*==============================================================
    SCROLLBAR
==============================================================*/

    #sidebar::-webkit-scrollbar {
        width: 6px;
    }

    #sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    #sidebar::-webkit-scrollbar-thumb {
        background: #ccd6e2;
        border-radius: 20px;
    }

        #sidebar::-webkit-scrollbar-thumb:hover {
            background: #aebdd2;
        }

/*==============================================================
    MENU
==============================================================*/

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-menu .nav-item {
        margin-bottom: 5px;
    }

    /*==============================================================
    NAV LINK
==============================================================*/

    .sidebar-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        color: #334155;
        font-weight: 600;
        font-size: 14px;
        border-radius: 16px;
        padding: 12px 22px;
        transition: all .25s ease;
        position: relative;
        overflow: hidden;
        text-decoration: none;
    }

        /*==============================================================
    ICON
==============================================================*/

        .sidebar-menu .nav-link i {
            width: 24px;
            text-align: center;
            font-size: 17px;
            color: #64748b;
            transition: all .25s ease;
        }

        /*==============================================================
    HOVER
==============================================================*/

        .sidebar-menu .nav-link:hover {
            background: linear-gradient(90deg,#ff8c00,#f6b000);
            color: #fff;
            transform: translateX(5px);
            box-shadow: 0 10px 22px rgba(246,176,0,.35);
        }

            .sidebar-menu .nav-link:hover i {
                color: #fff;
                transform: scale(1.12);
            }

        /*==============================================================
    ACTIVE
==============================================================*/

        .sidebar-menu .nav-link.active {
            background: linear-gradient(90deg,#ff8c00,#f6b000) !important;
            color: #fff !important;
            box-shadow: 0 12px 25px rgba(246,176,0,.35);

        }

            .sidebar-menu .nav-link.active i {
                color: #fff !important;
            }

 /*==============================================================
    LEFT INDICATOR
==============================================================*/

        .sidebar-menu .nav-link::before {
            content: "";
            position: absolute;
            left: 8px;
            top: 8px;
            bottom: 8px;
            width: 4px;
            background: #ffd54f;
            border-radius: 20px;
            transform: scaleY(0);
            transition: .25s;
        }

        .sidebar-menu .nav-link:hover::before,
        .sidebar-menu .nav-link.active::before {
            transform: scaleY(1);
        }

/*==============================================================
    SUBMENU
==============================================================*/

.submenu {
    list-style: none;
    padding-left: 24px;
    margin-top: 4px;
    border-left: none;
    margin-left: 18px;
}

    .submenu li {
        margin: 4px 0;
    }

    .submenu .nav-link {
        padding: 12px 18px;
        font-size: 13px;
        font-weight: 500;
        color: #64748b;
        border-radius: 10px;
    }

        .submenu .nav-link:hover {
            background: rgba(246,176,0,.12);
            color: #ff8c00;
            transform: translateX(3px);
        }

        .submenu .nav-link.active {
            background: rgba(246,176,0,.18) !important;
            color: #ff8c00 !important;
        }

            .submenu .nav-link.active::before {
                background: #2563eb;
            }

/*==============================================================
    PARENT MENU
==============================================================*/

.has-submenu {
    cursor: pointer;
    user-select: none;
}

/*==============================================================
    SMOOTH EFFECT
==============================================================*/

.sidebar-menu .nav-link,
.sidebar-menu .nav-link i,
.submenu .nav-link {
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}


    .submenu .nav-link::before {
        left: -8px !important;
        width: 3px;
    }


.wave {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave-animation 2.5s ease-in-out infinite;
}

@keyframes wave-animation {

    0%, 60%, 100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(18deg);
    }

    20% {
        transform: rotate(-12deg);
    }

    30% {
        transform: rotate(18deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(10deg);
    }
}


.display-empty-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

    .display-empty-icon i {
        font-size: 70px;
        color: #22c55e;
        display: inline-block;
        transform-origin: center;
        animation: hourglassFlip 2.5s ease-in-out infinite;
    }


/*   for Displayboard*/

@keyframes hourglassFlip {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    20% {
        transform: rotate(0deg) translateY(-4px);
    }

    50% {
        transform: rotate(180deg) translateY(0);
    }

    70% {
        transform: rotate(180deg) translateY(-4px);
    }

    100% {
        transform: rotate(360deg) translateY(0);
    }
}

/* ==========================================
   BeeQ Close Button
========================================== */

.beeq-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    background: #F8FAFC;
    color: #374151;
}

    .beeq-close-btn i {
        font-size: 18px;
        font-weight: 700;
    }

/* Dark Mode */
[data-theme="dark"] .beeq-close-btn {
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.30);
    color: #FBBF24;
}

/* Hover */
.beeq-close-btn:hover {
    background: #F59E0B;
    color: #fff;
    transform: rotate(90deg);
}





/* ==========================================================
   BEEQ ROOT / APPLICATION BACKGROUND
   Prevents white gaps outside page content
========================================================== */

html,
body,
#app {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
}

#app {
    min-height: 100vh;
}


/* ==========================================================
   LIGHT THEME
========================================================== */

html:has(body.light-theme),
body.light-theme,
body.light-theme #app {
    background-color: #f5f7fb !important;
}


/* ==========================================================
   DARK THEME
========================================================== */

html:has(body.dark-theme),
body.dark-theme,
body.dark-theme #app {
    background-color: #0f172a !important;
}

.beeq-orange-badge {
    background: linear-gradient(135deg, #ff9800, #ff6d00) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(255, 138, 0, 0.22);
}


/* ==========================================================
   BEEQ LOGIN LOADER - FINAL OVERRIDE
   Put this at the VERY BOTTOM of the CSS file
========================================================== */

/* FULL SCREEN OVERLAY */
body .loader-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: beeqLoaderOverlayIn .2s ease-out !important;
}


    /* ==========================================================
   MAIN OUTER RING
========================================================== */

    body .loader-overlay .loader {
        --loader-white: #ffffff;
        --loader-orange: #ff8a00;
        position: relative !important;
        display: inline-block !important;
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        border-style: solid !important;
        border-width: 4px !important;
        border-top-color: var(--loader-white) !important;
        border-right-color: var(--loader-white) !important;
        border-bottom-color: transparent !important;
        border-left-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        transform-origin: center center !important;
        animation: beeqLoaderRotation 1s linear infinite !important;
        filter: drop-shadow(0 0 5px rgba(255,255,255,.15)) drop-shadow(0 0 9px rgba(255,138,0,.25)) !important;
    }


        /* ==========================================================
   REMOVE OLD LOADER PSEUDO ELEMENT SETTINGS
========================================================== */

        body .loader-overlay .loader::before,
        body .loader-overlay .loader::after {
            content: "" !important;
            position: absolute !important;
            display: block !important;
            box-sizing: border-box !important;
            margin: auto !important;
            border-style: solid !important;
            border-radius: 50% !important;
            background: transparent !important;
            box-shadow: none !important;
            opacity: 1 !important;
            transform-origin: center center !important;
        }


        /* ==========================================================
   MIDDLE ORANGE RING
========================================================== */

        body .loader-overlay .loader::after {
            width: 46px !important;
            height: 46px !important;
            min-width: 46px !important;
            min-height: 46px !important;
            left: 0 !important;
            right: 0 !important;
            top: 0 !important;
            bottom: 0 !important;
            border-width: 4px !important;
            border-top-color: transparent !important;
            border-right-color: transparent !important;
            border-bottom-color: var(--loader-orange) !important;
            border-left-color: var(--loader-orange) !important;
            animation: beeqLoaderRotationBack .55s linear infinite !important;
        }


        /* ==========================================================
   INNER WHITE RING
========================================================== */

        body .loader-overlay .loader::before {
            width: 34px !important;
            height: 34px !important;
            min-width: 34px !important;
            min-height: 34px !important;
            left: 0 !important;
            right: 0 !important;
            top: 0 !important;
            bottom: 0 !important;
            border-width: 3px !important;
            border-top-color: var(--loader-white) !important;
            border-right-color: var(--loader-white) !important;
            border-bottom-color: transparent !important;
            border-left-color: transparent !important;
            animation: beeqLoaderRotationInner 1.4s linear infinite !important;
        }


/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes beeqLoaderRotation {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes beeqLoaderRotationBack {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}


@keyframes beeqLoaderRotationInner {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes beeqLoaderOverlayIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================
   TOAST ABOVE LOGIN LOADER
========================================================== */

body .toast-wrapper {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 100001 !important;
    /* Toast itself must NOT inherit the loader blur */
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

    body .toast-wrapper .sims-toast {
        position: relative !important;
        z-index: 100002 !important;
        opacity: 1;
        filter: none !important;
    }


