/* Botón de la banderita en la tarjeta del vendedor */
.report-section {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.btn-reportar {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-reportar-vendedor {
    margin-top: -15px;
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-reportar-vendedor:hover {
    color: #ff0400;
    font-size: 0.95;
    font-weight: bold;
}


.btn-reportar:hover , .btn-reportar:hover .material-symbols-outlined {
    color: #eb221e;
    font-size: 0.95;
    font-weight: bold;
}


/* El Modal (Caja negra de fondo) */
.modal-reporte {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px); /* Un toque moderno de desenfoque */
}

/* Contenido del Modal */
.modal-reporte-contenido {
    background-color: #fff;
    width: 90%;
    max-width: 350px;
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-reporte-contenido h3 {
    margin-top: 0;
    color: #333;
}

.select-reporte {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* Botones del Modal */
.modal-acciones {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-cancelar {
    background: #eee;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    flex: 1;
}

.btn-enviar-reporte {
    background: #d9534f;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    flex: 1;
    font-weight: bold;
}


@media (min-width: 768px) {

    .report-section {
        position: relative;
    }
    
    .btn-reportar {
        position: absolute;
        top: 20px;
        left: 1px;
        font-size: 1.0rem;
    }
}

@media (min-width: 1024px) {

    .report-section {
        position: relative;
    }
    
    .btn-reportar {
        position: absolute;
        top: 22px;
        right: 1px;
        font-size: 1.0rem;        
    }
}