﻿/*Custom CSS class to create or override css classes*/

html, body {
    height: 100vh;
}

.top-buffer {
    margin-top: 15px;
}

#recentReports tr {
    cursor: pointer;
}

.displayHand {
    cursor: pointer;
}

.modal-dialog {
    width: 80%;
    height: 80%;
    padding: 0;
    margin: 0;
    top: 10%;
    left: 15%;
}

.modal-content {
    /*height: 80%;
    min-height: 80%;*/
    height: auto;
    border-radius: 0;
}

/*.modal-backdrop {
    background: none;
    display: none;
}*/

.ui-accordion-header-active {
    background-color: #26856d;
}

    .ui-accordion-header-active :hover {
        background-color: #26856d !important;
    }

.SelectedAgencies-container {
    min-height: 200px;
}

.content-wrapper {
    height: 100%;
    /* overflow-y: auto;*/
    /* scrollbar-face-color: #b46868;*/
}

.btn-info {
    color: #fff;
    background-color: #26856d !important;
    border-color: #21715d !important;
}

    .btn-info:hover {
        color: #fff;
        background-color: #26856d !important;
        border-color: #21715d !important;
    }

    .btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus, .open > .btn-info.dropdown-toggle:hover, .open > .btn-info.dropdown-toggle:focus, .open > .btn-info.dropdown-toggle.focus {
        color: #fff;
        background-color: #26856d;
        border-color: #21715d
    }

.ui-autocomplete {
    z-index: 999 !important;
}

#chkSelectAll {
    padding-left: 10px;
}

.header-checkbox {
    left: 22px;
    position: relative;
}

.display-none-override {
    display: none;
}

.selected {
    background-color: #26856d;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #26856d !important;
    color: white !important;
}

.h-divider {
    border-top: 2px solid #26856d;
    height: 1px;
    margin-bottom: 5px;
    margin-top: 15px;
    width: 100%;
}

th {
    font-weight: bold !important;
    text-align: center !important;
}

.fa {
    margin-right: 5px;
}

.refreshbtn {
    margin-right: 15px;
    margin-top: -9px;
}

.footer {
    background-color: #247e67;
    /*  background-image: linear-gradient(to right, #26856d 0%, #36bd9a 100%);*/
    background-repeat: repeat-x;
    border: 0 none;
    /*max-height: 12px;*/
    color: #fff;
}

#myOverlayspinner {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background:rgba(255,255,255,0.5);*/
}

#myOverlayspinner {
    background: #cccccc;
    opacity: .5;
    z-index: 1000;
    display: none;
}

.editicon {
    color: #ff6a00;
}

.tid-bids {
    cursor: pointer;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid !important;
    background: #26856d !important;
    /*background: #ffffff !important;*/
    font-weight: normal;
    color: #ffffff;
}

h4 {
    font-weight: normal !important;
    color: #6f6f6f;
}

.ui-widget {
    font-family: inherit !important;
}

.qtip {
    font-family: inherit !important;
}

fieldset {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}



.ui-dialog {
    z-index: 999 !important;
}

/*:target {
    z-index: 2;
    color: #fff;
    background-color: #5d9cec;
    border-color: #5d9cec;
}*/

.theme-green {
    background-color: #26856d;
    color: #fff;
}

.theme-green-font {
    color: #26856d;
}

.systemTypes {
    height: 400px;
    overflow-y: scroll;
}

.systemTypesLeft {
    height: 400px;
    overflow-y: scroll;
    /*direction: ltr;*/
    /*transform: scaleX(-1);*/
}


.highlighrow td {
    background-color: #CD5360;
}

a.list-group-item:hover, a.list-group-item:focus, button.list-group-item:hover, button.list-group-item:focus {
    text-decoration: none;
    color: #555;
    background-color: #e9e9e9 !important;
}

.Ctooltip {
    color: red;
    background-color: black;
}

/*.dataTables_filter
{
    display:none;
}*/

.Warning {
    background-color: #f5a2a2 !important;
}

.Processing {
    background-color: #f5cf8b !important;
}

.list-group-item {
    cursor: pointer;
}

    .list-group-item:hover {
        background-color: #ddd;
    }

.text-info {
    color: #247e67 !important;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: transparent !important;
}

.required {
    color: #e50000;
}

.tabButtons {
    padding: .5em 1em;
    color: #454545;
    border-color: white;
    font-family: inherit !important;
    border-radius: 4px;
}

    .tabButtons.active {
        background-color: #26856d;
        color: white;
        font-family: inherit !important;
        border-radius: 4px;
    }
.tabPanel {
    padding: 1em 1.4em;
}
.pb-4 {
    padding-bottom: 3.5rem !important; /* Adjust the value as needed */
}

/* === DATERANGEPICKER KEYBOARD NAVIGATION STYLES === */

/* Main daterangepicker element focus */
.dateAndTime:focus,
#executionDateRangeSS:focus {
    outline: 2px solid #26856d !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 2px rgba(38, 133, 109, 0.2) !important;
    background-color: rgba(38, 133, 109, 0.05) !important;
    border-color: #26856d !important;
}

/* Enhanced focus for keyboard navigation */
.dateAndTime.keyboard-focus,
#executionDateRangeSS.keyboard-focus {
    outline: 2px solid #26856d !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 3px rgba(38, 133, 109, 0.25) !important;
    background-color: rgba(38, 133, 109, 0.08) !important;
    transform: scale(1.01) !important;
    animation: datePickerFocusPulse 1.5s infinite !important;
}

/* Daterangepicker dropdown container */
.daterangepicker {
    border: 1px solid #26856d !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 10000 !important;
}

/* Preset ranges focus styles */
.daterangepicker .ranges li:focus,
.daterangepicker .ranges li.keyboard-focus {
    outline: 1px solid #26856d !important;
    outline-offset: 1px !important;
    background-color: rgba(38, 133, 109, 0.12) !important;
    color: #1a5f4f !important;
    border-radius: 2px !important;
    transform: scale(1.01) !important;
}

.daterangepicker .ranges li:hover {
    background-color: rgba(38, 133, 109, 0.1) !important;
}

.daterangepicker .ranges li.active {
    background-color: #26856d !important;
    color: white !important;
}

/* Calendar table focus styles */
.daterangepicker .calendar-table td:focus,
.daterangepicker .calendar-table td.keyboard-focus {
    outline: 1px solid #26856d !important;
    outline-offset: 1px !important;
    background-color: rgba(38, 133, 109, 0.15) !important;
    color: #1a5f4f !important;
    font-weight: bold !important;
    transform: scale(1.05) !important;
    border-radius: 2px !important;
    z-index: 10 !important;
    position: relative !important;
}

.daterangepicker .calendar-table td:hover {
    background-color: rgba(38, 133, 109, 0.15) !important;
    cursor: pointer !important;
}

.daterangepicker .calendar-table td.active {
    background-color: #26856d !important;
    color: white !important;
}

.daterangepicker .calendar-table td.in-range {
    background-color: rgba(38, 133, 109, 0.2) !important;
    color: #1a5f4f !important;
}

.daterangepicker .calendar-table td.start-date,
.daterangepicker .calendar-table td.end-date {
    background-color: #26856d !important;
    color: white !important;
    font-weight: bold !important;
}

/* Button focus styles in daterangepicker */
.daterangepicker .applyBtn:focus,
.daterangepicker .cancelBtn:focus,
.daterangepicker .applyBtn.keyboard-focus,
.daterangepicker .cancelBtn.keyboard-focus {
    outline: 2px solid #26856d !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 2px rgba(38, 133, 109, 0.25) !important;
    transform: scale(1.02) !important;
}

.daterangepicker .applyBtn {
    background-color: #26856d !important;
    border-color: #26856d !important;
    color: white !important;
}

.daterangepicker .applyBtn:hover {
    background-color: #1f6b59 !important;
    border-color: #1f6b59 !important;
}

.daterangepicker .cancelBtn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.daterangepicker .cancelBtn:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* Navigation arrows in calendar */
.daterangepicker .prev,
.daterangepicker .next {
    cursor: pointer !important;
    padding: 5px !important;
    border-radius: 3px !important;
}

.daterangepicker .prev:focus,
.daterangepicker .next:focus,
.daterangepicker .prev.keyboard-focus,
.daterangepicker .next.keyboard-focus {
    outline: 1px solid #26856d !important;
    outline-offset: 1px !important;
    background-color: rgba(38, 133, 109, 0.1) !important;
}

.daterangepicker .prev:hover,
.daterangepicker .next:hover {
    background-color: rgba(38, 133, 109, 0.1) !important;
}

/* Month/Year dropdowns focus */
.daterangepicker select.monthselect:focus,
.daterangepicker select.yearselect:focus {
    outline: 1px solid #26856d !important;
    outline-offset: 1px !important;
    border-color: #26856d !important;
    box-shadow: 0 0 0 2px rgba(38, 133, 109, 0.2) !important;
}

/* Time picker focus styles if enabled */
.daterangepicker .hourselect:focus,
.daterangepicker .minuteselect:focus,
.daterangepicker .secondselect:focus,
.daterangepicker .ampmselect:focus {
    outline: 1px solid #26856d !important;
    outline-offset: 1px !important;
    border-color: #26856d !important;
    box-shadow: 0 0 0 2px rgba(38, 133, 109, 0.2) !important;
}

/* Focus animation for daterangepicker elements */
@keyframes datePickerFocusPulse {
    0% { box-shadow: 0 0 0 3px rgba(38, 133, 109, 0.25); }
    50% { box-shadow: 0 0 0 5px rgba(38, 133, 109, 0.15); }
    100% { box-shadow: 0 0 0 3px rgba(38, 133, 109, 0.25); }
}

/* High contrast mode support for daterangepicker */
@media (prefers-contrast: high) {
    .dateAndTime:focus,
    #executionDateRangeSS:focus,
    .daterangepicker .ranges li:focus,
    .daterangepicker .calendar-table td:focus,
    .daterangepicker .applyBtn:focus,
    .daterangepicker .cancelBtn:focus {
        outline: 4px solid #000000 !important;
        outline-offset: 2px !important;
        background-color: #ffff00 !important;
        color: #000000 !important;
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.8) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .dateAndTime.keyboard-focus,
    #executionDateRangeSS.keyboard-focus {
        animation: none !important;
        transform: none !important;
    }
    
    .daterangepicker .ranges li:focus,
    .daterangepicker .calendar-table td:focus {
        transform: none !important;
    }
}

/* Focus indicators for screen readers */
.daterangepicker[aria-modal="true"] {
    border: 3px solid #26856d !important;
}

/* Visual focus ring for better visibility */
.daterangepicker .keyboard-focus {
    position: relative !important;
}

.daterangepicker .keyboard-focus::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid #26856d;
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}


.icon-button {
    cursor: pointer;
    outline: none;
}

    .icon-button:focus {
        outline: 2px solid #007bff; /* or any highlight color */
        outline-offset: 2px;
    }

.mt4 {
    margin-top: 4px !important;
}

.ml5 {
    margin-left: 5px !important;
}

.agencyIdlink {
    color:#3073ad !important;
}
.dx-pager .dx-pages .dx-info {

opacity:1 !important;
}

/* Fba Previous and back button fix */
.paginate_button.disabled,
.paginate_button.disabled:focus,
.paginate_button.disabled:hover
{
    color: #bcbcbc !important; /* Lighter gray for disabled */
    background-color: #eeeeee !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    pointer-events: none !important;
}

.cenPanelMenuHeader {
    padding: 12px 5px;
    color: #515253;
    letter-spacing: .025em;
    font-weight: normal;
    cursor: pointer;
}
h1 {
    margin: 0 !important;
    padding: 10px !important;
}

.dataTable i,
.dataTable .fa {
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em; /* Adjust as needed */
    padding: 0;
    margin: 0 4px; /* Add horizontal spacing if needed */
    box-sizing: border-box;
    border-radius: 4px; /* Optional: for better touch targets */
}

.txtAccountNameSearch {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    max-width: 100vw;
}
.spanLi {
    float: left !important;
    padding: .5em 1em !important;
    text-decoration: none !important;
}
.zeroMarginLR {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

/*#region switch with slider*/



.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide the default checkbox visually but keep it accessible */
    .switch input {
        opacity: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        margin: 0;
        z-index: 1;
        cursor: pointer;
    }

/* The slider track */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border: 1.5px solid #ccc;
    border-radius: 34px;
    transition: background 0.3s, border 0.3s;
}

    /* The knob (circle) */
    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: #fff;
        border: 1.5px solid #bdbdbd;
        border-radius: 50%;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08);
        transition: transform 0.4s, background 0.3s, border 0.3s;
    }

/* Checked state */
input:checked + .slider {
    background-color: #26856d !important;
    border-color: #26856d !important;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

/* Focus state */
input:focus + .slider {
    box-shadow: 0 0 1px #26856d;
}

/* Disabled state */
input:disabled + .slider {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    cursor: not-allowed;
}

    input:disabled + .slider:before {
        background-color: #f5f5f5 !important;
        border-color: #e0e0e0 !important;
    }

input:checked:disabled + .slider {
    background-color: #bdbdbd !important;
    border-color: #bdbdbd !important;
}

    input:checked:disabled + .slider:before {
        background-color: #e0e0e0 !important;
        border-color: #bdbdbd !important;
    }

/* High contrast mode: Use system colors */
@media (forced-colors: active) {
    .slider {
        background: ButtonFace !important;
        border-color: ButtonText !important;
    }

    input:checked + .slider {
        background: Highlight !important;
        border-color: Highlight !important;
    }

    input:disabled + .slider,
    input:checked:disabled + .slider {
        background: GrayText !important;
        border-color: GrayText !important;
    }

        .slider:before,
        input:disabled + .slider:before,
        input:checked:disabled + .slider:before {
            background: ButtonFace !important;
            border-color: ButtonText !important;
            box-shadow: none !important;
        }
}

/* Optional: for vertical alignment in forms */
.switch,
.slider {
    vertical-align: middle;
}

.dx-pager .dx-page-sizes .dx-selection,
.dx-pager .dx-pages .dx-selection {
    cursor: inherit;
    text-shadow: none;
    color: white;
    border-color: transparent;
    background-color: #45A08A;
}

/*#endregion*/

.ml10 {
    margin-left: 10px;
}
.flex{
    display:flex;
}

/* ==================================================================
   DataTable Global Fixes for Latest Version Compatibility
   ==================================================================
   
   Fixes for DataTables 2.x compatibility issues:
   1. Colgroup elements interfering with column widths
   2. Hidden columns creating empty space
   3. Responsive behavior improvements
   ================================================================== */

/* Fix for colgroup elements in DataTables 2.x */
table.dataTable colgroup {
    display: none !important;
}

/* Alternative approach: Set colgroup columns to auto width */
table.dataTable colgroup col {
    width: auto !important;
}

/* Ensure hidden columns with 'hide' class are completely removed from layout */
table.dataTable th.hide,
table.dataTable td.hide {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    visibility: hidden !important;
}

/* Force table layout to be auto to prevent fixed column issues */
table.dataTable {
    table-layout: auto !important;
    width: 100% !important;
}

/* Fix for responsive DataTables with hidden columns */
table.dataTable.dtr-inline.collapsed tbody tr.child td.child {
    padding: 0.5em 1em;
}

/* Ensure proper column resizing */
table.dataTable thead th,
table.dataTable thead td {
    box-sizing: border-box;
}

/* Fix for column alignment issues */
table.dataTable tbody td {
    box-sizing: border-box;
}

/* Override any fixed widths that might cause spacing issues */
table.dataTable.nowrap th,
table.dataTable.nowrap td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive table wrapper fixes */
.dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Fix for tables that have both hidden columns and responsive behavior */
table.dataTable.dtr-inline.collapsed tbody tr td:first-child.child,
table.dataTable.dtr-inline.collapsed tbody tr th:first-child.child {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

/* Ensure table cells collapse properly when hidden */
table.dataTable tbody tr td.hide,
table.dataTable thead tr th.hide,
table.dataTable tfoot tr td.hide,
table.dataTable tfoot tr th.hide {
    max-width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
}

/* Fix for column group headers that might interfere */
table.dataTable thead th.group {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Prevent column width calculation issues in newer DataTables */
table.dataTable.table-layout-fixed {
    table-layout: auto !important;
}

/* Fix for column visibility toggle issues */
.dt-button-collection {
    z-index: 9999 !important;
}


/* Enhanced focus for DataTable headers containing sort icons */
table.dataTable thead th:focus-visible .dt-column-order,
table.dataTable thead td:focus-visible .dt-column-order,
table.dataTable thead th:focus-visible span.dt-column-order,
table.dataTable thead td:focus-visible span.dt-column-order {
    transform: scale(1.05) !important; /* Slight scale for better visibility */
}

/* Ensure focus outline shows above table borders and backgrounds */
table.dataTable thead th:focus-visible::before,
table.dataTable thead td:focus-visible::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #003d82;
    border-radius: 4px;
    pointer-events: none;
    z-index: 21;
    box-shadow: 0 0 8px rgba(0, 61, 130, 0.3);
}

.topnavbar .user-profile-toggle {
    align-items: center;
    display: flex;
    gap: 7px;
    height: 55px;
    max-width: 310px;
    padding: 5px 12px;
}

.user-profile-avatar {
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    color: #247e67;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 13px;
    font-weight: 600;
    height: 34px;
    justify-content: center;
    letter-spacing: 0.02em;
    line-height: 1;
}

.user-profile-trigger-details {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    max-width: 190px;
}

.user-profile-trigger-details strong,
.user-profile-trigger-details small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-trigger-details strong {
    font-size: 12px;
    font-weight: 600;
}

.user-profile-trigger-details small {
    font-size: 9px;
    margin-top: 2px;
}

.user-profile-lock {
    font-size: 10px;
}

.topnavbar .user-profile-dropdown {
    left: auto;
    min-width: 320px;
    padding: 8px 0;
    right: 0;
}

.user-profile-organization {
    align-items: center;
    color: #333;
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
}

.user-profile-organization > a,
.user-profile-account-link {
    color: #0067b8;
    text-decoration: none;
}

.user-profile-organization > a:hover,
.user-profile-organization > a:focus,
.user-profile-account-link:hover,
.user-profile-account-link:focus {
    color: #004578;
    text-decoration: underline;
}

.user-profile-summary {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

.user-profile-avatar.user-profile-avatar-large {
    background-color: #247e67;
    color: #fff;
    flex-basis: 44px;
    font-size: 16px;
    height: 44px;
}

.user-profile-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.user-profile-display-name,
.user-profile-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-display-name {
    color: #222;
    font-size: 14px;
}

.user-profile-email {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.user-profile-account-link {
    font-size: 12px;
    margin-top: 5px;
}

.topnavbar .user-profile-dropdown > li > .user-profile-switch-account {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 11px 16px;
}

@media only screen and (max-width: 767px) {
    .topnavbar .user-profile-toggle {
        padding-left: 10px;
        padding-right: 10px;
    }

    .topnavbar .user-profile-dropdown {
        position: absolute;
    }
}

/* Remove default DataTable header focus styles that might interfere */
table.dataTable thead th:focus,
table.dataTable thead td:focus {
    outline: none !important; /* Remove default outline - focus-visible will handle keyboard navigation */
}

/* === Global Keyboard Focus Indicator - Keyboard Navigation Only === */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
ul:focus-visible, li:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible, 
.focus-visible, .keyboard-focus {
    outline: 3px solid #003d82 !important; /* Dark blue with 3:1+ ratio against white background - increased thickness */
    outline-offset: 2px !important; /* Increased offset for larger boundary */
    box-shadow: 0 0 0 2px #448ED8 !important; /* Increased shadow with updated color */
    background-color: #e3f0fc !important;
    z-index: 10;
    transition: outline 0.1s, box-shadow 0.1s;
    color: black !important;
}

/* Enhanced keyboard focus for checkboxes and radio buttons */
input[type="checkbox"]:focus-visible, 
input[type="radio"]:focus-visible,
.checkbox input[type="checkbox"]:focus-visible,
.radio input[type="radio"]:focus-visible {
    outline: 3px solid #003d82 !important; /* Dark blue with 3:1+ ratio */
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px #448ED8 !important; /* Enhanced shadow for better visibility */
    transform: scale(1.1) !important; /* Slight scale increase for better visibility */
    z-index: 10 !important;
    transition: outline 0.1s, box-shadow 0.1s, transform 0.1s !important;
    background-color: #e3f0fc !important;
}

/* Custom checkbox and radio focus wrapper enhancement */
.checkbox:focus-within,
.radio:focus-within,
.form-check:focus-within {
    background-color: #e3f0fc !important;
    border-radius: 4px !important;
    padding: 2px !important;
    outline: 1px solid #003d82 !important;
    outline-offset: 1px !important;
}

/* Enhanced focus for checkbox and radio labels */
.checkbox label:focus-visible,
.radio label:focus-visible,
.form-check-label:focus-visible {
    outline: 2px solid #003d82 !important;
    outline-offset: 1px !important;
    background-color: #e3f0fc !important;
    border-radius: 3px !important;
    padding: 1px 3px !important;
}

/* Remove default outline for all focus states - focus-visible will handle keyboard navigation */
button:focus, a:focus, input:focus, select:focus, textarea:focus, 
ul:focus, li:focus, [tabindex]:focus, [role="button"]:focus {
    outline: none;
}

/* Remove default outline for checkboxes and radio buttons */
input[type="checkbox"]:focus, 
input[type="radio"]:focus {
    outline: none;
}

.badgeGrey {
    background-color: #787676 !important;
}

/* Result Category column (tblPinViewAssignment) - icon + label, no badge */
.resultCategoryCell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.resultCategoryCell .fa {
    margin-right: 0;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* ================================================================
   Result Message tooltip themes (PIN Agent Default/PatientChange/BackFill
   mode summary grids). Colors verified to meet WCAG AA contrast (>= 4.5:1)
   for white text.
   ================================================================ */
.tooltipster-sidetip.tooltipster-resultSuccess .tooltipster-box {
    background: #14532d;
    border: none;
    border-radius: 4px;
}

.tooltipster-sidetip.tooltipster-resultSuccess .tooltipster-content {
    color: #ffffff;
    padding: 8px 12px;
}

.tooltipster-sidetip.tooltipster-resultSuccess .tooltipster-arrow-background {
    display: none;
}

.tooltipster-sidetip.tooltipster-resultSuccess.tooltipster-top .tooltipster-arrow-border {
    border-top-color: #14532d;
}

.tooltipster-sidetip.tooltipster-resultSuccess.tooltipster-bottom .tooltipster-arrow-border {
    border-bottom-color: #14532d;
}

.tooltipster-sidetip.tooltipster-resultSuccess.tooltipster-left .tooltipster-arrow-border {
    border-left-color: #14532d;
}

.tooltipster-sidetip.tooltipster-resultSuccess.tooltipster-right .tooltipster-arrow-border {
    border-right-color: #14532d;
}

.tooltipster-sidetip.tooltipster-resultError .tooltipster-box {
    background: #7f1d1d;
    border: none;
    border-radius: 4px;
}

.tooltipster-sidetip.tooltipster-resultError .tooltipster-content {
    color: #ffffff;
    padding: 8px 12px;
}

.tooltipster-sidetip.tooltipster-resultError .tooltipster-arrow-background {
    display: none;
}

.tooltipster-sidetip.tooltipster-resultError.tooltipster-top .tooltipster-arrow-border {
    border-top-color: #7f1d1d;
}

.tooltipster-sidetip.tooltipster-resultError.tooltipster-bottom .tooltipster-arrow-border {
    border-bottom-color: #7f1d1d;
}

.tooltipster-sidetip.tooltipster-resultError.tooltipster-left .tooltipster-arrow-border {
    border-left-color: #7f1d1d;
}

.tooltipster-sidetip.tooltipster-resultError.tooltipster-right .tooltipster-arrow-border {
    border-right-color: #7f1d1d;
}

.tooltipster-sidetip.tooltipster-resultNeutral .tooltipster-box {
    background: #3a3f51;
    border: none;
    border-radius: 4px;
}

.tooltipster-sidetip.tooltipster-resultNeutral .tooltipster-content {
    color: #ffffff;
    padding: 8px 12px;
}

.tooltipster-sidetip.tooltipster-resultNeutral .tooltipster-arrow-background {
    display: none;
}

.tooltipster-sidetip.tooltipster-resultNeutral.tooltipster-top .tooltipster-arrow-border {
    border-top-color: #3a3f51;
}

.tooltipster-sidetip.tooltipster-resultNeutral.tooltipster-bottom .tooltipster-arrow-border {
    border-bottom-color: #3a3f51;
}

.tooltipster-sidetip.tooltipster-resultNeutral.tooltipster-left .tooltipster-arrow-border {
    border-left-color: #3a3f51;
}

.tooltipster-sidetip.tooltipster-resultNeutral.tooltipster-right .tooltipster-arrow-border {
    border-right-color: #3a3f51;
}

.resultMsgTooltipContent {
    display: flex;
    align-items: flex-start;
    max-width: 380px;
    word-break: break-word;
    white-space: normal;
}

.resultMsgTooltipContent .resultMsgTooltipText {
    flex: 1;
}
