html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
}
/*Set text for site*/
html, body {
    font-family: Helvetica, Arial, sans-serif, 'Times New Roman';
}
/* Fixed Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 56px;
    width: 100%;
    z-index: 1030;
    background-color: #003466 !important;
    border-bottom: 3px solid #6e7e85;
}
/*To control the padding in the splitter*/
.dxbl-splitter-pane-content {
    padding: 0 !important;
}
/*END padding in the splitter*/
/* Main content full width and scrollable */
.main-content {
    margin-top: 56px;
}

.btn-primary {
    background-color: #003466 !important;
    border-color: #003466 !important;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/*.content {
    padding-top: 1.1rem;
}*/

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.dropdown-header {
    background-color: #003f62 !important;
    color: #ffffff !important;
    padding: 5px;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGgg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SAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
/*    CSS Ovverrides */
/*.mynavbar {
    background-color: #003466 !important;
    height: 75px;
    border-bottom: 3px solid #6e7e85;
}*/



/* Full App Height */
/*.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}*/



/* Main layout container (under header) */
/*.layout {
    display: flex;
    flex-grow: 1;
    margin-top: 56px;
    height: calc(100vh - 56px);
}*/

/* Sidebar fixed left */
/*.sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 220px;
    height: calc(100vh - 56px);
    border-right: 1px solid #ddd;
    overflow-y: auto;
    z-index: 1020;
}*/

/*    top nav */
.nav-link {
    color: #ffffff !important;
}

    .nav-link:hover {
        text-decoration: underline;
    }
/**    this is for long text on the devexpress DxFormLayout */
.padding-left-12 {
    padding-left: 12px;
    padding-top: 15px;
}
/**    this is to override Devexpress when there is a label inside <template> on a <DxFormLayoutItem> */
.my-fi .dxbl-fl-ctrl.dxbl-fl-ctrl-nc {
    margin-top: 0px !important;
}

.myMargin {
    margin: 0px;
}

.my-NavBar {
    background-color: #003466 !important;
    color: #ffffff !important;
    border: none !important;
}

/**Causes arrow on menu to slightly move on hover*/
.my-link img {
    transition: transform 0.2s !important;
}

.my-link:hover img {
    transform: translateX(2px) !important;
}

.dxbl-drawer {
    --dxbl-drawer-content-shading-bg: none !important;
}

.btn {
    border-radius: 5px !important;
}
/*Selected menu item*/
.selected-menu-item {
    /* pick colors that fit your theme */
    background-color: #e9edf6 !important;
    /*color: white !important;*/
}
/* Hover effect */
.CtrlSearchWidth {
    max-width: 225px !important;
    min-width: 100px !important;
}

.CtrlMinMaxWidth {
    max-width: 300px !important;
    min-width: 100px !important;
}

.SmallCtrlMinMaxWidth {
    max-width: 125px !important;
    min-width: 75px !important;
}

.LongCtrlMinMaxWidth {
    max-width: 600px !important;
    min-width: 200px !important;
}

.TextBoxMinMaxWidth {
    max-width: 500px !important;
    min-width: 150px !important;
}

.SmallerTextBoxMinMaxWidth {
    max-width: 300px !important;
    min-width: 100px !important;
}

.dxbl-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: top !important;
}

.SideMenuHeader {
    text-align: center;
    font-weight: bold;
    border-bottom: 3px solid #6e7e85;
    color: #003466;
 
}

/* ========================================
   DASHBOARD STYLES
   ========================================
   These styles are specifically for the Dashboard.razor component
   located at /Features/Reports/Dashboard.razor
   
   Includes:
   - Dashboard container layout with sidebar and main area
   - Sidebar styling for dashboard navigation
   - Dashboard toolbar and controls
   - Responsive design for dashboard viewing
   - Role-based UI elements (SiteAdmin features)
   ======================================== */

/* Main dashboard container - full viewport layout */
/*.dashboard-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}*/

/* Left sidebar for dashboard navigation - fixed width */
/*.dashboard-sidebar {
    width: 300px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}*/

/* Hidden sidebar state */
/*.dashboard-sidebar.sidebar-hidden {
    width: 0;
    min-width: 0;
    border-right: none;
    overflow: hidden;
}*/

/* Sidebar header with title and New button */
.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .sidebar-header h4 {
        margin: 0;
        color: #495057;
    }

/* Scrollable content area for dashboard list */
/*.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}*/

/* Dashboard list styling */
.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual dashboard items */
.dashboard-item {
    border-bottom: 1px solid #e9ecef;
}

    .dashboard-item a {
        display: block;
        padding: 5px;
        text-decoration: none;
        color: #495057;
        transition: background-color 0.2s;
    }

        .dashboard-item a:hover {
            background-color: #e9ecef;
            text-decoration: none;
            color: #495057;
        }

    /* Active/selected dashboard item */
    .dashboard-item.active a {
        background-color: #e9edf6;
        color: black;
    }

        .dashboard-item.active a:hover {
            background-color: #0056b3;
            color: white;
        }

/* Dashboard name styling */
.dashboard-name {
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Last modified date styling */
.dashboard-item small {
    display: block;
    margin-top: 0.25rem;
    margin-left: 1.5rem;
    font-size: 0.75rem;
}

.dashboard-item.active small {
    color: rgba(255, 255, 255, 0.8);
}

/* Empty state when no dashboards exist */
.no-dashboards {
    padding: 2rem 1rem;
    text-align: center;
}

/* Main dashboard viewing area */
/*.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}*/

/* Toolbar with dashboard title and controls */
/*.dashboard-toolbar {
    padding: 1rem;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/

/*.current-dashboard-title {
    margin: 0;
    color: #495057;
}
*/
/* DevExpress dashboard viewer container */
/*.dashboard-viewer {
    flex: 1;
    overflow: hidden;
}
*/
/* Placeholder shown when no dashboard is selected */
.dashboard-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.placeholder-content {
    text-align: center;
}

/* Toolbar right side controls */
/*.toolbar-right {
    display: flex;
    align-items: center;
}*/

/* Fancy sidebar toggle button styling */
/*.sidebar-toggle-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}*/

/*.sidebar-toggle-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    color: white;
    border: none;
}*/

/*.sidebar-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}*/

/*.sidebar-toggle-btn i {
    transition: transform 0.3s ease;
}*/

/*.sidebar-toggle-btn:hover i {
    transform: scale(1.1);
}*/

/* Ripple effect for the toggle button */
/*.sidebar-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}*/

/*.sidebar-toggle-btn:active::before {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
}*/

/* End of Dashboard Styles */

.AccordHeader {
    text-align: center !important;
    font-weight: bold !important;
    border-bottom: 3px solid #6e7e85 !important;
    color: #003466 !important;
    background-color: #f8f9fa !important;
}

.SendToReporterButtonPad {
    padding: 20px !important;
    height: 150px !important;
}

canvas {
    width: 100%;
    height: 100%;
    touch-action: none;
}
/*Css for descriptions returned from event types and lookup maintenace*/
.group-description-highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
    /*display: flex;*/
    align-items: center;
    font-size: 1.1em;
    color: #1565c0;
    transition: all 0.3s ease;
}

    .group-description-highlight:hover {
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
    }

    .group-description-highlight i {
        color: #2196f3;
        font-size: 1.2em;
    }

    .group-description-highlight strong {
        color: #0d47a1;
        font-weight: 600;
    }
/*END Css for descriptions returned from event types and lookup maintenace*/

/* ===== Print styles — only show #printable-event-content ===== */
@media print {
    /* Hide everything by default */
    body * {
        visibility: hidden;
    }

    /* Show only the printable content and its children */
    #printable-event-content,
    #printable-event-content * {
        visibility: visible;
    }

    /* Position printable content at top-left, full width */
    #printable-event-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        overflow: visible !important;
        height: auto !important;
    }

    /* Hide elements marked as no-print (e.g., print button) */
    .no-print {
        display: none !important;
    }

    /* Remove splitter constraints for print */
    .dxbl-splitter, .dxbl-splitter-pane {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Allow page breaks inside content */
    html, body {
        overflow: visible !important;
        height: auto !important;
    }

    /* Hide the fixed header during print */
    .header {
        display: none !important;
    }
}
/* ===== End Print styles ===== */


/*Form Header ovverride*/
.dxbl-group-header {
    background-color: #003466 !important;
    color: white !important;
}
.dxbl-group-header-color {
    color: white !important;
}
/*END Form Header ovverride*/
/*Time edit ovverride*/
/* Add to your component's <style> or a shared CSS file */
/* Scope with ::deep if inside a Blazor component */

button[title="Now"] {
    display: none !important;
}
/*End Time edit ovverride*/
/*    End CSS Ovverrides */
