body {
    background: linear-gradient(to top, black, gray);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.page-background {
    min-height: 100vh;
    background: linear-gradient(to top, black, gray);
}

.fade-in {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.fade-in-visible {
    opacity: 1;
}

.container {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.welcome-buttons {
    border: 2px solid black;
    border-radius: 2%;
    padding: 30px;
    background-color: #cccccc;
    cursor: pointer;
    text-decoration: none;
    color: black;
    text-align: center;
    width: 40%;
}

.welcome-buttons a {
    text-decoration: none;
    color: black;
}

.welcome-buttons:hover {
    border-radius: 5%;
    background-color: rgb(113, 113, 116);
}

.select-button {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 20px;

}
.buttons {
    border: 2px solid black;
    border-radius: 5%;
    padding: 30px;
    background-color: #cccccc;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.buttons a{
    text-decoration: none;
    color: black;
}

.buttons:hover {
    border-radius: 5%;
    background-color: rgb(113, 113, 116);
}

.reports {
    width: 10%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 20px;
}

.equipment-select {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.equipment-select a {
    text-decoration: none;
    color: black;
    padding: 50px;
}

.equipment-select li:hover {
    background-color: gray;
}

.equipment-select li {
    border: 2px solid black;
    background-color: lightgray;
    border-radius: 10px;

}

.equip-header {
    margin-top: 100px;
    margin-bottom: 50px;
}

.welcome {
    margin-top: 70px;
}

.centered-form{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: gray;
}

form {
    background-color: gray;
}

.badge-success {
    background-color: green;
    
    
}

.badge-danger {
    background-color: red;
    
}

.badge-warning {
    background-color: orange;
    color: black;
}

.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.loading-indicator::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border: 6px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-container {
    width: 50%;
    margin: auto;
    text-align: center;
}
.chart-container {
    position: relative;
    margin: auto;
    height: 400px;
    width: 400px;
}

.loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}
.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.table th, .table td {
    width: 100px; /* Set a fixed width for columns */
    word-wrap: break-word; /* Ensure text wraps within the cell */
}

.scope {
    max-width: 200px; /* Set a maximum width for the scope div */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.scope:hover {
    white-space: normal; /* Allow text to wrap on hover */
    overflow: auto; /* Add scroll bar on hover */
}


.table th.type-column,
.table td.type-column {
    width: 10%;
}

.table th.name-column,
.table td.name-column {
    width: 20%;
}

.table th.number-column,
.table td.number-column {
    width: 10%;
}

.table th.scope-column,
.table td.scope-column {
    width: 50%;
}

.table th.view-column,
.table td.view-column {
    width: 10%;
}

.table-responsive {
    overflow-x: auto;
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #fff; /* Adjust as necessary */
    z-index: 1;
    box-shadow: 1px 0 0 #ddd; /* Optional to add a slight shadow */
}

.sticky-col a {
    color: black;
}

.sticky-tabs {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    padding-top: 10px; /* Adjust padding as needed */
    padding-bottom: 10px; /* Adjust padding as needed */
    margin-bottom: 10px; /* Add margin to create space below the tabs */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: Add a shadow for better visibility */
}
