@CHARSET "ISO-8859-1";

    /* ============================================
       CONTENEDOR GENERAL
       ============================================ */

    .resultado {
        width: 96%;
        margin: 30px auto;
        background: #ffffff;
        border: 1px solid #d6dce5;
        padding: 20px;
        box-sizing: border-box;
    }


    /* ============================================
       TITULOS
       ============================================ */

    .resultado-titulo {
        text-align: center;
        font-size: 26px;
        font-weight: bold;
        color: #17386d;
        margin-bottom: 5px;
    }

    .resultado-subtitulo {
        text-align: center;
        font-size: 15px;
        color: #555555;
        margin-bottom: 10px;
    }


    /* ============================================
       GRAFICO
       ============================================ */

    #grafico {
        width: 100%;
        height: 300px;
    }
    
    #grafico {
        width: 100%;
        height: 360px;
    }


    /* ============================================
       LEYENDA
       ============================================ */

.leyenda {
    width: 100%;
    margin: 5px auto 5px auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    white-space: normal;
    box-sizing: border-box;
}

.leyenda-item {
    width: 30%;
    margin: 6px 1%;

    font-size: 12px;
    color: #333333;

    text-align: left;

    white-space: normal;
    box-sizing: border-box;
}

.leyenda-color {
    display: inline-block;

    width: 14px;
    height: 14px;

    margin-right: 6px;

    vertical-align: middle;
    border-radius: 3px;

    flex-shrink: 0;
}


    /* ============================================
       RESUMEN VISUAL
       ============================================ */

    .resumen{
        width: 100%;
        margin-top: 10px;
    }

    .tabla-resumen {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

	.tabla-resumen th {
	    background: #4FAFC4;
	    color: #ffffff;
	    padding: 10px;
	    border: 1px solid #459EB1;
	}

    .tabla-resumen td {
        padding: 9px 12px;
        border-bottom: 1px solid #dddddd;
    }

    .col-descripcion {
        width: 60%;
        text-align: left;
    }

    .col-cantidad {
        width: 18%;
        text-align: center;
    }

       .tabla-resumen td:nth-child(2),
       .tabla-resumen td:nth-child(3) {
        text-align: center;
    }


    /* ============================================
       FILA TOTAL
       ============================================ */

	.fila-total {
	    background: #EAF7FA;
	    color: #397A88;
	    font-weight: bold;
	    font-size: 15px;
	}


    /* ============================================
       MOTIVOS
       ============================================ */

    .detalle-motivo {
        font-weight: bold;
    }

    .punto-motivo {
        width: 14px;
        height: 14px;
        display: inline-block;
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }


    /* ============================================
       COLORES
       ============================================ */

	.color-cobrado {
	    background: #55C9B8;
	}
	
	.color-motivo-1 {
	    background: #F28B82;
	}
	
	.color-motivo-2 {
	    background: #F6C667;
	}
	
	.color-motivo-3 {
	    background: #E77FA7;
	}
	
	.color-motivo-4 {
	    background: #8E9ACD;
	}
	
	.color-motivo-5 {
	    background: #55B9D0;
	}
	
	.color-motivo-6 {
	    background: #F3A36F;
	}
	
	.color-motivo-7 {
	    background: #65BFAE;
	}

	.color-cobradod {
	    background-color: #27CBE8;
	}
	
	/* MOTIVOS NO COBRADOS */
	
	.color-motivo-d1 {
	    background-color: #F84BB5;
	}
	
	.color-motivo-d2 {
	    background-color: #9A6AF2;
	}
	
	.color-motivo-d3 {
	    background-color: #FFD447;
	}
	
	.color-motivo-d4 {
	    background-color: #A7EA2B;
	}
	
	.color-motivo-d5 {
	    background-color: #FF8A65;
	}
	
	.color-motivo-d6 {
	    background-color: #5ED6C1;
	}
	
	.color-motivo-d7 {
	    background-color: #7CA8F8;
	}



    /* ============================================
       NOTA
       ============================================ */

    .nota {
        text-align: center;
        margin-top: 15px;
        font-style: italic;
        color: #666666;
        font-size: 12px;
    }

.btn-descargar-pdf {
    background: #4FAFC4;
    color: #ffffff;
    border: 0;
    padding: 8px 14px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-descargar-pdf:hover {
    background: #3F9AAF;
}

.resumen-container {
    width: 500px;
    margin: 20px auto; /* centra el bloque */
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    font-size: 12px; /* achica la fuente */
}

.resumen-container table {
    width: 100%;
    border-collapse: collapse;
}

.resumen-container td {
    padding: 4px;
}

.resumen-titulo {
    text-align: center;
    color: blue;
    font-weight: bold;
    padding: 8px 0;
}

/* ============================================================
   DONUT  - DISTRIBUCION HORIZONTAL
   ============================================================ */

.donut-layout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 10px 0 20px 0;
}


/* ============================================================
   GRAFICO
   ============================================================ */

.donut-grafico {
    width: 70%;
    box-sizing: border-box;
}

#grafico {
    width: 100%;
    height: 340px;
}


/* ============================================================
   DETALLE DERECHO
   ============================================================ */

.donut-detalle {
    width: 30%;
    box-sizing: border-box;
    padding: 20px 20px;
    margin-right: 50px;
}


.donut-detalle-titulo {
    font-size: 15px;
    font-weight: bold;
    color: #4F7180;
    margin-bottom: 15px;
    padding-bottom: 7px;
    border-bottom: 1px solid #dddddd;
}


/* ============================================================
   FILAS
   ============================================================ */

.donut-detalle-fila {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 38px;
    border-bottom: 1px solid #eeeeee;
    box-sizing: border-box;
}


.donut-detalle-color {
    width: 8%;
    text-align: left;
}


.donut-detalle-descripcion {
    width: 57%;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    color: #333333;
    box-sizing: border-box;
    padding-right: 5px;
}


.donut-detalle-cantidad {
    width: 17%;
    text-align: right;
    font-size: 13px;
    font-weight: bold;
    color: #333333;
}


.donut-detalle-porcentaje {
    width: 18%;
    text-align: right;
    font-size: 12px;
    color: #667788;
}


/* ============================================================
   TOTAL
   ============================================================ */

.donut-detalle-total {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 7px;
    padding-top: 10px;
    border-top: 2px solid #d9e4e8;
    box-sizing: border-box;
}


.donut-detalle-total-texto {
    width: 65%;
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    color: #355d6b;
}


.donut-detalle-total-cantidad {
    width: 17%;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: #355d6b;
}


.donut-detalle-total-porcentaje {
    width: 18%;
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    color: #355d6b;
}

/* ============================================================
   TABLA DETALLE - ESTILO DASHBOARD
   ============================================================ */

.table-wrapper-acobrar {
    width: 92%;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;

    margin: 18px auto 25px auto;

    background: #ffffff;

    border: 1px solid #d9e4e8;
    border-radius: 6px;

    box-sizing: border-box;
}


/* ============================================================
   TABLA
   ============================================================ */

#acobrar {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #ffffff;
}


/* ============================================================
   ENCABEZADO
   ============================================================ */

#acobrar thead th {
    background: #4FAFC4;
    color: #ffffff;

    padding: 8px 6px;

    font-weight: bold;
    text-align: center;

    border-right: 1px solid rgba(255,255,255,0.25);

    position: sticky;
    top: 0;
    z-index: 2;
}


/* ============================================================
   CELDAS
   ============================================================ */

#acobrar tbody td {
    padding: 7px 7px;

    color: #333333;

    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #eeeeee;

    background: #ffffff;
}


/* ============================================================
   FILAS ALTERNADAS
   ============================================================ */

#acobrar tbody tr:nth-child(even) td {
    background: #f7fbfc;
}


/* ============================================================
   HOVER
   ============================================================ */

#acobrar tbody tr:hover td {
    background: #eaf7fa;
}


/* ============================================================
   PRIMERA COLUMNA
   ============================================================ */

#acobrar tbody td:first-child {
    font-weight: bold;
    color: #397A88;
}


/* ============================================================
   SCROLLBAR - CHROME / EDGE
   ============================================================ */

.table-wrapper-acobrar::-webkit-scrollbar {
    width: 10px;
}

.table-wrapper-acobrar::-webkit-scrollbar-track {
    background: #eef4f6;
}

.table-wrapper-acobrar::-webkit-scrollbar-thumb {
    background: #8fcbd7;
    border-radius: 6px;
}

.table-wrapper-acobrar::-webkit-scrollbar-thumb:hover {
    background: #69b8c8;
}

.motivo-rechazo {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}


/* COBRADO */

.motivo-cobradodd {
    background: #D7F5FB;
    color: #168CA4;
}

.motivo-no-cobradodd {
    background: #ffdfdf;
    color: #bb0000;
}

.motivo-cobradoda {
    background: #D7F5FB;
    color: #168CA4;
}
	
.motivo-no-cobradoda {
    background: #ffdfdf;
    color: #bb0000;
}


.informes_grafico {
	margin:0px;padding:0px;
	width:50%;
	box-shadow: 10px 10px 5px #888888;
	border:1px solid #000000;
	
	-moz-border-radius-bottomleft:8px;
	-webkit-border-bottom-left-radius:8px;
	border-bottom-left-radius:8px;
	
	-moz-border-radius-bottomright:8px;
	-webkit-border-bottom-right-radius:8px;
	border-bottom-right-radius:8px;
	
	-moz-border-radius-topright:8px;
	-webkit-border-top-right-radius:8px;
	border-top-right-radius:8px;
	
	-moz-border-radius-topleft:8px;
	-webkit-border-top-left-radius:8px;
	border-top-left-radius:8px;
	margin-left: 20px;
	margin: auto;
	
}
  /* =====================================================
       CONTENIDO EXCLUSIVO DEL PDF
       ===================================================== */
#contenidoPDF {
    position: absolute;

    left: -10000px;
    top: 0;

    width: 794px;

    min-height: 1123px;

    background: #ffffff;

    padding: 0;

    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   ENCABEZADO DEL PDF
   ===================================================== */

#contenidoPDF .pdf-encabezado {
    width: 100%;

    height: 150px;

    margin: 0;

    padding: 0;

    background-image: url(../images/header_2025.jpg);

    background-repeat: no-repeat;

    background-position: center top;

    background-size: cover;

    display: block;
}
#contenidoPDF .pdf-fecha-hora,
#contenidoPDF .pdf-titulo,
#contenidoPDF .pdf-subtitulo,
#contenidoPDF #graficoPDF,
#contenidoPDF .pdf-detalle {
    margin-left: 45px;
    margin-right: 45px;
}

/* =====================================================
   FECHA Y HORA
   ===================================================== */

#contenidoPDF .pdf-fecha-hora {
    text-align: right;

    font-size: 11px;

    color: #777777;

    margin-bottom: 12px;
    margin-top: 20px;
}


    /* =====================================================
       TÍTULO PDF
       ===================================================== */

    #contenidoPDF .pdf-titulo {
        text-align: center;

        font-size: 26px;

        font-weight: bold;

        color: #4F7180;

        margin-bottom: 8px;
    }


    #contenidoPDF .pdf-subtitulo {
        text-align: center;

        font-size: 15px;

        color: #777777;

        margin-bottom: 10px;
    }


    /* =====================================================
       GRÁFICO GRANDE DEL PDF
       ===================================================== */

 #graficoPDF {
    width: calc(100% - 90px);

    height: 440px;

    margin-left: 45px;
    margin-right: 45px;
}


    /* =====================================================
       DETALLE DEL PDF
       ===================================================== */

    .pdf-detalle {
        width: 90%;

        margin: 5px auto 0 auto;

        border-top: 1px solid #dddddd;

        padding-top: 10px;
    }


    .pdf-fila {
        display: flex;

        align-items: center;

        min-height: 29px;

        border-bottom: 1px solid #eeeeee;

        font-size: 14px;
    }


    .pdf-punto {
        width: 11px;

        height: 11px;

        border-radius: 50%;

        margin-right: 10px;

        flex-shrink: 0;
    }


    .pdf-localidad {
        flex: 1;

        font-weight: bold;
    }


    .pdf-cantidad {
        width: 80px;

        text-align: right;
    }


    .pdf-porcentaje {
        width: 80px;

        text-align: right;

        color: #777777;
    }


    /* =====================================================
       TOTAL PDF
       ===================================================== */

    .pdf-total {
        display: flex;

        align-items: center;

        margin-top: 10px;

        padding-top: 9px;

        border-top: 2px solid #4F7180;

        font-size: 15px;

        font-weight: bold;
    }


    .pdf-total-texto {
        flex: 1;
    }


    .pdf-total-cantidad {
        width: 80px;

        text-align: right;
    }


    .pdf-total-porcentaje {
        width: 80px;

        text-align: right;
    }
