/* ============================================================
   app.css — global styles always loaded regardless of theme
   ============================================================ */

/* Blazor error UI — must be global (not scoped) so blazor.web.js
   can toggle it by ID without a CSS scope attribute */
#blazor-error-ui {
    background: #1a1a2e;
    color: #ffffff;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 99999;
    font-family: sans-serif;
    font-size: 14px;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

#blazor-error-ui a.reload {
    color: #ff4d24;
    margin-left: 0.5rem;
}

/* tc-hidden — temporary visibility toggle, remove class when TrialCatcher.com portal is live */
.tc-hidden {
    display: none !important;
}

/* Powered-by TrialCatcher link in Zonar nav footer */
.nav-footer-powered a {
    color: #9CCE5A !important;
    text-decoration: none !important;
}
.nav-footer-powered a:hover {
    text-decoration: underline !important;
}

/* Zonar nav footer powered-by line */
.nav-footer {
    height: auto !important;
    min-height: 70px;
    line-height: normal !important;
    padding-top: 16px !important;
    padding-bottom: 12px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    bottom: 0 !important;
}

.nav-footer > span {
    line-height: 1;
}

.nav-footer-powered {
    margin-top: 6px;
    font-size: 10px;
    opacity: 0.7;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
}

.nav-footer-powered a {
    color: inherit;
    text-decoration: underline;
}
