.resource_table_style {
    overflow-x: auto;
    position: relative;
}

.resource_table_style  th, .table td {
    white-space: nowrap; /* Prevent text from wrapping */
}

.resource_table_style thead th:first-child,
.resource_table_style tbody td:first-child {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    left: 0;
    background-color: white; /* to ensure it doesn't blend with other cells */
    z-index: 2; /* keep it above other cells */
    box-shadow: 1px 0 0 #ddd; /* optional: adds a shadow to the right to separate it visually */
    border-right: 1px solid #ddd; /* add border to the right */
    border-bottom: 1px solid #ddd; /* add border to the bottom */
    border-left: 1px solid #ddd; /* add border to the left */
}

.resource_table_style th:first-child {
    top: 0; /* ensure the header stays at the top */
    border-top: 1px solid #ddd; /* add border to the top */
    border-right: 1px solid #ddd; /* add border to the right */
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f3f3f3;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

#instanceRefreshCheck {
    cursor: pointer;
    transition: color 0.3s; /* Smooth color transition */
}

#instanceRefreshCheck:hover {
    color: blue; /* Change color on hover */
}

.spinner {
	position: fixed;
	/* Keep the spinner fixed on the screen */
	top: 50%;
	/* Center vertically */
	left: 50%;
	/* Center horizontally */
	transform: translate(-50%, -50%);
	/* Center the spinner */
	z-index: 1000;
	/* Ensure it's on top of other elements */
	font-size: 24px;
	/* Adjust size as needed */
	color: blue;
	/* Spinner color */
}

.spinner .fa-spinner {
	font-size: 2rem;
	/* Adjust size as needed */
}
.progress {
    height: 1.5rem;
}

.progress-bar {
    width: 0;
    transition: width 0.6s ease;
}

.status-message {
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    display: none; /* Hidden by default */
}

/* Responsive styles */
@media (max-width: 768px) {
    .status-message {
        font-size: 14px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .status-message {
        font-size: 12px;
        padding: 6px;
    }
}



