.table-select {
    padding: 10px 20px;
}

/* Tooltip text */
.jobs-panel .tooltip .tooltip-text {
    visibility: hidden;
    position: absolute;
    top: -5px;
    right: 100px;
    z-index: 1;
    text-align: left;
    color: white;
    font-size: 12px;
    background-color: #192733;
    border-radius: 10px;
    padding: 10px 15px 10px 15px;
    white-space: pre-wrap;
}

.jobs-panel .tooltip:hover .tooltip-text {
  visibility: visible;
}

.jobs-panel .a .tooltip {
    position: absolute;
    display: inline-block;
}

.jobs-panel .dt-search, .dt-paging {
    display: inline-block;
}

.jobs-panel .dt-dropdown {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    color: inherit;
}

#refreshButton {
    margin-right: 10px !important;
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: .5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}

#refreshButton:hover {
    color: white !important;
    border: 1px solid #111;
    background-color: #111;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: linear-gradient(to bottom, #585858 0%, #111 100%);
}

#autoRefreshBox {
    margin-right: 10px !important;
    display: inline-block;
    min-width: 1.5em;
    padding: .5em 1em;
    margin-left: 2px;
    text-decoration: none !important;
}

#tableDiv {
    text-align:center;
    padding:20px;
}

#tableDiv td {
    vertical-align: middle !important;
}

.table-select label {
    font-size: 1.4em;
}

#loading_spinner {
    text-align: center;
}

.detailsPanel {
    padding: 5px;
    margin: 5px;
    border-color: gray;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    background-color: aliceblue;
    font-family: Helvetica, Arial, sans-serif;
}

.detailsPanel h2 {
    font-size: 20px;
    padding-left: 20px;
}

.detailsPanel h3 {
    text-align: center;
}

.detailsPanel dl {
    display: grid;
    grid-template-columns: max-content auto;
    justify-content: center;
}

.detailsPanel dt {
    font-weight: bold;
    grid-column-start: 1;
}

.detailsPanel dd {
    grid-column-start: 2;
}

.detailsPanel .details-table {
    text-align: center;
    padding: 20px;
}

.detailsPanel .dataTable {
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #CFD8DC;
}

table.dataTable.cell-border > tbody > tr > * {
    border-top: 1px solid #CFD8DC !important;
    border-right: 1px solid #CFD8DC !important;
}

.detailsPanel .details-table .no-wrap {
    overflow: hidden;
    max-width: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.details-table thead {
    background: #ECEFF1;
}

.details-table tbody {
    background: white;
}

.details-table .status-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    gap: 5px;
    height: 100%;
}

.details-table .cell-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.details-table .cell-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* position above the element */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.details-table .cell-tooltip:hover::after {
    opacity: 1;
}

.details-table .log-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 0 0;
}

.details-table a {
    color: #2980B8;
    text-decoration: none;
}

.details-table a::after {
    content: ' ➔';
    font-size: 0.85em;
    margin-left: 0.3em;
    color: inherit;
}
