@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
/* put this in site.css/app.css */
.mud-dialog-container {
    z-index: 1000 !important;
}
.mud-drawer.mud-drawer-temporary.mud-drawer-pos-right {
    z-index: 500 !important;
}
.mud-appbar {
    z-index: 200 !important;
}
.mud-overlay {
    z-index: 499 !important;
}

/* optional: if you want to push DevExpress popups below the dialog instead */
.dxbl-popup-root {
    z-index: 3000 !important;
}


.pmx-navmenu-root {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pmx-navmenu-tree {
    flex: 1 1 auto;
    min-height: 0; /* required so the tree can scroll inside a flex container */
    overflow: auto; /* tree takes remaining space and scrolls */
}

.pmx-navmenu-bottom {
    flex: 0 0 auto;
    position: sticky; /* stays docked at bottom while tree scrolls */
    bottom: 0;
    background: white; /* avoid transparency over tree */
}
.pmx-image-wrapper {
    position: relative;
    height: 300px; /* match your MudImage height */
}

.pmx-image-toolbar {
    position: absolute;
    top: 8px;
    right: auto;
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 8px;
}

.reportItem-anchor {
    scroll-margin-top: 88px; 
}
.pmx-reportitem-highlight {
    position: relative;
}

    .pmx-reportitem-highlight::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(135, 206, 235, 0.35); 
        pointer-events: none;
        animation: pmxBlink 0.60s ease-in-out 8; /* ~1s total */
    }

@keyframes pmxBlink {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}
.chapter-anchor {
    scroll-margin-top: 88px; 
}

.full-screen-bg {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    height: 100vh !important;
    width: 100% !important;
}

:root {
    --color-centralBackground: #f4f2ef;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#mandate-card {
    position: static;
    display: block;
    max-width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    background-color: rgba(0,0,0,.05);
    border-radius: 10px;
}

    #mandate-card a {
        text-decoration: none;
    }

    #mandate-card:hover {
        cursor: pointer;
        background-color: rgba(0,0,0,.1);
        color: var(--themeDark);
    }

.mandate-image {
    float: left;
    max-height: 96px;
    max-width: 96px;
    object-fit: contain;
    margin-left: -130px;
}

    .mandate-image img {
        max-height: inherit;
        max-width: inherit;
        object-fit: inherit;
    }

.mandate-name {
    text-align: center;
    display: block;
    padding: 10px;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    vertical-align: central;
}

.note-feed-style {
    background: transparent;
    border-width: 0;
    width: auto;
    height: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.note-feed-icon {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-width: 36px;
    text-align: center;
    cursor: pointer;
    outline-offset: -1px;
}

.no-group-header .dxbl-fl-group .card-header {
    display: none;
}

.hideComboboxListCaption thead {
    display: none;
}

.debug {
    display: none;
}

.cameraPopup {
}

    .cameraPopup .videobox {
        width: 100%;
        position: relative;
        height: 400px;
        max-height: calc(100vh - 196px);
    }

        .cameraPopup .videobox video {
            transform: scale(-1, 1);
            position: absolute;
            right: 0;
            bottom: 0;
            max-width: 100%;
            max-height: 100%;
            background-size: cover;
            overflow: hidden;
        }

    .cameraPopup img {
        width: 20%;
        margin-left: 10px;
    }

button .dx-image {
    margin-right: 7px;
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
    color: #bec2c6;
    border-color: #bec2c6;
    background-color: transparent;
}

.navbar-links {
    font-size: 15px;
    color: black;
}

    .navbar-links .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        background-color: var(--themeDark);
    }

.rich-edit-h {
    height: 300px;
    width: -webkit-fill-available !important;
    max-height: 300px;
    min-height: 300px;
}

.body-text-items {
    padding: 1%;
    color: #009ee3;
    font-size: large;
}

.dxbl-grid .dxbl-grid-selected-row > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    background-color: var(--dx-grid-selection-color,rgba(0,0,255,.2));
}

.central {
    background-color: var(--color-centralBackground);
}

    .central .card {
        background-color: var(--color-centralBackground);
    }

    .central .modal-content {
        background-color: var(--color-centralBackground);
    }


.required {
}

    .required input {
        border-bottom: 2px solid darkblue !important;
    }

    .required.error input {
        border-bottom: 2px solid red !important;
    }

    .error input {
        border-bottom: 2px solid red !important;
    }

.errormessage {
    display: none;
}

.errormessage::before {
    display: none;
}

.errormessage::after {
    display: none;
}

.error.displayerror .errormessage {
    display: block;
    position: absolute;
    z-index: 1;
    background-color: #dd0000;
    color: white;
    padding: 8px 12px;
    top: -23px;
    right: 30px;
    border-radius: 5px;
    border-bottom-right-radius: 0;
    box-shadow: 2px 2px 5px #888;
}

    .error.displayerror .errormessage::before {
        display: block;
        content: '!';
        padding-left: 7px;
        font-weight: bolder;
        font-size: 0.8rem;
        color: #dd0000;
        position: absolute;
        right: -10px;
        top: 58px;
        width: 22px;
        height: 22px;
        border-radius: 12px;
        border: 2px solid #dd0000;
    }

    .error.displayerror .errormessage::after {
        display: block;
        content: '';
        position: absolute;
        right: 0px;
        top: 34px;
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 16px solid transparent;
        border-right: 16px solid #dd0000;
    }

.required label {
    position: relative;
    display: inline-block;
    overflow: unset !important;
}

    .required label::after {
        position: absolute;
        margin-left: 2px;
        content: "*";
        color: darkblue;
    }
/*Safari Browser css fixes*/
.ios-modal-fix {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Prevent zoom on focus in iOS */
@media screen and (max-width: 768px) {
    .generated-image.chapter {
        font-size: 16px; /* Prevents zoom on focus */
    }

    .dx-popup-body {
        max-height: 80vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Fix for dynamic viewport height */
@supports (height: 100dvh) {
    .ios-modal-fix {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
}
.dxbl-modal-footer .dxbl-text-edit.required {
    margin-right: auto !important;
    border-color: transparent;
}

    .dxbl-modal-footer .dxbl-text-edit.required >input:disabled {
        background-color: transparent;
        color: black;
        border-bottom: 2px solid darkblue !important;
    }

.dxbl-fl .dxbl-fl-item {
    align-self: flex-start;
}

.dxbl-modal-content .dxbl-fl {
    padding-left: 12px;
    padding-right: 12px;
}

.dxbl-fl .dxbl-fl-cpt {
    font-weight: 600;
    color: black;
}

.main-body-part {
    padding: 12px;
}

.dxbl-toolbar {
    margin-bottom: 12px;
}

.due_NotYetDue {
    background-color: lightgreen;
}

.due_CurrentlyDue {
    background-color: orange;
}

.due_Overdue {
    background-color: red;
    color: white;
}

.type_Task {
    padding-left: 6px !important;
    border-left-width: 5px !important;
    border-left-color: yellow !important;
}

.type_Involved {
    padding-left: 6px !important;
    border-left-width: 5px !important;
    border-left-color: blue !important;
}

.type_Attribute {
    padding-left: 6px !important;
    border-left-width: 5px !important;
    border-left-color: cyan !important;
}

.PinturaShapePreset .PinturaDragButton[data-loader]:before {
    background-color: transparent !important;
}

.rich-default {
    height: 200px !important;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Force remove the footer margin */
.compact-modal .dx-popup-footer {
    margin-top: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    z-index: 1000 !important;
}

/* Ensure the popup body doesn't push footer down */
.compact-modal .dx-popup-body {
    max-height: calc(75vh - 120px) !important;
    overflow-y: auto !important;
}

.language-breadcrumb.minimal {
    background: transparent;
    border: none;
    padding: 0;
}

    .language-breadcrumb.minimal .language-separator {
        color: #dee2e6;
    }

    .language-breadcrumb.minimal .language-option.active {
        background: transparent;
        color: #007bff;
        text-decoration: underline;
    }

.loading-overlay {
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable interactions when loading */
body.loading {
    pointer-events: none;
}

    body.loading * {
        cursor: wait !important;
    }


.language-selector-section {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.language-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.language-breadcrumb {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 4px;
    font-family: system-ui, -apple-system, sans-serif;
}

.language-option {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

    .language-option:hover {
        background-color: #e9ecef;
        color: #495057;
    }

    .language-option.active {
        background-color: #007bff;
        color: white;
        font-weight: 600;
    }

.language-separator {
    color: #adb5bd;
    font-weight: 300;
    padding: 0 2px;
    user-select: none;
}

/* Folder creation */
.treeview-header {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.btn-new-folder {
    width: 100%;
}

.folder-popup-body {
    padding: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
}

.popup-footer-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.popup-button {
    margin-left: 8px;
}

.no-folders-message {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.alert {
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}
.btn-new-folder {
    background: #5f368d;
}
.delete-confirmation-body{
    padding:10px;
}

/*top menu styling*/
.modern-toolbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    margin-bottom: 20px;
}

.modern-toolbar .dx-tb-item {
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .modern-toolbar .dx-tb-item:hover:not(.dx-tb-item-disabled) {
        background: rgba(0, 158, 227, 0.08) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 158, 227, 0.15);
    }

    .modern-toolbar .dx-tb-item.dx-tb-item-disabled {
        opacity: 0.5;
    }

    .modern-toolbar .dx-tb-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.6s;
    }

    .modern-toolbar .dx-tb-item:hover::before {
        left: 100%;
    }

.toolbar-icon {
    color: #6c757d;
    transition: color 0.3s ease;
}

.modern-toolbar .dx-tb-item:hover .toolbar-icon {
    color: #009ee3 !important;
}

.modern-toolbar .dx-tb-item.dx-tb-item-disabled .toolbar-icon {
    color: #adb5bd !important;
}

.folderView {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-top: 20px;
}

.group {
    margin-bottom: 30px;
}

    .group h1 {
        color: #212529;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px solid #009ee3;
        font-size: 1.5rem;
    }

.infogrid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: start;
}

    .infogrid .name {
        font-weight: 600;
        color: #495057;
        padding: 8px 0;
    }

    .infogrid .value {
        color: #6c757d;
        padding: 8px 0;
        background: #f8f9fa;
        padding: 12px 16px;
        border-radius: 8px;
        border-left: 3px solid #009ee3;
    }

.logo {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Modern Popup Styles */
.modern-popup .dx-popup-content {
    padding: 20px;
}

.modern-popup .dx-popup-title {
    background: linear-gradient(135deg, #009ee3 0%, #007bb8 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.popup-button {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .popup-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.folder-popup-body,
.delete-confirmation-body {
    padding: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 4px solid;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.popup-footer-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.text-danger.small {
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Responsive Design */
@@media (max-width: 768px) {
    .modern-toolbar .dx-toolbar {
        flex-direction: column;
        gap: 8px;
    }

    .modern-toolbar .dx-tb-item {
        margin: 2px 0;
        width: 100%;
        justify-content: flex-start;
    }

    .infogrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

        .infogrid .name {
            padding-bottom: 4px;
            border-bottom: 1px solid #e9ecef;
        }

        .infogrid .value {
            padding: 8px 12px;
            margin-bottom: 12px;
        }
}
.button-group {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 0;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Base Button Styles */
.group-btn {
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: white;
    color: #475569;
    white-space: nowrap;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    text-decoration: none;
}

    /* Remove border from last button */
    .group-btn:last-child {
        border-right: none;
    }

    /* Hover State - Secondary Color */
    .group-btn:hover:not(.disabled) {
        background: #e2e8f0;
        color: #1e293b;
    }

    /* Active/Pressed State */
    .group-btn:active:not(.disabled) {
        background: #cbd5e1;
    }

    /* Focus State */
    .group-btn:focus {
        outline: none;
        box-shadow: inset 0 0 0 2px #009ee3;
        z-index: 1;
    }

/* Icon Styling */
.btn-icon {
    font-size: 14px;
    color: inherit;
}

/* Disabled State */
.group-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
}

    .group-btn.disabled:hover {
        background: #f1f5f9;
        color: #94a3b8;
    }

/* Edit Folder Button - Secondary */
.btn-edit-folder {
    background: #f8fafc;
    color: #475569;
}

    .btn-edit-folder:hover:not(.disabled) {
        background: #e2e8f0;
        color: #1e293b;
    }

/* Manage Project Button - Secondary */
.btn-manage-project {
    background: #f8fafc;
    color: #475569;
}

    .btn-manage-project:hover:not(.disabled) {
        background: #e2e8f0;
        color: #1e293b;
    }

/* Edit Project Image Button - Info */
.btn-edit-image {
    background: #06b6d4;
    color: white;
}

    .btn-edit-image:hover:not(.disabled) {
        background: #0891b2;
        color: white;
    }

/* Remove Project Image Button - Danger Red */
.btn-remove-image {
    background: #ef4444;
    color: white;
}

    .btn-remove-image:hover:not(.disabled) {
        background: #dc2626;
        color: white;
    }

/* Add Report Collection Button - Success Green */
.btn-add-report {
    background: #10b981;
    color: white;
}

    .btn-add-report:hover:not(.disabled) {
        background: #059669;
        color: white;
    }

.folderView {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.group {
    margin-bottom: 24px;
}

    .group h1 {
        color: #1e293b;
        font-weight: 600;
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 2px solid #009ee3;
        font-size: 1.375rem;
    }

.infogrid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    align-items: start;
}

    .infogrid .name {
        font-weight: 600;
        color: #374151;
        padding: 6px 0;
    }

    .infogrid .value {
        color: #6b7280;
        padding: 6px 0;
        background: #f8fafc;
        padding: 10px 12px;
        border-radius: 6px;
        border-left: 2px solid #009ee3;
    }

.logo {
    max-width: 160px;
    max-height: 100px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Delete Report Button - Danger Red */
.btn-delete-report {
    background: #ef4444;
    color: white;
}

    .btn-delete-report:hover:not(.disabled) {
        background: #dc2626;
        color: white;
    }

/* Search Panel Button - Success */
.btn-search-panel {
    background: #10b981;
    color: white;
}

    .btn-search-panel:hover:not(.disabled) {
        background: #059669;
        color: white;
    }

/* Responsive Design */
@@media (max-width: 768px) {
    .button-group {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .group-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-height: 32px;
        flex-shrink: 0;
    }

    .infogrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
        border-radius: 6px;
    }

    .group-btn {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
        justify-content: flex-start;
    }

        .group-btn:last-child {
            border-bottom: none;
        }
}

/* Context Menu Styling */
.dx-context-menu {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 4px !important;
}

    /* Menu Items */
    .dx-context-menu .dx-menu-item {
        border-radius: 6px !important;
        margin: 2px 0 !important;
        padding: 8px 12px !important;
        background: #f8fafc !important;
        color: #475569 !important;
        border: 1px solid transparent !important;
        transition: all 0.15s ease !important;
    }

        /* Hover State */
        .dx-context-menu .dx-menu-item:hover {
            background: #e2e8f0 !important;
            color: #1e293b !important;
            border-color: #cbd5e1 !important;
        }

        /* Active/Pressed State */
        .dx-context-menu .dx-menu-item.dx-state-focused,
        .dx-context-menu .dx-menu-item.dx-state-active {
            background: #cbd5e1 !important;
            color: #1e293b !important;
        }

/* Icons */
.menu-icon {
    font-size: 14px;
    color: inherit !important;
    margin-right: 8px;
}

/* Primary Color Items */
.menu-item-primary {
    background: #009ee3 !important;
    color: white !important;
}

    .menu-item-primary:hover {
        background: #0088cc !important;
        color: white !important;
    }

/* Secondary Color Items */
.menu-item-secondary {
    background: #f8fafc !important;
    color: #475569 !important;
}

    .menu-item-secondary:hover {
        background: #e2e8f0 !important;
        color: #1e293b !important;
    }

/* Success Color Items */
.menu-item-success {
    background: #10b981 !important;
    color: white !important;
}

    .menu-item-success:hover {
        background: #059669 !important;
        color: white !important;
    }

/* Warning Color Items */
.menu-item-warning {
    background: #f59e0b !important;
    color: white !important;
}

    .menu-item-warning:hover {
        background: #d97706 !important;
        color: white !important;
    }

/* Danger Color Items */
.menu-item-danger {
    background: #ef4444 !important;
    color: white !important;
}

    .menu-item-danger:hover {
        background: #dc2626 !important;
        color: white !important;
    }

/* Info Color Items */
.menu-item-info {
    background: #06b6d4 !important;
    color: white !important;
}

    .menu-item-info:hover {
        background: #0891b2 !important;
        color: white !important;
    }

/* Begin Group Separator */
.dx-context-menu .dx-menu-item-separator {
    border-color: #e2e8f0 !important;
    margin: 6px 0 !important;
}

/* Submenu Styling */
.dx-context-menu .dx-submenu {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 4px !important;
}

/* Disabled Items */
.dx-context-menu .dx-menu-item.dx-state-disabled {
    opacity: 0.5 !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
}

/* Focus State */
.dx-context-menu .dx-menu-item:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 158, 227, 0.3) !important;
}

.favorite-btn {
    transition: all 0.2s ease-in-out;
}

    .favorite-btn:hover {
        transform: scale(1.2);
    }

.dropdown-menu-h {
    max-height: 70vh;
    overflow-y: auto;
}

.dropdown-item {
    transition: background-color 0.2s ease;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

/* Ensure the favorite star doesn't affect text selection 
*/.favorite-btn {
    user-select: none;
    -webkit-user-select: none;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-container {
    position: relative;
}

.settings-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

    .settings-button:hover {
        background-color: #005DA1;
        color: #fff;
    }

.settings-dropdown-body {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 250px;
    z-index: 1000;
    display: none;
}

    .settings-dropdown-body.expanded {
        display: block;
    }

.settings-menu-body {
    padding: 15px;
}

.settings-section {
    margin-bottom: 15px;
}

.settings-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.power-user-toggle {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-text {
    font-size: 14px;
    color: #333;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .toggle-slider {
    background-color: #2196F3;
}

    input:checked + .toggle-slider:before {
        transform: translateX(26px);
    }

input:disabled + .toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.power-user-description {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.toggle-loading {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.power-user-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 5px 0;
}

    .power-user-badge i {
        font-size: 10px;
    }
.center-region[b-p01y07qjb7] {
    width: calc(95% - 96px) !important;
}