html,
body {
    min-height: 100%;
    margin: 0;
    background: #050814;
    color: #f8fbff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.btn {
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fbff;
    font-weight: 900;
}

.btn-primary {
    border-color: rgba(96, 165, 250, 0.62);
    background: linear-gradient(135deg, #0b6eea, #0754b8);
}

.btn-danger {
    border-color: rgba(248, 113, 113, 0.7);
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.btn-outline-light {
    border-color: rgba(226, 232, 240, 0.54);
    background: rgba(255, 255, 255, 0.06);
}

.loading-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    background:
        radial-gradient(circle at 20% 0%, rgba(239, 68, 68, 0.28), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(14, 165, 233, 0.2), transparent 30%),
        linear-gradient(145deg, #070b17 0%, #111827 48%, #210d20 100%);
    color: #dbeafe;
    font-weight: 900;
}

.loading-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dc2626, #0ea5e9);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.28);
    color: #fff;
}

.not-found-panel {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
}

.not-found-panel a {
    color: #93c5fd;
    font-weight: 900;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 3000;
    max-width: calc(100vw - 24px);
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.96);
    color: #fff;
    padding: 12px 42px 12px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 12px;
    top: 10px;
    color: #fff;
    text-decoration: none;
}
