.filter input[readonly] {
    cursor: default;
    background-color: white !important;
}

.deleted {
    background-color: lightgray !important;
}

.canceled {
    text-decoration: line-through;
}

.employeeInfo {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-flow: wrap;
    flex-shrink: initial;
}

.employeeInfo img {
    flex: 1;
    max-width: 130px;
    max-height: auto;
    cursor: zoom-in;
    margin: 5px;
}

table.dx-datagrid-table .btn.btn-xs {
    margin: 0px 3px;
}

.main-content {
    max-width: calc(100% - var(--sidebar-width));
}

.sidebar.collapsed ~ .main-content {
    max-width: calc(100% - var(--sidebar-collapsed-width));
}

@media (max-width: 1199.98px) {
    .main-content {
        max-width: 100%;
    }
}

.form-expired {
    color: red !important;
}


.table-cdm .health-check-time {
    font-size: 12px;
    color: #666;
}

.table-cdm .cdm-section {
    padding: 6px 4px;

}

.table-cdm .cdm-section .section-title {
    color: #555;
    font-weight: bold;
}

.word-wrap {
    white-space: normal;
    word-wrap: break-word;
}

.cdm-status-container {
}

.cdm-status .cdm-status-container a {
    margin-right: .5rem;
}

.diagnostics-log-viewer {
    font-family: monospace;
    color: #111;
    white-space: pre;
    overflow-x: auto;
    font-size: 14px;
}

.diagnostics-log-viewer .line[data-type="Warning"]{
    color: orange;
}

.diagnostics-log-viewer .line[data-type="Error"]{
    color: red;
    font-weight: 600;
}

.diagnostics-log-viewer .line[data-type="Debug"]{
    color: #666;
}

.diagnostics-log-viewer .line[data-type="Info"]{
}

.diagnostics-log-viewer .line[data-type="Verbose"]{
    color: #ccc;
}

.diagnostics-log-viewer .line.filtered {
    display: none;
}

.changelog-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2c3e50;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.changelog-entry h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Demo/Test instance styling */
.navbar-demo {
    background-color: #e67e22 !important;
    background-image: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
}

.demo-badge {
    background-color: #c0392b;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: demo-pulse 2s infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes demo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
