html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.myAltRowClass {
    background: #F8F8F8;
    border: 1px solid #DDDDDD;
}

.ui-jqgrid-sdiv .ui-jqgrid-ftable .footrow {
    background-color:ghostwhite;
    background-image: none;
        color:black;
        font:bold
}

/*.modal-dialog,
.modal-content {*/
    /* 80% of window height */
    /*height: 90%;
}

.modal-body {*/
    /* 100% = dialog height, 120px = header + footer */
    /*max-height: calc(100% - 120px);
    overflow-y: scroll;
}*/

/*.ui-jqgrid tr.jqgrow td {
    word-wrap: break-word;*/ /* IE 5.5+ and CSS3 */
    /*white-space: pre-wrap;*/ /* CSS3 */
    /*white-space: -pre-wrap;*/ /* Opera 4-6 */
    /*white-space: -o-pre-wrap;*/ /* Opera 7 */
    /*white-space: normal !important;
    height: auto;
    vertical-align: text-top;
    padding-top: 2px;
    padding-bottom: 3px;
}*/


.ui-jqgrid .ui-jqgrid-htable th div {
    word-wrap: break-word; /* IE 5.5+ and CSS3 */
    white-space: pre-wrap; /* CSS3 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: normal !important;
    height: auto;
    vertical-align: text-top;
    padding-top: 2px;
    padding-bottom: 3px;
}

.myAltRowClass {
    background-color: darkred !important;
}


/* Applies to all buttons inside jqGrid dialogs */
.ui-jqdialog button,
.ui-jqdialog .fm-button,
.ui-jqdialog .navButton {
    font-size: 12px !important;
    padding: 4px 10px !important;
    height: auto !important;
}


/* Applies to all jqGrid dialogs */
.ui-jqdialog {
    font-size: 12px !important; /* Change to your desired size */
}

/* Optional: also resize form elements inside */
.ui-jqdialog input,
.ui-jqdialog select,
.ui-jqdialog textarea,
.ui-jqdialog label {
    font-size: 12px !important;
}

/* Optional: make input[type="button"] styled similarly if used */
.ui-jqdialog input[type="button"] {
    font-size: 12px !important;
    padding: 1px 2px !important;
    height: auto !important;
    min-width: 80px;
}

.error-table-wrapper {
    /* base */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #ef4444;
    /* spacing */
    padding: 14px 16px;
    margin-top: 10px;
    /* shape */
    border-radius: 10px;
    /* size */
    max-width: 100%;
    /* softer modern depth */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    /* text */
    color: #1f2937;
    font-size: 12px;
    line-height: 1.5;
    /* smooth feel */
    transition: all 0.2s ease;
}
    .error-table-wrapper table td {
        padding: 4px 8px;
    }

    .error-table-wrapper table td:first-child {
        width: 150px;
        font-weight: 500;
        color: #374151;
    }
    .error-table-wrapper table tr:nth-child(even) {
        background: #f9fafb;
    }

    .error-table-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .error-table-wrapper::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 4px;
    }

    .error-table-wrapper hr {
        border: none;
        border-top: 1px solid #f1f5f9;
        margin: 6px 0;
    }

.error-title {
    font-weight: 600;
    font-size: 13px;
    color: #dc2626; /* softer red instead of dark */
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.error-table {
    width: 100%;
    color: black;
    border-collapse: collapse;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    background-color: #fdfaf4; /* slight contrast inside wrapper */
}

    .error-table th,
    .error-table td {
        padding: 4px 8px;
        border-bottom: 1px solid #eadedc; /* soft border */
        text-align: left;
        line-height: 1.2; /* optional: tightens vertical space */
    }

    .error-table th {
        background-color: #f8eaea; /* light red for headers */
        font-weight: bold;
        color: #B71C1C;
    }

.alert-success {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.2;
    font-size: 12px;
}

.alert-danger {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.2;
    font-size: 12px;
}

i2 {
    margin-left: -11px;
    margin-top: 15px;
    font-size: 10px;
    height: 10px;
    display: table-cell;
    vertical-align: middle;
}

.jstree .jstree-themeicon {
    font-size: 12px !important;
    width: 12px !important;
    height: 12px !important;
}

.jstree-anchor {
    font-size: 11px !important;
}

/*menu*/
.context-menu {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    width: 160px;
    position: absolute;
    display: none;

    z-index: 999999 !important;
}


.context-menu ul li {
    padding: 8px 12px;
}

.context-menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.context-menu ul li:hover {
    background-color: #f0f0f0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.20);
    }

    100% {
        transform: scale(1);
    }
}

.message-pulse {
    animation: pulse 0.6s ease-in-out 2;
}

.notification-panel {
    animation: slideIn 0.25s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.icon-3d {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

/* Pulse animation */
@keyframes server-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

/* Pulse animation */
@keyframes togglePulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

@keyframes slide {
    0% {
        transform: translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.6;
    }
}

@keyframes pulse-vbar {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.4;
    }
}

@keyframes dots {
    0% {
        content: "";
    }

    33% {
        content: ".";
    }

    66% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}