/* porra.css — La Porra del 29N. Complementa launcher.css y guia.css. */

.guia h2.porra-veredicto { font-size: 1.25rem; margin: 22px 0 16px; color: #ffd700; }
.porra-estado { font-weight: 600; color: #fff !important; }
.porra-estado:empty { display: none; }
.porra-estado.error { color: #ff9a9a !important; }
.porra-nota { font-size: 0.88rem; color: #a9a9bb !important; }
.porra-cta { margin-top: 28px; }

.porra-barra { display: flex; height: 16px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.porra-barra span { display: block; height: 100%; }

.porra-total {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 0;
    background: #17233f;
    font-weight: 700;
    text-align: center;
}
.porra-total.mal { color: #ffb36b; }
.porra-total.bien { color: #8fe08f; }

.porra-fila {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) 40px 62px 40px;
    gap: 8px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.porra-color { width: 12px; height: 28px; border-radius: 3px; }
.porra-nombre { font-weight: 600; }
.porra-nombre small { display: block; font-weight: 400; color: #a9a9bb; font-size: 0.76rem; }
.porra-fila button {
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.porra-fila button:hover { border-color: #ffd700; }
.porra-fila input {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: #101a33;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
}

.porra-envio { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.porra-envio label { font-weight: 600; }
.porra-envio input {
    flex: 1 1 160px;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: #101a33;
    color: #fff;
    font-size: 1rem;
}
.porra-envio button:disabled { opacity: 0.45; cursor: not-allowed; }

.porra-tabla-envoltura { overflow-x: auto; }
.porra-tabla { width: 100%; border-collapse: collapse; }
.porra-tabla th, .porra-tabla td { padding: 7px 8px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.porra-tabla th:first-child, .porra-tabla td:first-child { text-align: left; }
.porra-top { padding-left: 28px; line-height: 1.8; color: #d8d8e4; }
.porra-apoyo {
    margin: 22px 0 8px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.06);
}
.porra-apoyo p { margin: 0 0 10px; font-size: 0.95rem; }
.porra-apoyo-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.porra-info { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; }
.porra-info h3 { margin: 18px 0 6px; font-size: 1.05rem; color: #ffd700; }
.porra-tabla tfoot th { padding: 8px; text-align: right; border-top: 2px solid rgba(255, 255, 255, 0.25); }
.porra-tabla tfoot th:first-child { text-align: left; }
