/* Global reset + tokens for the Hangar Management Console (dark / flightline). The shell,
   Overview, and placeholder styling live in scoped *.razor.css; this file is the document-level
   base + the Blazor error UI. */

:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #0e0f11;
    color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

a {
    color: #82aee3;
    text-decoration: none;
}

a:hover {
    color: #9cc4f0;
}

::selection {
    background: rgba(217, 169, 92, .28);
}

:focus-visible {
    outline: 2px solid #82aee3;
    outline-offset: 2px;
    border-radius: 6px;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 8px;
}

.console-empty {
    padding: 24px 22px;
    color: #8a8c93;
    font-size: 13px;
}

/* Blazor Server unhandled-error dock (framework toggles display on error). */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #1b1c1f;
    border-top: 1px solid rgba(240, 185, 95, .4);
    color: #e7c489;
    font-size: 13px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
}

#blazor-error-ui .err-title {
    flex: 1;
}

#blazor-error-ui .reload {
    color: #9cc4f0;
    font-weight: 600;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    color: #8a8c93;
    padding: 0 6px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
