/* Chrome de la aplicación: arranque y avisos de error de Blazor. */

/* ---- Arranque: copia estática de la pantalla de campeonatos mientras baja Blazor ----
   Mismas medidas que AppHeader, MainLayout y el hero de Championships para que el relevo no se note. */
.boot {
    min-height: 100dvh;
    background-color: var(--ms-bg);
}

.boot__header {
    position: relative;
    border-bottom: 1px solid var(--ms-border);
    background-color: var(--ms-bg);
}

.boot__header::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 3px;
    background: linear-gradient(100deg, var(--ms-brand) 0%, var(--ms-gold-600) 55%, var(--ms-accent) 100%);
    opacity: 0.95;
}

.boot__header-inner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    max-width: 1180px;
    height: 4rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.boot__logo {
    display: block;
    width: auto;
}

.boot__rule {
    width: 1px;
    height: 1.75rem;
    background-color: var(--ms-border);
}

.boot__title {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.boot__title-main {
    font-family: var(--ms-font-display);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.1;
    color: var(--ms-text);
}

.boot__title-sub {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ms-gold-ink);
}

:root[data-ms-theme="dark"] .boot__title-sub {
    color: var(--ms-gold-400);
}

.boot__main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.boot__hero {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 2.5rem 2.25rem;
    border-radius: var(--ms-radius-xl);
    background-color: var(--ms-brand);
    background-image: repeating-linear-gradient(115deg, transparent 0 26px, rgb(255 215 0 / 0.055) 26px 28px);
    box-shadow: var(--ms-shadow-md);
}

.boot__eyebrow {
    color: var(--ms-gold-400);
    font-size: 0.6875rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.boot__hero-title {
    font-family: var(--ms-font-display);
    font-size: clamp(2.125rem, 1.5rem + 3vw, 3.25rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #FFFFFF;
}

.boot__hero-meta {
    margin-top: 0.45rem;
    color: rgb(255 255 255 / 0.72);
    font-size: 0.9375rem;
}

.boot__search {
    width: 15rem;
    height: 2.375rem;
    border-radius: var(--ms-radius);
}

.boot__row {
    height: 4.75rem;
    border-radius: var(--ms-radius);
}

@media (max-width: 720px) {
    .boot__hero {
        padding: 1.5rem 1.25rem;
    }

    .boot__hero-title {
        font-size: 2.125rem;
    }

    .boot__search {
        width: 100%;
        height: 2.75rem;
    }
}

@media (max-width: 640px) {
    .boot__header-inner {
        padding: 0 1rem;
    }

    .boot__rule,
    .boot__title {
        display: none;
    }

    .boot__main {
        padding: 1.25rem 1rem 3rem;
    }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: var(--ms-ink-900);
    color: #fff;
    font-size: 0.875rem;
    box-shadow: var(--ms-shadow-lg);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    cursor: pointer;
}

#blazor-error-ui .reload {
    color: var(--ms-accent);
    text-decoration: underline;
}

/* Mensajes de validación de Blazor dentro de nuestros campos. */
.validation-message {
    font-size: 0.8125rem;
    color: var(--ms-danger);
}

.invalid .ms-input,
.ms-input.invalid {
    border-color: var(--ms-danger);
}
