﻿﻿.absolute-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.link-unstyled, .link-unstyled:link, .link-unstyled:hover {
    color: inherit;
    text-decoration: inherit;
}

html, body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Mobile-first: hide desktop nav, show mobile nav */
.desktop-nav {
    display: none;
}

.mobile-nav {
    display: block;
}

/* Desktop (≥768px): show desktop nav, hide mobile nav and menu panel */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex !important;
    }

    .mobile-nav,
    .mobile-menu-panel {
        display: none !important;
    }
}

/* Hide native browser password reveal buttons (Edge, Chrome) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

#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;
    }
