@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* /Pages/Calificacion/CalificacionFeria.razor.rz.scp.css */
/* Altura fija para la franja de encabezado: todas las tarjetas quedan iguales */
.header-fixed[b-s310ghbm5u] {
    min-height: 64px; /* ajústalo si necesitas más/menos */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Títulos: máximo 2 líneas, el resto se corta con "…" */
.title-2lines[b-s310ghbm5u] {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 líneas máximas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Misma altura para cada input (coherente con form-control-sm) */
.input-fixed[b-s310ghbm5u] {
    height: 34px; /* estable; puedes usar 36–38 si prefieres */
}

/* Evita que palabras largas rompan el layout */
.text-break[b-s310ghbm5u] {
    word-break: break-word;
}

/* Opcional: que todas las cards tengan el mismo alto en la fila */
.card.h-100[b-s310ghbm5u] {
    height: 100%;
}

.table input.form-control-sm[b-s310ghbm5u],
.table select.form-select-sm[b-s310ghbm5u] {
    height: 34px;
}
.btn-same[b-s310ghbm5u] {
    height: 44px; /* mismo alto para todos */
    font-weight: 600;
    letter-spacing: .2px;
}

/* opcional: bordes más suaves */
.btn[b-s310ghbm5u] {
    border-radius: .6rem;
}
/* alto uniforme para botones y selects */
.btn-same[b-s310ghbm5u] {
    height: 44px;
    font-weight: 600;
    letter-spacing: .2px;
    border-radius: .6rem;
}

.control-same[b-s310ghbm5u] {
    height: 44px; /* igual al botón */
    line-height: 44px; /* centra el texto en algunos navegadores */
    border-radius: .6rem;
}

/* opcional: separaciones más finas en el header */
.content-header .row > [class*="col-"][b-s310ghbm5u] {
    padding-top: .25rem;
    padding-bottom: .25rem;
}
/* ancho mínimo y consistente para columnas de juez */
th.th-judge[b-s310ghbm5u] {
    min-width: 140px;
}

/* muestra el nombre en 2 líneas máximo con elipsis si se excede */
.th-name[b-s310ghbm5u] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* cambia a 3 si prefieres */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    max-height: calc(1.1em * 2); /* mantener alto medido por las líneas */
    word-break: break-word; /* evita overflow con palabras largas */
}

/* En pantallas pequeñas: usa 1 línea para ganar espacio (opcional) */
@media (max-width: 992px) {
    th.th-judge[b-s310ghbm5u] {
        min-width: 120px;
    }

    .th-name[b-s310ghbm5u] {
        -webkit-line-clamp: 1;
        max-height: 1.1em;
    }
}
/* /Pages/Resultados/PantallaResultadosFeria.razor.rz.scp.css */

/* ===== Encabezado ===== */
.header-band[b-9iow444sbn] {
    margin-bottom: .75rem;
}

.brand-logo[b-9iow444sbn] {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

/* ===== Tabla ===== */
.table-results thead th[b-9iow444sbn] {
    white-space: nowrap;
}

.th-judge[b-9iow444sbn] {
    min-width: 140px;
}

.th-name[b-9iow444sbn] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
    max-height: 2.3em;
    word-break: break-word;
}

/* ===== Colores por puesto (como en tu maqueta) ===== */
.tr-puesto-1[b-9iow444sbn] {
    background: #d9e6fb;
}
/* azul suave */
.tr-puesto-2[b-9iow444sbn] {
    background: #f7d6d9;
}
/* rojo suave */
.tr-puesto-3[b-9iow444sbn] {
    background: #efe1b3;
}
/* dorado/beige */
.tr-puesto-4[b-9iow444sbn] {
    background: #d8ebe1;
}
/* verde suave */
.tr-puesto-5[b-9iow444sbn] {
    background: #eeeeee;
}
/* gris claro */

/* ===== Tipografía compacta en celdas grandes ===== */
h1[b-9iow444sbn], h2[b-9iow444sbn] {
    font-weight: 700;
}

h1[b-9iow444sbn] {
    font-size: 2.0rem;
}

h2[b-9iow444sbn] {
    font-size: 1.5rem;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 992px) {
    .brand-logo[b-9iow444sbn] {
        max-height: 90px;
    }

    .th-judge[b-9iow444sbn] {
        min-width: 120px;
    }

    .th-name[b-9iow444sbn] {
        -webkit-line-clamp: 1;
        max-height: 1.15em;
    }
}


/* /Shared/MainLayout.razor.rz.scp.css */
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1883c2wkpd] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-1883c2wkpd] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-1883c2wkpd] {
    font-size: 1.1rem;
}

.oi[b-1883c2wkpd] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-1883c2wkpd] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1883c2wkpd] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1883c2wkpd] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1883c2wkpd]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-1883c2wkpd]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-1883c2wkpd]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1883c2wkpd] {
        display: none;
    }

    .collapse[b-1883c2wkpd] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
