/* Importing external icon font */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* Base styles for HTML and body */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Focus style for headings */
h1:focus {
    outline: none;
}

/* Link and button styles */
a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Focus state for various elements */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Custom validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Error UI for Blazor */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Error boundary message */
.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* Sticky table header styles */
#unitTable thead {
    position: sticky;
    top: 0;
    background-color: #ffffff;
}

/* Fixed header styles */
.fixed-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

/* Menu container base styles */
.menu-container {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.btn-group .dropdown-menu {
    background-color: #f8f9fa;
}

    .btn-group .dropdown-menu .dropdown-item {
        color: #000;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

.btn-group .btn {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.btn-group .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    /* Styles for mobile menu (side menu) */
    .mobile-menu {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    /* Adjusted padding for mobile menu */
    .menu-container {
        padding: 0.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

        .btn-group .btn {
            width: 100%;
            margin-bottom: 0.25rem;
        }

        .btn-group .dropdown-menu {
            width: 100%;
        }
}

/* Styles for desktop (top menu) */
.desktop-menu {
    display: block;
}

/* Page level styles */
.page {
    padding: 1rem;
}

/* Header container styles */
.header-container {
    background-color: #007bff;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

/* Marquee container styles */
.marquee-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .marquee-container marquee {
        margin-right: 10px;
    }

/* Content styles */
.content {
    margin-top: 1rem;
}

/* Responsive styles for header on mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .marquee-container {
        width: 100%;
        justify-content: center;
    }

        .marquee-container marquee {
            width: 100%;
        }
}


#myDIV {
    width: 100%;
    display: "none";
    /* padding: 50px 0;
    text-align: center;
    background-color: lightblue;
    margin-top: 20px;*/
}
