.status-indicator-circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-indicator-circle-hole {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    border-width: 3px;
    border-style: solid;
}

.status-indicator-status-position {
    vertical-align: middle;
}

.status-indicator-hardware-position {
    vertical-align: sub;
}

.status-red {
    background-color: #ec0d0d;
}

.status-green {
    background-color: #28a745;
}

.status-yellow {
    background-color: #ebb434;
}

.status-grey {
    background-color: #6c757d;
}

.status-not-found {
    border-color: #ec0d0d;
}

.hardware-info-wrapper {
    font-size: 12px;
    max-width: 250px;
    width: 250px;
    margin-top: 10px;
}

.host-hardware-ok {
    background-color: #28a745;
}

.host-hardware-error {
    border-color: #ec0d0d;
}

.host-hardware-90 {
    background-color: #ec0d0d;
}

.host-hardware-75 {
    background-color: #ebb434;
}

.host-hardware-obsolete {
    background-color: #6c757d;
}

.host-hardware-text {
    vertical-align: top;
}

.server-info-wrapper {
    font-size: 12px;
    max-width: 250px;
    width: 250px;
    margin-top: 10px;
}

.hardware-indicator-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hardware-indicator-tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    margin-left: 8px;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    z-index: 1060;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-width: 280px;
    font-size: 12px;
    white-space: normal;
    pointer-events: auto;
    color: #212529;
    text-decoration: none;
}

.hardware-indicator-tooltip-content a {
    color: inherit;
    text-decoration: none;
}

.hardware-indicator-tooltip-wrapper:hover .hardware-indicator-tooltip-content {
    visibility: visible;
    opacity: 1;
}

.indicator-container {
    display: flex;
    align-items: center;
}

.server-ip-text {
    font-size: 11px;
}

.popover.bs-popover-auto {
    max-width: none !important;
}

.detail-link {
    margin-left: 5px;
    background-image: url('/static/images/details.png');
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 16px;
    height: 16px;
}

.custom-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
}

.hidden-content {
    display: none;
}

.error-files-container,
.stop-files-container {
    font-size: 12px !important;
    max-height: 100px;
    max-width: 300px;
    min-width: 100px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
}

.swal-wide {
    width: 400px !important;
}

thead input {
    width: 100%;
}

iframe {
    width: 100%;
    height: 90vh;
}

.header-flex-container {
    display: flex;
    justify-content: space-between; /* Distributes space evenly between the items */
    align-items: center; /* Aligns items vertically in the center */
    margin-bottom: 20px; /* Bottom margin for spacing */
}

.last-updated-time {
    font-size: 16px;
}

.spinner-grow {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
    margin-right: 5px;
    --bs-spinner-animation-speed: 1.25s;
}

.blue-color {
    color: #0d6efd;
}

.green-color {
    color: #28a745;
}

.yellow-color {
    color: #ffc107;
}

.red-color {
    color: #dc3545;
}

.orange-color {
    color: #fd7e14;
}

.grey-color {
    color: #808080;
}

#radio-stage-wrapper label,
#radio-envs-wrapper label,
#horizonsTableSelector label {
    font-size: 12px;
}

.instance-status-container {
    display: inline-block;
}

.instance-status-desc {
    margin-top: 3px;
    font-size: 12px;
    white-space: nowrap;
}

.popover-item {
    white-space: nowrap;
}

.popover-legend-divider {
    margin: 0.5rem 0;
    overflow: hidden;
}

.popover-legend-divider .dropdown-divider {
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.popover-subitem {
    padding-left: 20px;
}

.certificates-service-url-cell {
    white-space: normal !important;
    word-break: break-all;
}

.confirmation-item {
    overflow-wrap: break-word;
}

#instancesTable,
#instancesTable_wrapper {
    min-height: 100%;
    height: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links-container > a {
    margin-right: 16px;
}

.fa-solid.fa-gear {
    font-size: 14px;
}

#instancesTable_wrapper .dropdown-toggle,
#instancesTable_wrapper .show-tasks-table-button {
    width: 60px;
}

.show-tasks-detail-button {
    width: 40px;
}

.spinner_wrapper,
.servers_spinner_wrapper,
.horizons_spinner_wrapper {
    display: none;
    background: rgba(155, 155, 155, 0.45);
    height: 100%;
    width: 100%;
    position: fixed;
    padding-left: 50%;
    padding-top: 10%;
    z-index: 1000;
}

#instanceInfoModal table th,
#instanceInfoModal table td,
#instanceDeployVersionModal table th,
#instanceDeployVersionModal table td,
#configModal table th,
#configModal table td {
    border: 1px solid #cecece;
    border-collapse: collapse;
}

#instanceInfoModal table td {
    min-width: 200px;
    width: 200px;
}

#instanceInfoModal thead td,
#instanceDeployVersionModal thead td,
#configModal thead td {
    font-weight: bold;
}

#instanceInfoModal .container,
#instanceDeployVersionModal .container,
#releaseTaskCompareModal .container,
.base-modal .container {
    height: calc(80vh - 125px);
    overflow-y: scroll;
}

.deploy-container {
    height: calc(80vh - 150px);
    overflow-y: scroll;
}

.deploy-container li {
    font-size: 0.75rem;
}

#configModal .container {
    min-height: calc(50vh - 125px);
    max-height: calc(80vh - 125px);
    overflow-y: scroll;
}

#instanceInfoModal .container h6,
#instanceDeployVersionModal .container h6,
#configModal .container h6,
#releaseTaskCompareModal .container h6,
.base-modal .container h6 {
    font-weight: bold;
}

#releaseTaskCompareModal .container th {
    border-bottom: 1px solid #ddd;
}

#releaseTaskCompareModal .container .column-num {
    text-align: right;
    border-right: 1px solid #ddd;
    padding-right: 5px;
    width: 80px;
}

#releaseTaskCompareModal .container .column-num-header {
    text-align: center;
    border-right: 1px solid #ddd;
}

#releaseTaskCompareModal .container .column-num-subtitle {
    text-align: center;
    border-right: 1px solid #ddd;
    font-weight: normal;
}

#releaseTaskCompareModal .container .wrap {
    width:160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.release-name-wrap {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-name-header-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task_description,
.flash-error {
    margin: 1em 0;
    padding: 1em;
    background: #fcf1ef;
    border: 1px solid #eb919b;
}

#releaseTaskCompareModal,
#confirmModal,
#instanceConfirmModal,
#instanceConfirmQuestionModal,
#serverConfirmQuestionModal,
#dataTablesSelectModal,
#tableSelectModal,
.task-history-modal,
.top-modal {
    z-index: 1070 !important;
}

.modal-backdrop:nth-of-type(3) {
    z-index: 1065;
}

.deploy-version-container {
    margin-top: 10px;
    margin-left: 10px;
    width: 150px;
}

.monitor-links-container {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 0.85em;
}

.deploy-version-name {
    font-size: 0.85em;
}

.deploy-version-timestamp {
    font-size: 0.75em;
    padding-left: 25px;
    padding-top: 3px;
}

.tasks-button-container {
    display: inline-block;
    white-space: nowrap;
}

.tasks-button-container button {
    margin-right: 5px;
}

.download-log-container {
    display: block;
    margin-top: 5px;
}

.config-name-column {
    width: 30%;
    padding-left: 5px;
}

.config-value-column {
    width: 70%;
    padding-left: 5px;
    word-break: break-all;
}

pre {
    padding: 10px;
    border: 1px solid #ddd;
    overflow-x: auto;
    white-space: pre;
}

.config-button-container {
    display: flex;
    justify-content: space-between;
}

.detail-name-column {
    display: inline-block;
    min-width: 400px;
}

.detail-sub-group {
    padding-left: 20px;
}

.countdown-timer {
    white-space: nowrap;
    padding-bottom: 6px;
}

.countdown-timer-container {
    height: 30px;
    position: relative;
    overflow-x: visible;
}

.countdown-timer-overflow {
    background-color: white;
    border-left: 0px solid white;
    border-bottom-left-radius: var(--bs-border-radius);
    position: absolute;
    right: 0;
    z-index: 10;
}

.countdown-timer-text {
    white-space: nowrap;
    padding-bottom: 6px;
    padding-left: 8px;
    background-color: var(--bs-table-bg-type);
    border-left: 0px solid var(--bs-table-bg-type);
    border-bottom-left-radius: var(--bs-border-radius);
    box-shadow: -10px 10px 10px -10px rgb(0 0 0 / 0.15);
}

.actions-dropdown {
    display: inline-block;
    margin-right: 5px
}

.actions-button {
    width: 62px;
}

.cancel-button {
    width: 82px;
    margin-right: 5px;
}

.instance-cancel-button {
    margin-top: 12px;
    width: 82px;
}

.tasks-show-button {
    width: 62px;
}

.highlight-stopfile {
    color: #ebb434;
    font-weight: bold;
}

.force-left {
    text-align: left !important;
}

.no-wrap {
    white-space: nowrap;
}

.folder-no-wrap {
    width:150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.timestamp-label {
    white-space: nowrap;
}

.timestamp-scheduled-label,
.id-chained-label {
    white-space: nowrap;
    font-size: 0.75rem;
}

.timestamp-scheduled-label span,
.id-chained-label span {
    color: grey;
}

.deploy-action-description {
    margin-bottom: 0;
}

.deploy-action-control {
    list-style-type: none;
    display: none;
}

.deploy-action-start {
    list-style-type: none;
}

.message-edit-button {
    width: 90px;
    display: none;
}
