html, body {
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

a, .btn-link {
    color: #006bb7;
}

.btn-v-sml {
    padding: 2px 4px 2px 4px;
    font-size: 14px;
}

.btn-primary {
    color: #fff;
    background-color: #4885c2;
    border-color: #4885c2;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .btn-primary .text {
        display: none;
    }
}

.btn-secondary {
    color: #fff;
    background-color: #868e96; /* Warm gray */
    border-color: #6c757d; /* Slightly darker warm gray */
    border-radius: 2px;
}

.btn-danger {
    color: #fff;
    background-color: #cd515b; /* Vibrant red */
    border-color: #d62828; /* Slightly darker red */
    border-radius: 2px;
}

.btn-warn {
    color: #fff;
    background-color: #eaa948;
    border-color: #eaa948;
    border-radius: 2px;
}

.btn-warn:disabled {
    background-color: #a9a9a9; /* Nice grey color */
    border: none;
}

.btn-atag {
    text-decoration: none;
    padding: 2px 6px 2px 6px;
    color: #fff;
    background-color: #4885c2;
    border-color: #4885c2;
    border-radius: 2px;
}

.eranest-grid {
    height: 16.5rem;
    overflow-y: auto;
}

.txt-success {
    color: #32de84;
}

.txt-primary {
    color: #1b6ec2;
}

.txt-warning {
    color: goldenrod;
}

.txt-macaddress {
    padding-left: 5px;
    word-wrap: break-word;
}

.txt-danger {
    color: #e63946;
}

.full-width {
    display: block;
    width: 100%;
}

.content {
    padding-top: 1.1rem;
}

h1 {
    text-align: center;
}

    h1:focus {
        outline: none;
    }

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

.card-flex-item {
    flex: 1;
    margin: 10px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.container {
    max-width: 400px;
    margin: auto;
    padding: 50px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD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OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.eranest-dropdown {
    width: 100%; /* Fills all available width */
    border-radius: 0; /* No rounded corners */
    margin-bottom: 8px; /* Increase space below to prevent clipping by the button */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}

.eranest-dropdown-toggle {
    padding: 0px 4px 0px 4px;
    border-radius: 0px;
}

.eranest-logo {
    background-image: url("images/logo.png");
}

.eranest-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .eranest-table th {
        border: 1px solid #dddddd;
        text-align: center;
        padding: 8px;
    }

    .eranest-table td {
        border: 1px solid #dddddd;
        text-align: left;
        padding: 8px;
    }

    .eranest-table th {
        font-weight: bold;
    }

    /* Optional: Ensure the "Actions" column is furthest to the right */
    .eranest-table td:last-child {
        text-align: right;
    }


.eranest-table2 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .eranest-table2 th {
        border: 1px solid #dddddd;
        text-align: center;
        padding: 8px;
    }

    .eranest-table2 td {
        border: 1px solid #dddddd;
        text-align: center;
        padding: 8px;
    }

    .eranest-table2 th {
        font-weight: bold;
    }

.eranest-table3 {
    width: 100%;
    border-collapse: collapse;
}

    .eranest-table3 th {
        border: 1px solid #dddddd;
        text-align: center;
        padding: 8px;
    }

    .eranest-table3 td {
        border: 1px solid #dddddd;
        text-align: left;
        padding: 8px;
    }

    .eranest-table3 th {
        font-weight: bold;
    }

    /* Optional: Ensure the "Actions" column is furthest to the right */
    .eranest-table3 td:last-child {
        text-align: right;
    }

.eranest-btn-sleak {
    border: none;
    background-color: transparent;
}

.eranest-btn-dateinput {
    border: solid;
    border-radius: 4px;
    border-style: groove;
}

.eranest-table4 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .eranest-table4 th {
        text-align: left;
        padding: 12px;
        border-bottom: 2px solid #ddd;
        background-color: #f8f9fa;
        font-weight: normal;
    }
    
    .eranest-table4 td {
        text-align: left;
        padding: 12px;
        border-bottom: 1px solid #ddd;
        background-color: #f1f1f1;
    }

    .eranest-table4 tr:last-child td {
        border-bottom: none;
    }

.eranest-table-card {
    border-collapse: collapse;
}

    .eranest-table-card th {
        text-align: center;
        padding: 8px;
    }

    .eranest-table-card td {
        text-align: center;
        padding: 8px;
    }

    .eranest-table-card th {
        font-weight: bold;
    }

.simply-grid-header {
    cursor: pointer;
    user-select: none;
    padding: 8px;
    text-align: left;
    font-weight: bold;
    position: relative;
}

    .simply-grid-header:hover {
        background-color: #f5f5f5;
    }

.sort-indicator {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

    .sort-indicator.asc {
        border-bottom: 4px solid #000;
    }

    .sort-indicator.desc {
        border-top: 4px solid #000;
    }

/* Container to hold the two blocks */
.eranest-welcome-container {
    display: flex;
    height: 40vh; /* Make sure it takes up the full viewport height */
    margin: 0 auto; /* Center the container horizontally */
    gap: 30px; /* Add space between the two blocks */
    text-align: center;
}

/* Styling for the blocks */
.eranest-welcome-block {
    flex: 1;
    flex-direction: column; /* Arrange items vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 15px;
    outline: thick inset;
}

.eranest-welcome-image-size {
    font-size: 128px;
}

@media (max-width: 762px) {
    .eranest-welcome-container {
        flex-direction: column; /* Stack blocks vertically */
    }

    .eranest-welcome-block {
        height: 50vh; /* Each block takes 50% of the viewport height */
        outline: thin inset;
    }

    .eranest-welcome-container {
        gap: 10px; /* Reduce gap for mobile devices */
    }

    .eranest-welcome-image-size {
        font-size: 64px;
    }
}

.eranest-sidebar {

}

@media (min-width: 1280px) {
    .eranest-sidebar {
        width: var(--bb-sidebar-width);
        position: sticky;
        top: 0;
    }
}

.eranest-label {
    margin-right: 1px; /* Space between label and input field */
    padding-left: 1px;
    text-align: left; /* Align label text to the right */
}

.eranest-form-group {
    display: flex;
    align-items: center; /* Aligns label and input vertically */
    justify-content: flex-start; /* Aligns content to the left */
    margin-bottom: 5px; /* Space between form-group sections */
    margin-top: 5px; /* Space between form-group sections */
}

.eranest-input-button {
    width: 200px; /* Set a fixed width for the label to create space */
    margin-right: 10px; /* Space between label and input field */
    text-align: left; /* Align label text to the right */
}

.eranest-input-field {
    flex: 1;
    padding: 2px;
    border: solid 1px;
    border-radius: 0px;
}

.eranest-input-field-full-width {
    padding: 2px;
    border: solid 1px;
    border-radius: 0px;
    min-width: 0px;
    width: 100%;
}

.eranest-divider {
    border: none; /* Removes the default border */
    border-top: 2px solid black;
    margin: 10px 0; /* Adds space around the line */
}

.eranest-room-link {
    color: black;
    text-decoration: none;
    text-decoration: underline;
}

.eranest-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #E9E9ED;
    /* Blue background */
    color: black;
    /* White text */
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 1px;
    padding-bottom: 1px;
    cursor: pointer;
    border: 1px solid black;
}

.eranest-filter-button .icon {
    font-size: 16px;
    /* Adjust size for the icon */
}   

.eranest-filter-button .text {
    margin-right: auto;
}

@media (max-width: 576px) {
    .eranest-filter-button .text {
        display: none;
    }
}

.eranest-filter-button .count {
    background-color: #3b82f6;
    color: #E9E9ED;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

@media (max-width: 576px) {
    .eranest-filter-button .count {
        display: none;
    }
}

.eranest-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.eranest-card3 {
    flex: 1 1 calc(33.333% - 5px);
    max-width: calc(33.333% - 5px);
    border: 1px solid #ccc;
    padding: 5px;
}

@media (max-width: 768px) {
    .eranest-card3 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

ol {
    margin: 0;
    padding: 0;
    list-style-position: inside;
    flex-wrap: wrap;
}

    ol li {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

.table-responsive .dropdown,
.table-responsive .btn-group,
.table-responsive .btn-group-vertical {
    position: static;
}

#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show, 
#components-reconnect-modal.components-reconnect-failed, 
#components-reconnect-modal.components-reconnect-rejected {
    display: block;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f0f0f0;
    color: #333;
    padding: 1rem 2rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 10000;
    text-align: center;
    animation: reconnect-fade-in 0.4s ease-in-out;
    z-index: 10001;
}

@keyframes reconnect-fade-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

:root {
    --bb-sidebar-width: 205px;
    --bb-sidebar-top-row-border-color: var(--bb-sidebar-top-row-background-color);
    --bb-sidebar-top-row-background-color: #2c3546; /* Default color */
    --bb-sidebar-brand-image-width: 24px;
    --bb-sidebar-brand-image-height: 24px;
    --bb-sidebar-content-border-color: #bbbcc9;
    --bb-sidebar-nav-item-text-color: rgba(0,0,0,0.9);
    --bb-sidebar-nav-item-text-active-color-rgb: 10,10,80;
    --bb-sidebar-nav-item-text-hover-color: rgba(var(--bb-sidebar-nav-item-text-active-color-rgb),0.9);
    --bb-sidebar-nav-item-text-active-color: rgba(var(--bb-sidebar-nav-item-text-active-color-rgb),0.9);
    --bb-sidebar-nav-item-background-hover-color: rgba(var(--bb-sidebar-nav-item-text-active-color-rgb),0.08);
    --bb-sidebar-nav-item-group-background-color: rgba(var(--bb-sidebar-nav-item-text-active-color-rgb),0.08);
    
    --bs-border-radius: 0.125rem;
}