/* Módulo Editorial EED — estilos sobre Bootstrap 3 */

body {
    background-color: #f5f6f8;
}

.pagina-login {
    padding-top: 8vh;
    background: #eef1f5;
}
.panel-login {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}
.panel-login .panel-heading h1 {
    margin: 12px 0 5px;
    font-size: 28px;
}
.form-logout {
    margin: 0;
}
.form-logout .btn-link {
    display: block;
    width: 100%;
    padding: 3px 20px;
    border: 0;
    color: #333;
    text-align: left;
    text-decoration: none;
}
.form-logout .btn-link:hover {
    background-color: #f5f5f5;
}

.footer-editorial {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

/* ---- Bandeja ---- */
.resumen-estados {
    margin-bottom: 10px;
}
.panel-resumen {
    display: block;
    text-decoration: none;
}
.panel-resumen:hover {
    border-color: #337ab7;
    text-decoration: none;
}
.resumen-total {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}
.filtros-bandeja {
    margin-bottom: 20px;
}
.tabla-bandeja {
    background: #fff;
}

/* ---- Detalle: stepper del pipeline ---- */
.pipeline-stepper {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.paso-agente {
    display: table-cell;
    text-align: center;
    vertical-align: top;
    width: 14%;
}
.paso-conector {
    display: table-cell;
    vertical-align: top;
    padding-top: 21px;
}
.paso-conector::after {
    content: "";
    display: block;
    border-top: 3px solid #ddd;
}
.paso-circulo {
    width: 44px;
    height: 44px;
    line-height: 40px;
    margin: 0 auto 6px;
    border-radius: 50%;
    border: 3px solid #ddd;
    background: #fff;
    font-weight: 700;
    font-size: 16px;
}
.paso-nombre {
    font-size: 12px;
    color: #777;
}
.paso-agente.estado-completado .paso-circulo {
    border-color: #5cb85c;
    background: #5cb85c;
    color: #fff;
}
.paso-agente.estado-en_proceso .paso-circulo {
    border-color: #337ab7;
    color: #337ab7;
}
.paso-agente.estado-error .paso-circulo {
    border-color: #d9534f;
    background: #d9534f;
    color: #fff;
}
.paso-agente.estado-completado .paso-nombre,
.paso-agente.estado-en_proceso .paso-nombre {
    color: #333;
    font-weight: 600;
}
.girando {
    animation: girar 1.2s linear infinite;
    display: inline-block;
}
@keyframes girar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- Detalle: documento ---- */
.codigo-grande {
    font-size: 60%;
    vertical-align: middle;
    margin-right: 8px;
}
.tab-content {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    padding: 20px;
    margin-bottom: 30px;
}
.documento-maestro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}
.doc-seccion {
    margin-top: 28px;
}
.tipo-seccion {
    font-size: 55%;
    vertical-align: middle;
}
.doc-cta {
    margin-top: 30px;
    padding: 18px;
    background: #eef6fc;
    border-left: 4px solid #337ab7;
}

/* ---- Ficha / SEO / Plan ---- */
.tabla-ficha th {
    width: 40%;
    color: #777;
    font-weight: 600;
}
.label-kw {
    display: inline-block;
    margin: 0 4px 4px 0;
    white-space: normal;
}
.lista-compacta {
    padding-left: 18px;
    margin-bottom: 0;
}

/* ---- Informe QA ---- */
.nota-grande {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}
.panel-veredicto.veredicto-ok .nota-grande { color: #5cb85c; }
.panel-veredicto.veredicto-no .nota-grande { color: #d9534f; }

/* ---- Agentes ---- */
.monoespaciado {
    font-family: Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
}
