body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    /*margin: 10px;*/
    padding: 0;
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.menu {
    width: 220px;
    padding: 20px;
    border-right: 1px solid #ccc;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.menu ul li a {
    text-decoration: none;
}

.container {
    width: calc(100% - 200px);
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.container-xxl {
    width: calc(100% - 2px);
    max-width: 100%;
}

h1 {
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.2;
}

form, .box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    margin-bottom: 1px;
}

.status-ok {
    background-color: green;
    color: black;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

.status-pending {
    background-color: orange;
    color: black;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

.status-not-ok {
    background-color: red;
    color: black;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

.bold {
    font-weight: bold;
}

/*
.box {
    width: 50%;
    margin: 0 auto;
}


.form-group {
    display: flex;
    justify-content: space-between;
}

.submit-status-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-group {
    display: flex;
    align-items: center;
    gap: 20px;
} */

/* # denotes its an id selector */
#status_light {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: gray;
}

input {
    display: block;
    margin-bottom: 1px;
}

/* Lack of anything denotes its a tag (aka type) selector */
input[type="submit"] {
    background-color: #008CBA;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

input:invalid {
    border: 2px solid red; /* Highlight invalid fields */
    background-color: #ffe6e6; /* Optional: Light red background */
}

input:focus:invalid {
    outline: none; /* Optional: Remove the default focus outline */
}

.strikethrough {
    text-decoration: line-through;
}

/* . denotes its a class selector */
.row-bordered {
    border-bottom: 1px solid #ccc; /* Change color as needed */
    margin-bottom: 1rem; /* Add some space below the border */
    padding-bottom: 1rem; /* Add some space above the border */
    display: flex;
}

.row-left {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem; /* Add some space below the border */
    align-items: center;
}
.row-left > * {
    margin-right: 2rem;

}

.flex-row {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden; /* Prevents scroll on the row itself */
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}


/* Container setup */
.split-screen {
    display: flex;
    gap: 10px; /* Optional: Adds space between the items */
}

/* Child items setup */
.split-screen > .split-item {
    flex: 1;
    min-width: 0; /* Prevents overflow */
}

.toggle-display {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.toggle-display.hidden {
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
}

.progress-wrapper {
    position: relative; /* Enable absolute positioning for children */
}

.progress-label {
    position: absolute; /* Position it absolutely within the wrapper */
    top: 50%;          /* Center vertically */
    left: 50%;        /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for the center */
    color: #212529;      /* Change text color to white or another contrast color */
    pointer-events: none; /* Prevent pointer events on the label */
    font-weight: bold;  /* Optional: make it bold */
}

/* Ensure buttons have margin spacing */
button {
    margin-right: 10px;
}
button:last-child {
    margin-right: 0;
}

/* Ensure tooltips/icons have space */
label span {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.select2-search__field {
    min-width: 100px; /* Optional: Set a minimum width */
}
    
.table-fixed {
    table-layout: fixed; /* Ensures columns obey width settings */
    width: 100%; /* Full width */
    border-collapse: collapse; /* Clean borders */
}
.table-fixed th,
.table-fixed td {
    white-space: pre-wrap; /* Ensures text wraps and \n works */
    word-wrap: break-word; /* Allows long words to break onto the next line */
    overflow-wrap: break-word; /* Alternative for better browser support */
    max-width: 200px; /* Optional: Prevents cells from growing too large */
}

/*
button {
    outline: 2px solid red;
}*/
/*margin: 5px !important;*/
/* Optional: Styling for visualization
.split-item {
    background-color: lightblue;
    border: 2px solid blue;
    box-sizing: border-box;
} */