:root {
    /* Base brand colors as CSS variables */
    --brand-primary: #00608F;
    --brand-primary-dark: #004d73;
    --brand-primary-darker: #003b59;
    --brand-primary-light: rgba(0, 96, 143, 0.1);
    --brand-secondary: #0077B5;
    /* Common button styling variables */
    --button-border-radius: 8px;
    --button-height: 38px;
    --button-padding-x: 12px;
    --button-padding-y: 4px;
    --button-font-weight: 500;
    --button-transition: all 0.2s ease;
    --button-focus-shadow: 0 0 0 3px rgba(0, 96, 143, 0.25);
}

/* Button with pulse and bounce emphasis */
.btn-pulse {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    animation: btn-pulse 2s infinite, btn-bounce 2s infinite;
    font-weight: bold;
}

.btn-outline-pulse {
    color: #007bff; /* Text color to match the pulsing outline */
    border: 1px solid #007bff; /* Initial border */
    background-color: transparent; /* Ensure the button background is transparent */
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.8); /* Starting shadow */
    animation: btn-pulse 2s infinite, btn-bounce 2s infinite;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.8);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

@keyframes btn-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-1.5px);
    }
}

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1001; /* Lower than highlighted element but above sidebar */
    pointer-events: none; /* Allow interaction with elements beneath */
    -webkit-mask-image: linear-gradient(black, black); /* Default mask */
    mask-image: linear-gradient(black, black); /* Default mask */
    mask-mode: alpha;
}

/* If you still want to keep some styling for the highlighted element */
.element-highlighted {
    z-index: 1002; /* Higher than tour-overlay */
    position: relative; /* Ensure it's positioned above the overlay */
}

.tour-step {
    position: fixed;
    z-index: 1002; /* Higher than tour-overlay */
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 350px;
    /* Remove any default positioning if you had */
}

.tour-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

    .tour-arrow.down {
        /* Flip the arrow to point upwards */
        border-bottom: none;
        border-top: 10px solid white;
        top: 100%;
        bottom: auto;
        transform: translateX(-50%);
    }

    /* Ensure these classes don't interfere with inline styles */
    .tour-arrow.left {
        left: auto;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .tour-arrow.right {
        left: -10px;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }

.rounded-panel {
    border-radius: 11px !important;
}

.flat-panel {
    box-shadow: none !important;
    transition: none !important;
    border: none !important;
}

    .flat-panel:hover {
        border: none !important;
        transition: none !important;
    }


/* Keep original button styling */
.btn-brand {
    background-color: var(--brand-primary) !important;
    color: white !important;
    border: none !important;
    transition: var(--button-transition);
}

    .btn-brand:hover {
        background-color: var(--brand-primary-dark) !important;
        color: white !important;
    }

    .btn-brand:active {
        background-color: var(--brand-primary-darker) !important;
        box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.2) !important;
    }

.btn-outline-brand {
    background-color: transparent !important;
    color: var(--brand-primary) !important;
    border: 1px solid var(--brand-primary) !important;
    transition: var(--button-transition);
    font-weight: bold;
}

    .btn-outline-brand:hover {
        background-color: var(--brand-primary) !important;
        color: white !important;
        font-weight: bold;
    }

    .btn-outline-brand:active {
        background-color: var(--brand-primary-dark) !important;
        color: white !important;
        box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.2) !important;
        font-weight: bold;
    }

/* Utility classes */
.border-brand {
    border-color: var(--brand-primary) !important;
    border-width: 2px !important;
}

.text-brand {
    color: var(--brand-primary) !important;
}

.bg-brand {
    background-color: var(--brand-primary) !important;
    color: white !important;
}

.bg-brand-light {
    background-color: var(--brand-primary-light) !important;
}

/* More subtle card styling */
.card {
    border-radius: var(--button-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* More subtle SfGrid styling */
.e-grid {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 96, 143, 0.1) !important;
    overflow: hidden !important;
}

    /* Pager Styling */
    .e-grid .e-pager {
        background-color: #f9fbfd !important;
        border: none !important;
        color: #555 !important;
        padding: 8px 20px !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }

        .e-grid .e-pager .e-pagercontainer {
            background: transparent !important;
        }

        .e-grid .e-pager .e-icons {
            background: transparent !important;
        }

        .e-grid .e-pager .e-spacing {
            padding: 0 10px !important;
        }

        .e-grid .e-pager .e-link {
            border-radius: 50% !important;
            width: 36px !important;
            height: 36px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.2s ease !important;
        }

        .e-grid .e-pager .e-numericitem {
            border: none !important;
            background-color: transparent !important;
            margin: 0 2px !important;
        }

            .e-grid .e-pager .e-numericitem:hover {
                background-color: rgba(0, 96, 143, 0.1) !important;
                color: var(--brand-primary) !important;
            }

        /* Current page indicator with brand color */
        .e-grid .e-pager .e-currentitem {
            background: linear-gradient(135deg, var(--brand-primary), #007bff) !important;
            border-color: transparent !important;
            color: white !important;
            text-decoration: none !important;
            border-bottom: none !important;
        }

    /* Preserve row styling but make it more subtle */
    .e-grid .e-row {
        border: none !important;
    }

    .e-grid .e-altrow {
        background-color: rgba(0, 96, 143, 0.03) !important;
    }

    .e-grid .e-row:hover {
        background-color: rgba(0, 96, 143, 0.06) !important;
    }

    /* Selected Row */
    .e-grid .e-row.e-selected {
        background-color: rgba(0, 96, 143, 0.1) !important;
        color: var(--brand-primary) !important;
        border-left: 3px solid var(--brand-primary) !important;
    }

    /* Cell Styling */
    .e-grid .e-rowcell {
        border: none !important;
        border-bottom: 1px solid rgba(0, 96, 143, 0.08) !important;
        padding: 10px 16px !important;
        color: #444 !important;
    }

    /* Custom Scroll Bar - keep this as is */
    .e-grid ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .e-grid ::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .e-grid ::-webkit-scrollbar-thumb {
        background: rgba(0, 96, 143, 0.3);
        border-radius: 4px;
    }

        .e-grid ::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 96, 143, 0.5);
        }

    /* Toolbar styling*/
    .e-grid .e-toolbar .e-toolbar-items .e-toolbar-item .e-btn {
        font-weight: 400 !important
    }


    .e-grid .e-control .e-toolbar-items .e-toolbar-item .e-btn {
        border-radius: initial !important;
        padding: initial !important;
    }


/* Consistent Form Control Styling - Both Bootstrap and Syncfusion */
.form-control,
.form-select,
.input-group,
.input-group-text {
    border-radius: var(--button-border-radius) !important;
    border: 1px solid rgba(0, 96, 143, 0.2) !important;
    transition: all 0.2s ease !important;
    z-index: 1;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand-primary) !important;
        box-shadow: 0 0 0 3px rgba(0, 96, 143, 0.1) !important;
        border-radius: var(--button-border-radius) !important;
    }

    .form-control:hover,
    .form-select:hover,
    .input-group:hover .form-control,
    .input-group:hover .input-group-text {
        border-color: rgba(0, 96, 143, 0.4) !important;
    }

    /* Handle input groups properly */
    .input-group > .form-control,
    .input-group > .form-select {
        border-radius: 0 !important;
    }

        .input-group > .form-control:first-child,
        .input-group > .input-group-text:first-child {
            border-top-left-radius: var(--button-border-radius) !important;
            border-bottom-left-radius: var(--button-border-radius) !important;
        }

        .input-group > .form-control:last-child,
        .input-group > .input-group-text:last-child {
            border-top-right-radius: var(--button-border-radius) !important;
            border-bottom-right-radius: var(--button-border-radius) !important;
        }

/* Completely reset Syncfusion controls to avoid nesting issues */
.e-control.e-input,
.e-input-group,
.e-control.e-textbox,
.e-control.e-textarea,
.e-control.e-multiselect,
.e-control.e-dropdownlist,
.e-control.e-numerictextbox,
.e-float-input.e-control-wrapper,
.e-float-input.e-input-group,
.e-ddl.e-input-group {
    border-radius: var(--button-border-radius) !important;
    border: 1px solid rgba(0, 96, 143, 0.2) !important;
    transition: all 0.2s ease !important;
    background-color: white !important;
}

    /* Fix the double border issues by removing inner borders completely */
    .e-input-group input.e-input,
    .e-input-group textarea.e-input,
    .e-input-group.e-control-wrapper input.e-input,
    .e-float-input input,
    .e-float-input.e-input-group input.e-input,
    .e-control.e-textbox input,
    .e-control.e-numerictextbox input {
        border: none !important;
        background-color: transparent !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Fix the issues with input group focus states */
    .e-input-group:focus-within,
    .e-input-group.e-input-focus,
    .e-control.e-textbox:focus-within,
    .e-control.e-numerictextbox:focus-within,
    .e-control.e-dropdownlist:focus-within,
    .e-control.e-multiselect:focus-within {
        border-color: var(--brand-primary) !important;
        box-shadow: 0 0 0 3px rgba(0, 96, 143, 0.1) !important;
    }

    /* Hover state - apply to outer container only */
    .e-input-group:hover,
    .e-control.e-textbox:hover,
    .e-control.e-numerictextbox:hover,
    .e-control.e-dropdownlist:hover,
    .e-control.e-multiselect:hover {
        border-color: rgba(0, 96, 143, 0.4) !important;
    }

    /* Remove any borders from dropdown icon containers */
    .e-input-group:not(.e-disabled) .e-input-group-icon,
    .e-input-group .e-clear-icon,
    .e-ddl .e-input-group-icon,
    .e-numeric .e-input-group-icon {
        border-left: none !important;
        background-color: transparent !important;
        color: var(--brand-primary) !important;
    }

    /* Cancel out any inner borders for Syncfusion controls */
    .e-input-group .e-input-group-icon:not(:first-child) {
        border-left: none !important;
    }

/* Fix for Syncfusion dropdown popup styling issues */

/* Make the popup container fully rounded */
/* Main dropdown popup container */
.e-popup.e-ddl.e-popup-open {
    border-radius: var(--button-border-radius) !important;
    border: 1px solid rgba(0, 96, 143, 0.1) !important;
    box-shadow: 0 6px 16px rgba(0, 96, 143, 0.15) !important;
    overflow: visible !important; /* Allow content to overflow for scrollbars */
}

    /* Remove any conflicting overflow property from any container */
    .e-popup.e-ddl.e-popup-open .e-content,
    .e-popup.e-ddl.e-popup-open .e-dropdownbase,
    .e-dropdownbase .e-list-parent,
    .e-dropdown-popup {
        overflow: visible !important;
        border-radius: var(--button-border-radius) !important;
    }

.e-dropdownbase.e-multiselect,
.e-numeric.e-input-group .e-control,
.e-ddl.e-input-group .e-control,
.e-date-wrapper.e-input-group .form-control,
.input-group .form-control,
.input-group .input-group-text,
.input-group .btn,
.list-group-item .input-group,
.input-group .form-select {
    border: none !important;
}

/* Target directly the scrollable container */
.e-dropdownbase .e-list-parent {
    max-height: 250px !important; /* Set a maximum height to trigger scrolling */
    overflow-y: auto !important; /* Enable vertical scrolling */
    overflow-x: hidden !important; /* Hide horizontal scrolling */
}

    /* Enhance scrollbar styling */
    .e-dropdownbase .e-list-parent::-webkit-scrollbar {
        width: var(--button-border-radius) !important;
    }

    .e-dropdownbase .e-list-parent::-webkit-scrollbar-track {
        background: #f5f5f5 !important;
        border-radius: 4px !important;
    }

    .e-dropdownbase .e-list-parent::-webkit-scrollbar-thumb {
        background-color: rgba(0, 96, 143, 0.3) !important;
        border-radius: 4px !important;
    }

        .e-dropdownbase .e-list-parent::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 96, 143, 0.5) !important;
        }

/* Style dropdown list items */
.e-dropdownbase .e-list-item {
    padding: 3px 6px
}

/* Ensure dropdown header styling is consistent */
.e-ddl.e-popup .e-list-group-header {
    font-weight: 500 !important;
    background-color: #f8f9fa !important;
    color: var(--brand-primary) !important;
    border-bottom: 1px solid rgba(0, 96, 143, 0.1) !important;
}


/* Style for selected chips in multiselect */
.e-multi-select-wrapper .e-chips {
    background-color: rgba(0, 96, 143, 0.1) !important;
    border: 1px solid rgba(0, 96, 143, 0.15) !important;
    color: var(--brand-primary) !important;
    -webkit-text-fill-color: var(--brand-primary) !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
}
    .e-multi-select-wrapper .e-chips .e-chipcontent {
        color: var(--brand-primary) !important;
        -webkit-text-fill-color: var(--brand-primary) !important;
    }

    .e-multi-select-wrapper .e-chips .e-chips-close {
        color: var(--brand-primary) !important;
        -webkit-text-fill-color: var(--brand-primary) !important;
    }
    .e-multi-select-wrapper .e-chips:hover {
        background-color: rgba(0, 96, 143, 0.15) !important;
    }

    .e-multi-select-wrapper .e-chips .e-chips-close:hover {
        color: #dc3545 !important;
    }



/* Improve selected items in dropdown */
.e-dropdownbase .e-list-item.e-active,
.e-dropdownbase .e-list-item.e-active.e-hover {
    background-color: rgba(0, 96, 143, 0.1) !important;
    color: var(--brand-primary) !important;
}

.e-dropdownbase .e-list-item.e-hover {
    background-color: rgba(0, 96, 143, 0.05) !important;
}



/* Rounded Card Header with gradient border */
.card-header {
    background-color: #f8f9fa;
    border-top-right-radius: var(--button-border-radius) !important;
    border-top-left-radius: var(--button-border-radius) !important;
}



/* Standardized Button Styling for Bootstrap and Syncfusion buttons */
/* Bootstrap button base styling */
.btn {
    border-radius: var(--button-border-radius) !important;
    min-height: var(--button-height) !important;
    padding: var(--button-padding-y) var(--button-padding-x) !important;
    font-weight: var(--button-font-weight) !important;
    transition: var(--button-transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .btn:focus {
        box-shadow: var(--button-focus-shadow) !important;
    }

/* Syncfusion button base styling */
.e-btn,
button.e-btn,
.e-control.e-btn,
.e-css.e-btn {
    border-radius: var(--button-border-radius) !important;
    min-height: var(--button-height) !important;
    padding: var(--button-padding-y) var(--button-padding-x) !important;
    font-weight: var(--button-font-weight) !important;
    transition: var(--button-transition) !important;
    text-transform: none !important;
}

    .e-btn:focus {
        box-shadow: var(--button-focus-shadow) !important;
    }

    /* Specific styling for icon-only buttons */
    .e-btn.e-icon-btn,
    .btn.btn-icon {
        width: var(--button-height) !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

/* Button Group Styling - Unified and Optimized */
.e-btn-group,
.btn-group {
    border-radius: 0 !important;
    display: inline-flex !important;
    overflow: visible !important;
    border: none !important;
}

    /* Standard button styling in groups */
    .e-btn-group .e-btn,
    .e-btn-group label.e-btn,
    .btn-group .btn {
        border-radius: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 0 !important;
        border-width: 1px !important;
    }

        /* First button/label styling */
        .e-btn-group .e-btn:first-child,
        .e-btn-group button.e-btn:first-child,
        .e-btn-group div.e-btn:first-child,
        .e-btn-group label.e-btn:first-child,
        .e-btn-group.e-round-corner .e-btn:first-child,
        .e-btn-group input[type="radio"]:first-of-type + label.e-btn,
        [class*="e-btn-group"] .e-btn:first-child,
        .btn-group .btn:first-child {
            border-top-left-radius: var(--button-border-radius) !important;
            border-bottom-left-radius: var(--button-border-radius) !important;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            border-right-width: 1px !important;
            z-index: 1 !important;
        }

        /* Last button/label styling */
        .e-btn-group .e-btn:last-child,
        .e-btn-group button.e-btn:last-child,
        .e-btn-group div.e-btn:last-child,
        .e-btn-group label.e-btn:last-child,
        .e-btn-group .e-css.e-btn:last-child,
        [class*="e-btn-group"] .e-btn:last-child,
        .btn-group .btn:last-child {
            border-top-right-radius: var(--button-border-radius) !important;
            border-bottom-right-radius: var(--button-border-radius) !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            z-index: 1 !important;
        }

        /* Fix for single button in group */
        .e-btn-group .e-btn:first-child:last-child,
        .e-btn-group .e-btn:only-child,
        .btn-group .btn:first-child:last-child,
        .btn-group .btn:only-child,
        div.e-btn-group .e-btn:only-child {
            border-radius: var(--button-border-radius) !important;
        }

        /* Prevent double borders */
        .e-btn-group .e-btn:not(:first-child),
        .e-btn-group label.e-btn:not(:first-child),
        .btn-group .btn:not(:first-child) {
            margin-left: -1px !important;
        }

        /* Right edge of first button enhancement */
        .e-btn-group .e-btn:first-child::after,
        div.e-btn-group .e-btn:first-child::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 1px;
            background-color: inherit;
            z-index: 2;
        }

        /* Interactive state styling */
        .e-btn-group .e-btn:hover,
        .e-btn-group .e-btn:focus,
        .e-btn-group .e-btn:active,
        .e-btn-group .e-btn.e-active,
        .e-btn-group label.e-btn:hover,
        .e-btn-group label.e-btn:focus-within,
        .e-btn-group input[type="radio"]:checked + label.e-btn {
            z-index: 3 !important;
            position: relative !important;
        }

    /* Vertical button groups */
    /* Enhanced vertical button group styling */
    .e-btn-group.e-vertical {
        flex-direction: column !important;
    }

        /* Reset horizontal styling for vertical groups */
        .e-btn-group.e-vertical .e-btn:first-child,
        .e-btn-group.e-vertical button.e-btn:first-child,
        .e-btn-group.e-vertical div.e-btn:first-child,
        .e-btn-group.e-vertical label.e-btn:first-child,
        .e-btn-group.e-vertical input[type="radio"]:first-of-type + label.e-btn {
            /* Override horizontal first-child styling */
            border-top-left-radius: var(--button-border-radius) !important;
            border-top-right-radius: var(--button-border-radius) !important;
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            border-right-width: 1px !important; /* Preserve right border */
            border-bottom-width: 1px !important;
        }

        /* Reset horizontal styling for vertical groups */
        .e-btn-group.e-vertical .e-btn:last-child,
        .e-btn-group.e-vertical button.e-btn:last-child,
        .e-btn-group.e-vertical div.e-btn:last-child,
        .e-btn-group.e-vertical label.e-btn:last-child {
            /* Override horizontal last-child styling */
            border-bottom-left-radius: var(--button-border-radius) !important;
            border-bottom-right-radius: var(--button-border-radius) !important;
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
        }

        /* Properly handle margins in vertical layout */
        .e-btn-group.e-vertical .e-btn:not(:first-child),
        .e-btn-group.e-vertical label.e-btn:not(:first-child),
        .btn-group-vertical .btn:not(:first-child) {
            margin-left: 0 !important; /* Remove horizontal margin */
            margin-top: -1px !important; /* Add negative margin for border overlap */
        }

            /* Specific case for middle buttons in vertical groups */
            .e-btn-group.e-vertical .e-btn:not(:first-child):not(:last-child) {
                border-radius: 0 !important;
            }

        /* Handle radio button labels in vertical groups */
        .e-btn-group.e-vertical input[type="radio"] + label.e-btn {
            margin-top: -1px !important;
        }

        /* Special case for single button in a vertical group */
        .e-btn-group.e-vertical .e-btn:only-child,
        .e-btn-group.e-vertical .e-btn:first-child:last-child {
            border-radius: var(--button-border-radius) !important;
        }

        /* Adjust the after pseudo-element for vertical groups */
        .e-btn-group.e-vertical .e-btn:first-child::after {
            top: auto;
            right: 0;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: inherit;
        }

    /* SfButtonGroup radio inputs styling */
    .e-btn-group input[type="radio"] {
        position: absolute !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }

/* Split button styling */
.e-split-btn-wrapper {
    display: inline-flex !important;
    overflow: hidden !important;
    border-radius: var(--button-border-radius) !important;
}

    .e-split-btn-wrapper .e-btn:not(.e-icon-btn) {
        border-right-width: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .e-split-btn-wrapper .e-btn.e-icon-btn {
        border-left-width: 1px !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

/* Icon alignment in buttons */
.e-btn .e-btn-icon,
.e-btn .e-icons,
.btn i,
.btn .oi,
.btn .e-icons {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.btn,
.e-btn,
.btn-group {
    align-items: center !important;
    align-content: center !important;
}

/* Grid command buttons (edit, delete, etc.) */
.e-grid .e-gridcontent .e-rowcell .e-btn,
.e-grid .e-gridcontent .e-rowcell button.e-css.e-btn.e-flat {
    min-height: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    border-radius: 4px !important;
}

/* Fix for Syncfusion buttons in grid toolbars */
.e-grid .e-toolbar .e-btn,
.e-grid .e-toolbar .e-tbar-btn {
    border-radius: var(--button-border-radius) !important;
    min-height: var(--button-height) !important;
    padding: var(--button-padding-y) var(--button-padding-x) !important;
}



.e-split-btn,
.e-dropdown-btn {
    border-radius: var(--button-border-radius) !important;
    min-height: var(--button-height) !important;
}

    .e-split-btn .e-btn-icon.e-icon-right {
        margin-left: 0.5rem !important;
    }

/* Fix small button variants */
.btn-sm,
.e-btn.e-small {
    min-height: 32px !important;
    padding: 4px 8px !important;
    font-size: 0.875rem !important;
}

/* Fix large button variants */
.btn-lg,
.e-btn.e-bigger {
    min-height: 48px !important;
    padding: 10px 20px !important;
    font-size: 1.125rem !important;
}

/* Dialog footer buttons */
.e-footer-content .e-btn {
    margin-left: 8px !important;
}


/* Admin Controls Styling */
.admin-controls-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

    .admin-controls-card .card-header {
        background-color: #f8f9fa;
        font-weight: 500;
    }

    .admin-controls-card .btn {
        padding: 10px 16px;
        font-weight: 500;
    }

@media (max-width: 767px) {
    .admin-controls-card {
        margin-top: 20px;
    }
}