.hex-pair {
    margin-right: 0.50rem;
}

.small-table {
    font-size: 1rem;
    margin: 0 auto;

}

.small-table td,
.small-table th {
    vertical-align: middle;
}

.selected-table {
    font-size: 1rem;
    margin: 0 auto;
    /* border: 2px solid red; */
}

.selected-table:not(.collapsed) {
    /* border: 2px solid rgba(142, 207, 242, 255); */
    /*blue*/
    border: 2px solid rgba(53, 182, 65, 255);
    /*green*/
    border-radius: 5px;
        /* Rounded corners */
}

.selected-row {
    vertical-align: middle;
    border: 2px solid rgba(53, 182, 65, 255);
    /*green*/
}

.small-input {
    height: 30px;
    font-size: 1rem;
    margin: 0 auto;
}

.small-input::placeholder {
    opacity: 0.2;
    color: inherit;
}

.select-input {
    height: 30px;
    font-size: 0.80rem;
    margin: 0 auto
}

.button-input {
    height: 30px;
    font-size: 1rem;
    margin: 0 auto;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.small-info {
    height: 20px;
    /* font-size: 0.5rem; */
    margin: 0 auto
}

/* Hide main content by default */
#main-content {
    display: none;
}

/* Show main content on large screens */
@media (min-width: 1024px) {
    #main-content {
        display: block;
    }
}

/* Show the message on small screens */
#small-screen-message {
    display: block;
    padding: 20px;
    text-align: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

/* Hide the message on large screens */
@media (min-width: 1024px) {
    #small-screen-message {
        display: none;
    }
}

.range-td {
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center vertically */
}

.range-text {
    text-align: left;
    /* Align text to the left */
    margin: 0;
    /* Remove any default margin */
}

.custom-modal {
    max-width: 980px;
}

/* Style for the whole table, adding a surrounding container for better control */
.table-outline {
    border: 1px solid #dee2e6;
    /* Light grey border */
    border-radius: 8px;
    /* Rounded corners for the whole table */
    overflow: hidden;
    /* Prevents children from overflowing rounded corners */
    width: 100%;
    /* Full width for visual consistency */
    margin-bottom: 5px;
    /* Margin for spacing between elements */
}

/* Container around the table for border and rounded corners */
.table-outline {
    border: 1px solid #dee2e6;
    /* Ensures the border is visible */
    border-radius: 8px;
    /* Rounded corners */
    overflow: hidden;
    /* Ensures content respects border rounding */
    width: 100%;
    /* Optional: adjust based on layout needs */
    margin-bottom: 5px;
    /* Space below the table */
}

/* Styles for the table */
.table-outline table {
    width: 100%;
    /* Full width of the container */
    border-collapse: collapse;
    /* Eliminates space between borders */
}

.table-outline th,
.table-outline td {
    padding: 8px;
    /* Padding within cells */
    border-bottom: 1px solid #dee2e6;
    /* Border for separation, except the last row */
}

.table-outline th {
    background-color: #f8f9fa;
    /* Styling headers differently */
}

.table-outline tbody tr:last-child td {
    border-bottom: none;
    /* No border at the bottom of the last row */
}

.btn-help {
    color: rgba(53, 182, 65, 255);
    border-color: rgba(53, 182, 65, 255);
}

.btn-help:hover,
.btn-help:focus {
    color: rgba(53, 182, 65, 200);
    border-color: rgba(53, 182, 65, 200);
}
.btn-impressum {
    color: rgba(142, 207, 242, 255);;
    border-color: rgba(142, 207, 242, 255);;
}

.btn-impressum:hover,
.btn-impressum:focus {
    color: rgba(142, 207, 242, 255);;
    border-color: rgba(142, 207, 242, 255);;
}

.eui-input {
    height: 40px;
    /* adjusted for better visual alignment */
    font-size: 1rem;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    /* Vertically centers the text in the input */
}

.eui-input::placeholder {
    opacity: 0.2;
    color: inherit;
}

.device-info-display {
    /* display: flex; */
    align-items: center;
    text-align: center;
    /* Vertically centers the content */
    height: 100%;
    /* Ensures the container fills its parent height */
}

.port-info-display {
    color: red;
    font-weight: normal;
    font-size: 1rem;
}