.ExcelTable2007 {
	border: 1px solid #B0CBEF;
	border-width: 1px 0px 0px 1px;
	font-size: 11pt;
	font-family: Calibri;
	font-weight: 100;
	border-spacing: 0px;
	border-collapse: collapse;
	padding: 10px;
}

.ExcelTable2007 TH {
	background-repeat: repeat-x;
	font-weight: bold;
	font-size: 14px;
	border: 1px solid #9EB6CE;
	border-width: 0px 1px 1px 0px;
	height: 17px;
	line-height: 17px;
}

.ExcelTable2007 TD {
	border: 0px;
	background-color: white;
	padding: 0px 4px 0px 2px;
	border: 1px solid #D0D7E5;
	border-width: 0px 1px 1px 0px;
}

.ExcelTable2007 TD B {
	border: 0px;
	background-color: white;
	font-weight: bold;
}

.ExcelTable2007 TD.heading {
	background-color: #E4ECF7;
	text-align: center;
	border: 1px solid #9EB6CE;
	border-width: 0px 1px 1px 0px;
	font-weight: bold;
}

.ExcelTable2007 TH.heading {

}

TH {
	text-align: center;
}
.footer{width:100%;height:80px;padding:10px;border-top:1px solid #e7e7e7}.footer p{margin:0;padding:0}.layout{height:100%}ul.pagination>li>span{cursor:pointer}.tippy-content{font-size:14px}label{margin:5px !important}label.required:after{content:"*";color:red;padding-left:4px;font-size:18px;position:absolute}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.MuiPopover-root,.MuiMenu-root,.MuiMenu-paper{z-index:2147483647 !important}.dx-htmleditor .dx-selectbox .dx-texteditor-input,.dx-htmleditor .dx-dropdowneditor .dx-texteditor-input{color:var(--text-color) !important;background:var(--surface-color) !important}.dx-htmleditor .dx-texteditor.dx-state-focused.dx-editor-outlined,.dx-htmleditor .dx-texteditor.dx-editor-outlined{background:var(--surface-color) !important}.dx-htmleditor-content,.dx-htmleditor .ql-editor{background:var(--background-color) !important;color:var(--text-color) !important}.dx-htmleditor .ql-editor.ql-blank::before{color:var(--text-color) !important;opacity:.5}
.react-grid-layout{position:relative;transition:height 200ms ease}.react-grid-item{transition:all 200ms ease;transition-property:left,top}.react-grid-item img{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform}.react-grid-item.resizing{z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:#847cc4;opacity:.2;transition-duration:100ms;z-index:2;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle::after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #00bcd4;
    border-right-color: #00bcd4;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 2px;
    animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Fallback Component Styles */
.fallback-container {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fallback-skeleton {
    width: 100%;
    padding: 1rem;
}

.skeleton-header {
    height: 40px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.content-container {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.content-container.visible {
    opacity: 1;
}

/* GrapesJS Dark Theme Overrides (cleaned) */
:root {
  --gjs-dark-bg: #1e1f24;
  --gjs-dark-bg-alt: #25272d;
  --gjs-dark-panel: #2d3036;
  --gjs-dark-border: #3a3f46;
  --gjs-dark-accent: #0aa9a6;
  --gjs-dark-accent-rgb: 10,169,166;
  --gjs-dark-text: #e2e6eb;
  --gjs-dark-text-dim: #b5bcc5;
  --gjs-dark-danger: #e57373;
  --gjs-dark-warn: #ffca6f;
  --gjs-dark-radius: 4px;
}

.gjs { font-family: Helvetica, Arial, sans-serif; font-family: var(--mui-font, Helvetica, Arial, sans-serif); color: #e2e6eb; color: var(--gjs-dark-text); background: #1e1f24; background: var(--gjs-dark-bg); }

/* Panels */
.gjs .gjs-pn-panel { background: #2d3036; background: var(--gjs-dark-panel); box-shadow: 0 0 4px rgba(0,0,0,.4); }
.gjs .gjs-pn-panel .gjs-pn-btn { font-family: Helvetica, Arial, sans-serif; font-family: var(--mui-font, Helvetica, Arial, sans-serif); font-size:12px; line-height:1; background:transparent; border:1px solid transparent; border-radius:4px; border-radius:var(--gjs-dark-radius); padding:4px 6px; color:#e2e6eb; color:var(--gjs-dark-text); display:inline-flex; align-items:center; gap:4px; transition:background .15s,color .15s,box-shadow .15s,border-color .15s; }
.gjs .gjs-pn-panel .gjs-pn-btn:hover { background: rgba(10,169,166, .15); background: rgba(var(--gjs-dark-accent-rgb), .15); color: #e2e6eb; color: var(--gjs-dark-text); border-color: rgba(10,169,166, .4); border-color: rgba(var(--gjs-dark-accent-rgb), .4); }
.gjs .gjs-pn-panel .gjs-pn-btn.gjs-pn-active { background: #0aa9a6; background: var(--gjs-dark-accent); color:#fff; box-shadow:0 0 0 1px #0aa9a6 inset; box-shadow:0 0 0 1px var(--gjs-dark-accent) inset; }

/* Device group separation */
.gjs .gjs-pn-devices, .gjs .gjs-pn-views { margin-right:8px; padding-right:8px; border-right:1px solid #3a3f46; border-right:1px solid var(--gjs-dark-border); }

/* Categories & sectors */
.gjs .gjs-block-category > .gjs-title, .gjs .gjs-sm-sector > .gjs-sm-sector-title { background: #2d3036; background: var(--gjs-dark-panel); color: #e2e6eb; color: var(--gjs-dark-text); font-weight:600; letter-spacing:.25px; border-radius:4px 4px 0 0; border-radius:var(--gjs-dark-radius) var(--gjs-dark-radius) 0 0; border:1px solid #3a3f46; border:1px solid var(--gjs-dark-border); }
.gjs .gjs-block-category:not(.gjs-open) > .gjs-title, .gjs .gjs-sm-sector:not(.gjs-open) > .gjs-sm-sector-title { opacity:.8; }

/* Blocks */
.gjs .gjs-block { border:1px solid #3a3f46; border:1px solid var(--gjs-dark-border); border-radius:4px; border-radius:var(--gjs-dark-radius); color:#e2e6eb; color:var(--gjs-dark-text); background:#25272d; background:var(--gjs-dark-bg-alt); }
.gjs .gjs-block:hover { box-shadow:0 2px 4px rgba(0,0,0,.45); border-color:#0aa9a6; border-color:var(--gjs-dark-accent); }
.gjs .gjs-block-label { color:#e2e6eb; color:var(--gjs-dark-text); font-weight:500; }

/* Style Manager */
.gjs .gjs-sm-property .gjs-sm-label, .gjs .gjs-sm-property .gjs-field label, .gjs .gjs-sm-sectors .gjs-sm-sector-title, .gjs .gjs-sm-sectors .gjs-sm-sector-title * { color: #e2e6eb; color: var(--gjs-dark-text); }
.gjs .gjs-field input, .gjs .gjs-field select, .gjs .gjs-field textarea { background:#25272d; background:var(--gjs-dark-bg-alt); color:#e2e6eb; color:var(--gjs-dark-text); border:1px solid #3a3f46; border:1px solid var(--gjs-dark-border); border-radius:4px; border-radius:var(--gjs-dark-radius); padding:2px 4px; font-family:Helvetica, Arial, sans-serif; font-family:var(--mui-font, Helvetica, Arial, sans-serif); }
.gjs .gjs-field input:focus, .gjs .gjs-field select:focus, .gjs .gjs-field textarea:focus { outline:1px solid #0aa9a6; outline:1px solid var(--gjs-dark-accent); box-shadow:0 0 0 1px #0aa9a6; box-shadow:0 0 0 1px var(--gjs-dark-accent); }

/* RTE */
.gjs .gjs-rte-toolbar { background:#2d3036; background:var(--gjs-dark-panel); border:1px solid #3a3f46; border:1px solid var(--gjs-dark-border); border-radius:4px; border-radius:var(--gjs-dark-radius); padding:2px; display:inline-flex; gap:2px; box-shadow:0 1px 2px rgba(0,0,0,.4); }
.gjs .gjs-rte-toolbar .gjs-rte-action { background:transparent; border:1px solid transparent; color:#e2e6eb; color:var(--gjs-dark-text); font-size:12px; line-height:1; padding:4px 6px; border-radius:4px; border-radius:var(--gjs-dark-radius); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background .15s,color .15s,border-color .15s; }
.gjs .gjs-rte-toolbar .gjs-rte-action:hover { background:rgba(10,169,166, .15); background:rgba(var(--gjs-dark-accent-rgb), .15); }
.gjs .gjs-rte-toolbar .gjs-rte-action.gjs-rte-active { background:#0aa9a6; background:var(--gjs-dark-accent); color:#fff; }

/* Text groups */
.gjs .gjs-layer-title, .gjs .gjs-traits-label, .gjs .gjs-trt-trait, .gjs .gjs-tm-tag { color:#e2e6eb; color:var(--gjs-dark-text); }

/* Scrollbars */
.gjs ::-webkit-scrollbar { width:8px; }
.gjs ::-webkit-scrollbar-track { background:#2d3036; background:var(--gjs-dark-panel); }
.gjs ::-webkit-scrollbar-thumb { background:#3a3f46; background:var(--gjs-dark-border); border-radius:4px; }
.gjs ::-webkit-scrollbar-thumb:hover { background:#0aa9a6; background:var(--gjs-dark-accent); }

/* Device buttons */
.gjs-devices-c .device-btn-group { display:flex; gap:4px; margin-top:4px; }
.gjs-devices-c .device-btn { cursor:pointer; display:inline-flex; align-items:center; padding:4px 8px; border:1px solid #3a3f46; border:1px solid var(--gjs-dark-border); background:#25272d; background:var(--gjs-dark-bg-alt); color:#e2e6eb; color:var(--gjs-dark-text); font-size:12px; line-height:1; border-radius:4px; border-radius:var(--gjs-dark-radius); font-family:Helvetica, Arial, sans-serif; font-family:var(--mui-font, Helvetica, Arial, sans-serif); transition:background .15s,border-color .15s; }
.gjs-devices-c .device-btn.active { background:#0aa9a6; background:var(--gjs-dark-accent); color:#fff; border-color:#0aa9a6; border-color:var(--gjs-dark-accent); }
.gjs-devices-c .device-btn:hover { background:rgba(10,169,166, .15); background:rgba(var(--gjs-dark-accent-rgb), .15); }

/* Inline color fallback */
.gjs [style*="color:#ccc"], .gjs [style*="color:#aaa"], .gjs [style*="color:#999"], .gjs [style*="color: rgb(153, 153, 153)"] { color:#e2e6eb !important; color:var(--gjs-dark-text) !important; }

#kanban{white-space:nowrap}.list{border-radius:8px;margin:5px;background-color:rgba(192,192,192,.4);display:inline-block;vertical-align:top;white-space:normal}.list-title{font-size:16px;padding:10px;padding-left:30px;margin-bottom:-10px;font-weight:bold;cursor:pointer}.sortable-cards{min-height:380px}.card{position:relative;background-color:#fff;box-sizing:border-box;width:230px;padding:10px 20px;margin:10px;cursor:pointer}@media(max-width: 600px){.card{width:auto}}.card-subject{padding-bottom:10px}.card-assignee{opacity:.6}.card-priority{position:absolute;top:10px;bottom:10px;left:5px;width:5px;border-radius:2px;background:#86c285}.priority-1{background:#adadad}.priority-2{background:#86c285}.priority-3{background:#edc578}.priority-4{background:#ef7d59}
#authorizedLayout{background:rgba(0,0,0,0)}
#diagram .template .template-button{cursor:pointer;font-size:8pt;fill:navy}#diagram .template .template-button:hover{text-decoration:underline}

/* For pdf */
.react-pdf__Page {
    margin-top: 10px;
}

.react-pdf__Page__textContent {
    border: 1px solid darkgrey;
    box-shadow: 5px 5px 5px 1px #ccc;
    border-radius: 5px;
}

.react-pdf__Page__annotations.annotationLayer {
    padding: 20px;
}

.react-pdf__Page__canvas {
    margin: 0 auto;
}

/* For all pages */
.all-page-container {
    width:100%;
    height: 100%;
    max-height: 700px;
    overflow: auto;
}

